From a8c57dbfeb6d2c5f6a160df812aacd2983fde6d1 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 19 Jan 2009 10:26:28 +0200 Subject: Use native byte order for audio in GStreamer and ALSA plugins This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA. --- audio/pcm_bluetooth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'audio/pcm_bluetooth.c') diff --git a/audio/pcm_bluetooth.c b/audio/pcm_bluetooth.c index bf242065..5dfd7784 100644 --- a/audio/pcm_bluetooth.c +++ b/audio/pcm_bluetooth.c @@ -1182,7 +1182,7 @@ static int bluetooth_hsp_hw_constraint(snd_pcm_ioplug_t *io) SND_PCM_ACCESS_MMAP_INTERLEAVED }; unsigned int format_list[] = { - SND_PCM_FORMAT_S16_LE + SND_PCM_FORMAT_S16 }; int err; @@ -1237,7 +1237,7 @@ static int bluetooth_a2dp_hw_constraint(snd_pcm_ioplug_t *io) SND_PCM_ACCESS_MMAP_INTERLEAVED }; unsigned int format_list[] = { - SND_PCM_FORMAT_S16_LE + SND_PCM_FORMAT_S16 }; unsigned int rate_list[4]; unsigned int rate_count; -- cgit