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

Function bytesForDuration

test/openal/test_openal_capture.c:112–114  ·  view source on GitHub ↗

usec -> bytes

Source from the content-addressed store, hash-verified

110
111// usec -> bytes
112int bytesForDuration(long long usec) {
113 return bytesForFrames(framesForDuration(usec));
114}
115
116// frames -> usec
117long long durationForFrames(int frames) {

Callers 1

igniteFunction · 0.85

Calls 2

bytesForFramesFunction · 0.85
framesForDurationFunction · 0.85

Tested by

no test coverage detected