Skip to content

Commit

Permalink
aica: don't batch samples
Browse files Browse the repository at this point in the history
Batching 32 samples and arm runs causes audio glitches with some wince
games. So run aica 44100 times/sec instead.
Issue #1240
Issue #1605
  • Loading branch information
flyinghead committed Nov 1, 2024
1 parent 742090b commit 2e5309b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/hw/aica/aica.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ static bool UpdateSh4Ints()

AicaTimer timers[3];
int aica_schid = -1;
const int AICA_TICK = 145125; // 44.1 KHz / 32
constexpr int AICA_TICK = 4535; // 44.1 KHz

static int AicaUpdate(int tag, int cycles, int jitter, void *arg)
{
arm::run(32);
arm::run(1);

return AICA_TICK;
}
Expand Down

0 comments on commit 2e5309b

Please sign in to comment.