This commit is contained in:
bsongis
2014-09-10 12:14:25 +02:00
parent ace4ae07a8
commit a60876f259
+2
View File
@@ -107,6 +107,7 @@ bool dacQueue(AudioBuffer *buffer)
return false; return false;
} }
#pragma GCC optimize ("O1")
extern "C" void DAC_IRQHandler() extern "C" void DAC_IRQHandler()
{ {
AudioBuffer *nextBuffer = audioQueue.getNextFilledBuffer(); AudioBuffer *nextBuffer = audioQueue.getNextFilledBuffer();
@@ -118,6 +119,7 @@ extern "C" void DAC_IRQHandler()
dacStop(); dacStop();
} }
} }
#pragma GCC optimize ("O2")
// Sound routines // Sound routines
void audioInit() void audioInit()