Skip to contentSkip to conversation

highest sample rate on rme32

DISCUSSION Applied Martin Langer 2 participants 3 messages Sep 17, 2002 – Sep 18, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

my rme32 hardware can capture signals with 32/44.1/48 kHz and it's working fine for 32 and 44.1 signals on input. The funny thing happened with 48kHz on input.

Having 48kHz at spdif-input I can record that signal with higher rates like 64/88.2/96 kHz. These commands were possible without getting error messages; keep in mind that the hardware isn't be able to do it:

arecord -fS16_LE -c2 -r64000 /tmp/test.wav
arecord -fS16_LE -c2 -r88200 /tmp/test.wav
arecord -fS16_LE -c2 -r96000 /tmp/test.wav

And 32 and 44.1 signals doesn't allow higher sample rates for capturing. No error occured there.

Because I haven't defined such high sample rates for capturing in rme32.c I think that bug is somewhere else. What about other cards? Do they have a similar problem or is it just rme32 specific.

thanks,
martin

-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664 http://www.developwithamd.com/developerlab

#1 lore raw
Quoted 5 lines · Martin Langer

my rme32 hardware can capture signals with 32/44.1/48 kHz and it's working fine for 32 and 44.1 signals on input. The funny thing happened with 48kHz on input.

Nevertheless the late Digi32 Pro cards with CS8414 should capture 88.2 and 96kHz data without problems. This patch enables it.

BTW, the Cirrus CS8414 specs doesn't talk about 64kHz! IMHO the card can only play and not capture 64kHz samples.

martin

pci/rme32.c renamed from tmp/rme32.c +4 -0
@@ -859,6 +859,10 @@
 	spin_unlock_irqrestore(&rme32->lock, flags);
 
 	runtime->hw = snd_rme32_capture_spdif_info;
+	if (RME32_PRO_WITH_8414(rme32)) {
+		runtime->hw.rates |= SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000;
+		runtime->hw.rate_max = 96000;
+	}
 
 	snd_pcm_hw_constraint_minmax(runtime,
 				     SNDRV_PCM_HW_PARAM_BUFFER_BYTES,
Applied
#2 lore raw

At Tue, 17 Sep 2002 15:05:48 +0200,

Quoted 11 lines · Martin Langer

[1 <text/plain; us-ascii (7bit)>]

Quoted 5 lines · Martin Langer

my rme32 hardware can capture signals with 32/44.1/48 kHz and it's working fine for 32 and 44.1 signals on input. The funny thing happened with 48kHz on input.

Nevertheless the late Digi32 Pro cards with CS8414 should capture 88.2 and 96kHz data without problems. This patch enables it.

applied. thanks.

Takashi

-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts on Hammer Technology! Open Source & Linux Developers, register now for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab