MCPcopy Create free account
hub / github.com/assaultcube/AC / seek

Method seek

source/src/oggstream.cpp:290–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void oggstream::seek(double offset)
291{
292 ASSERT(valid);
293 if(!totalseconds) return;
294 ov_time_seek_page(&oggfile, fmod(totalseconds-5.0f, totalseconds));
295}
296

Callers 8

oggcallbackseekFunction · 0.45
loadMethod · 0.45
demoworkerthreadFunction · 0.45
load_worldFunction · 0.45
musicsuggestMethod · 0.45
loadMethod · 0.45
save_pngFunction · 0.45
processdownloadFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected