MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / DVDLowAudioBufferConfig

Function DVDLowAudioBufferConfig

src/dolphin/src/dvd/dvdlow.c:453–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453BOOL DVDLowAudioBufferConfig(BOOL enable, u32 size, DVDLowCallback callback)
454{
455 StopAtNextInt = FALSE;
456 Callback = callback;
457 __DIRegs[2] = 0xe4000000 | (enable != 0 ? 0x10000 : 0) | size;
458 __DIRegs[7] = 1;
459 SetTimeoutAlarm(OSSecondsToTicks(10));
460 return TRUE;
461}
462
463void DVDLowReset()
464{

Callers 3

stateCheckID3Function · 0.85
stateCheckID2aFunction · 0.85
stateBusyFunction · 0.85

Calls 1

SetTimeoutAlarmFunction · 0.85

Tested by

no test coverage detected