Commit 5c45a6fd authored by Sylvain Berfini's avatar Sylvain Berfini 🎩 Committed by Ghislain MARY

Fixed compilation

parent 6648fe96
...@@ -744,7 +744,7 @@ static void pulse_write_process(MSFilter *f){ ...@@ -744,7 +744,7 @@ static void pulse_write_process(MSFilter *f){
ms_mutex_lock(&s->mutex); ms_mutex_lock(&s->mutex);
if(s->min_buffer_size >= threshold_bytes) { if(s->min_buffer_size >= threshold_bytes) {
size_t nbytes_to_drop = s->min_buffer_size - threshold_bytes/4; size_t nbytes_to_drop = s->min_buffer_size - threshold_bytes/4;
ms_warning("pulseaudio: too much data waiting in the writing buffer. Droping %z bytes", nbytes_to_drop); ms_warning("pulseaudio: too much data waiting in the writing buffer. Droping %i bytes", (int)nbytes_to_drop);
ms_bufferizer_skip_bytes(&s->bufferizer, nbytes_to_drop); ms_bufferizer_skip_bytes(&s->bufferizer, nbytes_to_drop);
s->min_buffer_size = -1; s->min_buffer_size = -1;
} }
......
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