diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-03-03 20:09:11 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-03-03 20:09:11 +0000 |
commit | 7cf5530ea749f274bb984e9a9f2c82e426cca645 (patch) | |
tree | 62f784baf42e7dbd0cb28865539803759827fa79 /src/audio_out/audio_alsa_out.c | |
parent | 6ffb59a745a36b7884e6305c7420e57d87dd894d (diff) | |
download | xine-lib-7cf5530ea749f274bb984e9a9f2c82e426cca645.tar.gz xine-lib-7cf5530ea749f274bb984e9a9f2c82e426cca645.tar.bz2 |
use the _x_abort() macro instead of abort, since it prints some debug info
before aborting
CVS patchset: 6211
CVS date: 2004/03/03 20:09:11
Diffstat (limited to 'src/audio_out/audio_alsa_out.c')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 117f4bc6f..de10aa78d 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2003 the xine project + * Copyright (C) 2000-2004 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.125 2004/03/02 23:51:39 hadess Exp $ + * $Id: audio_alsa_out.c,v 1.126 2004/03/03 20:09:11 mroi Exp $ */ #ifdef HAVE_CONFIG_H @@ -723,7 +723,7 @@ static int ao_alsa_write(ao_driver_t *this_gen, int16_t *data, uint32_t count) { return 0; xprintf(this->class->xine, XINE_VERBOSITY_DEBUG, "audio_alsa_out: xrun: prepare error: %s", snd_strerror(res)); - abort(); + _x_abort(); } state = snd_pcm_state(this->audio_fd); #ifdef LOG_DEBUG @@ -767,7 +767,7 @@ static int ao_alsa_write(ao_driver_t *this_gen, int16_t *data, uint32_t count) { if ((res = snd_pcm_prepare(this->audio_fd))<0) { xprintf(this->class->xine, XINE_VERBOSITY_DEBUG, "audio_alsa_out: xrun: prepare error: %s", snd_strerror(res)); - abort(); + _x_abort(); } } } |