Mercurial > mplayer.hg
comparison libao2/ao_pulse.c @ 24923:d0d04fe92bce
Remove idiotic check that would always be false
author | reimar |
---|---|
date | Sat, 03 Nov 2007 10:46:15 +0000 |
parents | 148ca265fcb6 |
children | 9ca05492f9f3 |
comparison
equal
deleted
inserted
replaced
24922:7050d3a8e46c | 24923:d0d04fe92bce |
---|---|
298 static int get_space(void) { | 298 static int get_space(void) { |
299 size_t l; | 299 size_t l; |
300 pa_threaded_mainloop_lock(mainloop); | 300 pa_threaded_mainloop_lock(mainloop); |
301 l = pa_stream_writable_size(stream); | 301 l = pa_stream_writable_size(stream); |
302 pa_threaded_mainloop_unlock(mainloop); | 302 pa_threaded_mainloop_unlock(mainloop); |
303 return l < 0 ? 0 : l; | 303 return l; |
304 } | 304 } |
305 | 305 |
306 /** Return the current latency in seconds */ | 306 /** Return the current latency in seconds */ |
307 static float get_delay(void) { | 307 static float get_delay(void) { |
308 pa_usec_t latency = (pa_usec_t) -1; | 308 pa_usec_t latency = (pa_usec_t) -1; |