1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-01 13:58:20 +00:00

Fixed crash.

This commit is contained in:
Thomas Harte 2016-01-14 20:35:36 -05:00
parent 38ffcaa262
commit 781249acf7

View File

@ -110,6 +110,11 @@ static void audioOutputCallback(
return self;
}
- (void)dealloc
{
if(_audioQueue) AudioQueueDispose(_audioQueue, NO);
}
- (void)enqueueAudioBuffer:(const int16_t *)buffer numberOfSamples:(unsigned int)lengthInSamples
{
@synchronized(self)