summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-15 00:50:44 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2002-04-15 00:50:44 +0000
commit3c3fc37e57b95fa8d8d9ee79a128761bec099c10 (patch)
tree761a1b1be1f4abbbf8ebaa02e297e0e890ab2f0c
parentb9a2ce0066e22b5273eb439b9b28865f9b9adcf9 (diff)
downloadxine-lib-3c3fc37e57b95fa8d8d9ee79a128761bec099c10.tar.gz
xine-lib-3c3fc37e57b95fa8d8d9ee79a128761bec099c10.tar.bz2
Alsa pause and resume is not stable enought yet.
Wait for alsa to improve, and in the mean time implement snd_pcm_drop when I have a mo. CVS patchset: 1722 CVS date: 2002/04/15 00:50:44
-rw-r--r--src/audio_out/audio_alsa_out.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index d489acd91..1da6c2235 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -26,7 +26,7 @@
* (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk>
*
*
- * $Id: audio_alsa_out.c,v 1.49 2002/04/13 15:33:38 jcdutton Exp $
+ * $Id: audio_alsa_out.c,v 1.50 2002/04/15 00:50:44 jcdutton Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -641,7 +641,10 @@ static int ao_alsa_set_property (ao_driver_t *this_gen, int property, int value)
static int ao_alsa_ctrl(ao_driver_t *this_gen, int cmd, ...) {
alsa_driver_t *this = (alsa_driver_t *) this_gen;
int result;
-#if 1
+#if 0
+ /* Alsa 0.9.x pause and result is not stable enough at the moment.
+ * FIXME: Change these to snd_pcm_drop and restart.
+ */
switch (cmd) {
case AO_CTRL_PLAY_PAUSE: