Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
libxine1
> audio_out2.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File audio_out2.patch of Package libxine1 (Revision 16)
Currently displaying revision
16
,
show latest
diff -r 6e12ae33df4d src/xine-engine/audio_out.c --- a/src/xine-engine/audio_out.c Wed Dec 26 23:46:36 2007 +0000 +++ b/src/xine-engine/audio_out.c Thu Dec 27 12:49:41 2007 +0100 @@ -287,7 +287,6 @@ struct audio_fifo_s { int num_buffers; }; -static int ao_set_property (xine_audio_port_t *this_gen, int property, int value); static audio_fifo_t *fifo_new (xine_t *xine) { @@ -1612,11 +1611,6 @@ static void ao_close(xine_audio_port_t * xprintf (this->xine, XINE_VERBOSITY_DEBUG, "audio_out: no streams left, closing driver\n"); if (this->audio_loop_running) { - if (this->clock->speed == XINE_SPEED_PAUSE || - (this->clock->speed != XINE_FINE_SPEED_NORMAL && !this->slow_fast_audio)) { - /* discard buffers, otherwise we'll wait forever */ - ao_set_property(this_gen, AO_PROP_DISCARD_BUFFERS, 1); - } /* make sure there are no more buffers on queue */ fifo_wait_empty(this->out_fifo); }