From e78136c38f34c0b76bc7cf134ae29e5a16cb647b Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sun, 27 Sep 2015 13:59:11 +0100 Subject: [PATCH] (CTR/3DS) wait for audio channels playback start when setting playpos to 0. --- audio/drivers/ctr_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/drivers/ctr_audio.c b/audio/drivers/ctr_audio.c index 226112ede9..75b7fd0663 100644 --- a/audio/drivers/ctr_audio.c +++ b/audio/drivers/ctr_audio.c @@ -118,7 +118,7 @@ static void *ctr_audio_init(const char *device, unsigned rate, unsigned latency) csndPlaySound_custom(0x9, SOUND_LOOPMODE(CSND_LOOPMODE_NORMAL)| SOUND_FORMAT(CSND_ENCODING_PCM16), rate, 1.0, 1.0, ctr->r, ctr->r, CTR_AUDIO_SIZE); - csndExecCmds(false); + csndExecCmds(true); ctr->playpos = 0; ctr->cpu_ticks_last = svcGetSystemTick(); ctr->playing = true;