Commit 646c64b0 authored by Felix Paul Kühne's avatar Felix Paul Kühne

auhal: remove debug stuff I forgot

parent d9ccc431
...@@ -1296,9 +1296,7 @@ static OSStatus RenderCallbackAnalog(vlc_object_t *p_obj, ...@@ -1296,9 +1296,7 @@ static OSStatus RenderCallbackAnalog(vlc_object_t *p_obj,
/* return an empty buffer so silence is played until we have data */ /* return an empty buffer so silence is played until we have data */
for (UInt32 j = 0; j < inNumberFrames; j++) for (UInt32 j = 0; j < inNumberFrames; j++)
targetBuffer[j] = 0.; targetBuffer[j] = 0.;
msg_Warn(p_aout, "no data, playing silence");
} else { } else {
msg_Warn(p_aout, "playing %i bytes", availableBytes);
memcpy(targetBuffer, buffer, __MIN(bytesToCopy, availableBytes)); memcpy(targetBuffer, buffer, __MIN(bytesToCopy, availableBytes));
TPCircularBufferConsume(&p_sys->circular_buffer, __MIN(bytesToCopy, availableBytes)); TPCircularBufferConsume(&p_sys->circular_buffer, __MIN(bytesToCopy, availableBytes));
VLC_UNUSED(inNumberFrames); VLC_UNUSED(inNumberFrames);
......
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