diff options
author | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2001-09-11 14:10:04 +0000 |
---|---|---|
committer | James Courtier-Dutton <jcdutton@users.sourceforge.net> | 2001-09-11 14:10:04 +0000 |
commit | 8580a7e3f20c34fb62ff93d41f6c9ea3a814aa2d (patch) | |
tree | d95195491d7e486395a4519c69f1eb5777d0f525 /src/liblpcm/xine_decoder.c | |
parent | 0e0c98d86ad0bd0671b6060bff333834d1d29e92 (diff) | |
download | xine-lib-8580a7e3f20c34fb62ff93d41f6c9ea3a814aa2d.tar.gz xine-lib-8580a7e3f20c34fb62ff93d41f6c9ea3a814aa2d.tar.bz2 |
Fix some Floating point exceptions
Document return values of audio_out.c:open
CVS patchset: 615
CVS date: 2001/09/11 14:10:04
Diffstat (limited to 'src/liblpcm/xine_decoder.c')
-rw-r--r-- | src/liblpcm/xine_decoder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c index 62698bacc..4b4ba8b5d 100644 --- a/src/liblpcm/xine_decoder.c +++ b/src/liblpcm/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.8 2001/09/10 03:04:48 guenter Exp $ + * $Id: xine_decoder.c,v 1.9 2001/09/11 14:10:04 jcdutton Exp $ * * 31-8-2001 Added LPCM rate sensing. * (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk @@ -94,9 +94,9 @@ void lpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) { if (!this->output_open) { printf ("liblpcm: opening audio output (%d Hz sampling rate, mode=%d)\n", this->rate, this->ao_cap_mode); - this->output_open = (this->audio_out->open (this->audio_out, this->bits_per_sample, + this->output_open = this->audio_out->open (this->audio_out, this->bits_per_sample, this->rate, - this->ao_cap_mode) == 1); + this->ao_cap_mode) ; } if (!this->output_open) return; |