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).
This commit is contained in:
Uwe Hermann 2013-01-01 00:33:05 +01:00
parent a1b9a9bf44
commit 21d3d4ee87
1 changed files with 4 additions and 1 deletions

View File

@ -39,8 +39,10 @@ static const unsigned int rates[] = {
5512, 5512,
8000, 8000,
11025, 11025,
12000,
16000, 16000,
22050, 22050,
24000,
32000, 32000,
44100, 44100,
48000, 48000,
@ -49,7 +51,8 @@ static const unsigned int rates[] = {
96000, 96000,
176400, 176400,
192000, 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, static void alsa_scan_handle_dev(GSList **devices,