All of lore.kernel.org
 help / color / mirror / Atom feed
* highest sample rate on rme32
@ 2002-09-17  9:24 Martin Langer
  2002-09-17 13:05 ` Martin Langer
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Langer @ 2002-09-17  9:24 UTC (permalink / raw)
  To: alsa-devel


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: highest sample rate on rme32
  2002-09-17  9:24 highest sample rate on rme32 Martin Langer
@ 2002-09-17 13:05 ` Martin Langer
  2002-09-18 13:30   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Langer @ 2002-09-17 13:05 UTC (permalink / raw)
  To: alsa-devel

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Tue, Sep 17, 2002 at 11:24:04AM +0200, Martin Langer wrote:
> 
> 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

[-- Attachment #2: rme32.diff --]
[-- Type: text/plain, Size: 438 bytes --]

--- /tmp/rme32.c	Tue Sep 17 14:38:45 2002
+++ alsa-kernel/pci/rme32.c	Tue Sep 17 14:33:12 2002
@@ -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,

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: highest sample rate on rme32
  2002-09-17 13:05 ` Martin Langer
@ 2002-09-18 13:30   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2002-09-18 13:30 UTC (permalink / raw)
  To: martin-langer; +Cc: alsa-devel

At Tue, 17 Sep 2002 15:05:48 +0200,
Martin Langer wrote:
> 
> [1  <text/plain; us-ascii (7bit)>]
> On Tue, Sep 17, 2002 at 11:24:04AM +0200, Martin Langer wrote:
> > 
> > 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-18 13:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-17  9:24 highest sample rate on rme32 Martin Langer
2002-09-17 13:05 ` Martin Langer
2002-09-18 13:30   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.