(CTR/3DS) wait for audio channels playback start when setting playpos to

0.
This commit is contained in:
aliaspider 2015-09-27 13:59:11 +01:00
parent 6370f797b3
commit e78136c38f

View File

@ -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;