Audio wav files may not be queued and repeated as others.

This commit is contained in:
bsongis
2012-07-04 10:33:17 +00:00
parent 8989ce4e6c
commit 602ff6ca46
6 changed files with 273 additions and 249 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ uint16_t *wavSamplesBuffer;
extern "C" void DAC_IRQHandler()
{
// Data for PDC must NOT be in flash, PDC needs a RAM source.
if (toneWavFile[0]) {
if (audioQueue.current.file[0]) {
CoEnterISR(); // Enter the interrupt
CoSetFlag(audioFlag);
CoExitISR(); // Exit the interrupt