MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / bytesForFrames

Function bytesForFrames

test/openal/test_openal_capture.c:102–104  ·  view source on GitHub ↗

frames -> bytes

Source from the content-addressed store, hash-verified

100
101// frames -> bytes
102int bytesForFrames(int frames) {
103 return frames * app.nchannels * app.sample_size;
104}
105
106// usec -> frames
107int framesForDuration(long long usec) {

Callers 2

bytesForDurationFunction · 0.85
iterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected