diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-17 20:57:59 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-03-17 20:57:59 +0000 |
commit | 5ffabbd9b6ad0cc31b6316d3239326f40ed2db11 (patch) | |
tree | a776088fc0134ea8dda059c188fb8539479931ca | |
parent | 8a5c8d14f4a9788d256dd3d727ec107a6e3c0220 (diff) | |
download | xine-lib-5ffabbd9b6ad0cc31b6316d3239326f40ed2db11.tar.gz xine-lib-5ffabbd9b6ad0cc31b6316d3239326f40ed2db11.tar.bz2 |
Use the Native Endian variants for 16 and 32 bit samples.
CVS patchset: 8709
CVS date: 2007/03/17 20:57:59
-rw-r--r-- | src/audio_out/audio_pulse_out.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/audio_out/audio_pulse_out.c b/src/audio_out/audio_pulse_out.c index d04856c61..214ad9725 100644 --- a/src/audio_out/audio_pulse_out.c +++ b/src/audio_out/audio_pulse_out.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: audio_pulse_out.c,v 1.11 2007/02/03 10:46:14 dgp85 Exp $ + * $Id: audio_pulse_out.c,v 1.12 2007/03/17 20:57:59 dgp85 Exp $ * * ao plugin for pulseaudio (rename of polypaudio): * http://0pointer.de/lennart/projects/pulsaudio/ @@ -223,14 +223,10 @@ static int ao_pulse_open(ao_driver_t *this_gen, ss.format = PA_SAMPLE_U8; break; case 16: -#ifdef WORDS_BIGENDIAN - ss.format = PA_SAMPLE_S16BE; -#else - ss.format = PA_SAMPLE_S16LE; -#endif + ss.format = PA_SAMPLE_S16NE; break; case 32: - ss.format = PA_SAMPLE_FLOAT32; + ss.format = PA_SAMPLE_FLOAT32NE; break; } |