summaryrefslogtreecommitdiff
path: root/src/audio_out/audio_alsa_out.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2003-10-06 15:27:10 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2003-10-06 15:27:10 +0000
commit0dc06920e3a99a06a47474ffb36be60a25bcbfa5 (patch)
tree77d3fa7e414199d847dd6a63df8ae129840078b7 /src/audio_out/audio_alsa_out.c
parent37e16855dbbf856945eda1fec0c886ab6d8cc891 (diff)
downloadxine-lib-0dc06920e3a99a06a47474ffb36be60a25bcbfa5.tar.gz
xine-lib-0dc06920e3a99a06a47474ffb36be60a25bcbfa5.tar.bz2
some housekeeping and compiler warnings
CVS patchset: 5455 CVS date: 2003/10/06 15:27:10
Diffstat (limited to 'src/audio_out/audio_alsa_out.c')
-rw-r--r--src/audio_out/audio_alsa_out.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index 1c732467a..5ae678586 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2002 the xine project
+ * Copyright (C) 2000-2003 the xine project
*
* This file is part of xine, a free video player.
*
@@ -26,7 +26,7 @@
* (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk>
*
*
- * $Id: audio_alsa_out.c,v 1.112 2003/10/04 22:49:58 jcdutton Exp $
+ * $Id: audio_alsa_out.c,v 1.113 2003/10/06 15:27:10 mroi Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -284,7 +284,9 @@ static int ao_alsa_open(ao_driver_t *this_gen, uint32_t bits, uint32_t rate, int
snd_pcm_uframes_t period_size_max;
snd_pcm_uframes_t buffer_size_min;
snd_pcm_uframes_t buffer_size_max;
+#if 0
uint32_t periods;
+#endif
uint32_t buffer_time=BUFFER_TIME;
snd_pcm_uframes_t buffer_time_to_size;
int err, dir;
@@ -623,6 +625,8 @@ static int ao_alsa_delay (ao_driver_t *this_gen) {
return delay;
}
+
+#if 0
/*
* Handle over/under-run
*/
@@ -655,6 +659,7 @@ static void xrun(alsa_driver_t *this)
return; /* ok, data should be accepted again */
}
}
+#endif
/*
* Write audio data to output buffer (blocking using snd_pcm_wait)