summaryrefslogtreecommitdiff
path: root/src/liblpcm/xine_decoder.c
diff options
context:
space:
mode:
authorJames Courtier-Dutton <jcdutton@users.sourceforge.net>2004-05-15 20:27:50 +0000
committerJames Courtier-Dutton <jcdutton@users.sourceforge.net>2004-05-15 20:27:50 +0000
commit173a8facaf1845fc5f915a9e995e7c13285f5d3f (patch)
tree59a09d4388b91be5a0fd0122632d3c79ef527ee3 /src/liblpcm/xine_decoder.c
parent1861b5d7bdf9fb669633b9ee471f6c57a5633b83 (diff)
downloadxine-lib-173a8facaf1845fc5f915a9e995e7c13285f5d3f.tar.gz
xine-lib-173a8facaf1845fc5f915a9e995e7c13285f5d3f.tar.bz2
Minor adjustments to start adding 24bit and 32bit-Float audio sample support.
CVS patchset: 6544 CVS date: 2004/05/15 20:27:50
Diffstat (limited to 'src/liblpcm/xine_decoder.c')
-rw-r--r--src/liblpcm/xine_decoder.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liblpcm/xine_decoder.c b/src/liblpcm/xine_decoder.c
index d15521b83..93b0295f8 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.51 2004/01/12 17:35:16 miguelfreitas Exp $
+ * $Id: xine_decoder.c,v 1.52 2004/05/15 20:27:51 jcdutton Exp $
*
* 31-8-2001 Added LPCM rate sensing.
* (c) 2001 James Courtier-Dutton James@superbug.demon.co.uk
@@ -123,10 +123,10 @@ static void lpcm_decode_data (audio_decoder_t *this_gen, buf_element_t *buf) {
if (this->output_open)
this->stream->audio_out->close (this->stream->audio_out, this->stream);
- this->ao_cap_mode=(this->number_of_channels == 2) ? AO_CAP_MODE_STEREO : AO_CAP_MODE_MONO;
-
+ this->ao_cap_mode=(this->number_of_channels == 2) ? AO_CAP_MODE_STEREO : AO_CAP_MODE_MONO;
+
this->output_open = this->stream->audio_out->open (this->stream->audio_out, this->stream,
- (this->bits_per_sample>16)?16:this->bits_per_sample,
+ this->bits_per_sample,
this->rate,
this->ao_cap_mode) ;