[X9D] Now the SD sounds are played.

This commit is contained in:
bsongis
2013-01-20 20:57:08 +00:00
parent dbc0a16134
commit f0b2b56990
3 changed files with 33 additions and 3 deletions
+2
View File
@@ -411,7 +411,9 @@ void AudioQueue::sdWakeup(AudioContext & context)
else {
nextAudioSize = read;
nextAudioData = wavSamplesBuffer;
#if defined(PCBSKY9X)
dacStart();
#endif
CoSetTmrCnt(audioTimer, (WAV_BUFFER_SIZE * 500) / context.pcmFreq, 0);
CoStartTmr(audioTimer);
}