[PATCH 2/7] android/hal-audio: Remove preset with 48000 frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Having two presets with all parameters identical except of frequency is
redundant since SNK has mandatory support for both 44100 and 48000 so
in case we're INT we'll always set 44100 as this is first one we try.
---
 android/hal-audio.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/android/hal-audio.c b/android/hal-audio.c
index 23eb6b8..2f28b13 100644
--- a/android/hal-audio.c
+++ b/android/hal-audio.c
@@ -265,15 +265,6 @@ static const a2dp_sbc_t sbc_presets[] = {
 		.min_bitpool = MIN_BITPOOL,
 		.max_bitpool = MAX_BITPOOL
 	},
-	{
-		.frequency = SBC_SAMPLING_FREQ_48000,
-		.channel_mode = SBC_CHANNEL_MODE_JOINT_STEREO,
-		.subbands = SBC_SUBBANDS_8,
-		.allocation_method = SBC_ALLOCATION_LOUDNESS,
-		.block_length = SBC_BLOCK_LENGTH_16,
-		.min_bitpool = MIN_BITPOOL,
-		.max_bitpool = MAX_BITPOOL
-	},
 };
 
 static int sbc_get_presets(struct audio_preset *preset, size_t *len)
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux