summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Schaefer <heikos@users.sourceforge.net>2002-11-07 22:39:55 +0000
committerHeiko Schaefer <heikos@users.sourceforge.net>2002-11-07 22:39:55 +0000
commitdda7e4ace7ca4a874962c9f39223b4af676a76eb (patch)
tree95dd2c1496dfaf6255d6d557beae1189681bbff3
parentef5b02600bf4a4b96e1f65000717557967df80bc (diff)
downloadxine-lib-dda7e4ace7ca4a874962c9f39223b4af676a76eb.tar.gz
xine-lib-dda7e4ace7ca4a874962c9f39223b4af676a76eb.tar.bz2
this fixes a52 passthrough on my system (sblive 5.1 oss driver)
CVS patchset: 3199 CVS date: 2002/11/07 22:39:55
-rw-r--r--src/xine-engine/audio_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index a222a8067..d38a717ae 100644
--- a/src/xine-engine/audio_out.c
+++ b/src/xine-engine/audio_out.c
@@ -17,7 +17,7 @@
* along with self program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: audio_out.c,v 1.76 2002/11/06 23:20:45 f1rmb Exp $
+ * $Id: audio_out.c,v 1.77 2002/11/07 22:39:55 heikos Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -542,7 +542,7 @@ static void *ao_loop (void *this_gen) {
}
/* pthread_mutex_lock( &this->driver_lock ); What is this lock for ? */
delay = this->driver->delay(this->driver);
- while (delay <=0 && this->audio_loop_running) {
+ while (delay < 0 && this->audio_loop_running) {
/* Get the audio card into RUNNING state. */
ao_fill_gap (this, 10000); /* FIXME, this PTS of 1000 should == period size */
delay = this->driver->delay(this->driver);