Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
112
int bytesForDuration(long long usec) {
113
return bytesForFrames(framesForDuration(usec));
114
}
115
116
// frames -> usec
117
long long durationForFrames(int frames) {
Callers
1
ignite
Function · 0.85
Calls
2
bytesForFrames
Function · 0.85
framesForDuration
Function · 0.85
Tested by
no test coverage detected