Commit c1ec4dee authored by Felix Paul Kühne's avatar Felix Paul Kühne

audioqueue: fix buffer leak (close #8140)

parent f29ec366
......@@ -214,10 +214,9 @@ static void Play(audio_output_t *p_aout, block_t *p_block)
void UnusedAudioQueueCallback(void * inUserData, AudioQueueRef inAQ, AudioQueueBufferRef inBuffer) {
/* this function does nothing, but needs to be here to make the AudioQueue API happy.
* without a callback, it will refuse to create an AudioQueue instance. */
* additionally, we clean-up after empty buffers */
AudioQueueFreeBuffer(inAQ, inBuffer);
static void Pause(audio_output_t *p_aout, bool pause, mtime_t date)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment