From 21d3d4ee871ee84a5ba598b21e9a1bdeaa9db5e3 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 1 Jan 2013 00:33:05 +0100 Subject: [PATCH] alsa: Add some more samplerates. Add some more samplerates that seem to be supported by some devices (found via random grepping of alsa and kernel sources). --- hardware/alsa/protocol.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hardware/alsa/protocol.c b/hardware/alsa/protocol.c index 666211b8..f3c1d7b4 100644 --- a/hardware/alsa/protocol.c +++ b/hardware/alsa/protocol.c @@ -39,8 +39,10 @@ static const unsigned int rates[] = { 5512, 8000, 11025, + 12000, 16000, 22050, + 24000, 32000, 44100, 48000, @@ -49,7 +51,8 @@ static const unsigned int rates[] = { 96000, 176400, 192000, - 384000, /* Yes, there are sound cards that go this high. */ + 384000, + 768000, /* Yes, there are sound cards that go this high. */ }; static void alsa_scan_handle_dev(GSList **devices,