port: make audio run at 60hz again but with smaller frames

this is required to tick music events correctly
This commit is contained in:
fgsfds committed 2023-08-06 18:20:37 +02:00
1 parent 063df3243d
commit 81c1c206d4
2 files changed
+32 -8

No files matched your search

+1 -4
View File
@@ -235,13 +235,10 @@ void schedStartFrame(OSSched *sc)
void schedAudioFrame(OSSched *sc)
{
// audio ticks at 30hz
static s32 runFrame = 0;
if (!g_SndDisabled && runFrame) {
if (!g_SndDisabled) {
amgrFrame();
audioEndFrame();
}
runFrame ^= 1;
}
/**