summaryrefslogtreecommitdiff
path: root/src/xine-engine/audio_out.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 20:07:15 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 20:07:15 +0000
commit19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c (patch)
tree865fc4fe00606698b3aa780d0e6d09acc522693b /src/xine-engine/audio_out.c
parent29c2f15be1b7644248fc5f1abfbb2f9aa402806d (diff)
downloadxine-lib-19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c.tar.gz
xine-lib-19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c.tar.bz2
modified patch from Reinhard Nissl to report the length of the out fifos
CVS patchset: 6713 CVS date: 2004/06/19 20:07:15
Diffstat (limited to 'src/xine-engine/audio_out.c')
-rw-r--r--src/xine-engine/audio_out.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c
index 4e88d9eee..9f20efe00 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.179 2004/06/13 21:28:57 miguelfreitas Exp $
+ * $Id: audio_out.c,v 1.180 2004/06/19 20:07:15 mroi Exp $
*
* 22-8-2001 James imported some useful AC3 sections from the previous alsa driver.
* (c) 2001 Andy Lo A Foe <andy@alsaplayer.org>
@@ -1587,6 +1587,10 @@ static int ao_get_property (xine_audio_port_t *this_gen, int property) {
ret = this->compression_factor_max*100;
break;
+ case AO_PROP_BUFS_IN_FIFO:
+ ret = this->audio_loop_running ? this->out_fifo->num_buffers : -1;
+ break;
+
case AO_PROP_AMP:
ret = this->amp_factor*100;
break;