From: Martin Langer <martin-langer@gmx.de>
To: Anders Torger <torger@ludd.luth.se>
Cc: alsa-devel@alsa-project.org
Subject: Re: RME96 driver patch
Date: Fri, 10 Jan 2003 15:53:14 +0100 [thread overview]
Message-ID: <20030110145314.GF20015@tuba.home> (raw)
In-Reply-To: <200301051646.47991.torger@ludd.luth.se>
On Sun, Jan 05, 2003 at 04:46:47PM +0100, Anders Torger wrote:
>
> Here is a patch against rme96.c
>
snd_rme96_capture_spdif_open(snd_pcm_substream_t *substream)
[...]
+ runtime->hw = snd_rme96_capture_spdif_info;
+ if ((rate = snd_rme96_capture_getrate(rme96, &isadat)) > 0) {
+ if (isadat) {
+ return -EIO;
+ }
+ runtime->hw.rates = snd_rme96_ratecode(rate);
+ runtime->hw.rate_min = rate;
+ runtime->hw.rate_max = rate;
+ }
You were changing sample rates in snd_rme96_capture_spdif_open. Isn't it too
late there? Looks like capturing with wrong sample rates is now possible?
Wouldn't this be better placed in the snd_rme96_capture_hw_params?
martin
--
"2b|!2b"
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next prev parent reply other threads:[~2003-01-10 14:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-05 15:46 RME96 driver patch Anders Torger
2003-01-06 17:24 ` Martin Langer
2003-01-06 17:23 ` Jaroslav Kysela
2003-01-06 17:51 ` Anders Torger
2003-01-06 17:52 ` Jaroslav Kysela
2003-01-07 11:32 ` Martin Langer
2003-01-07 14:10 ` Paul Davis
2003-01-06 17:45 ` Anders Torger
2003-01-10 14:53 ` Martin Langer [this message]
2003-01-10 15:13 ` Anders Torger
2003-01-10 15:36 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030110145314.GF20015@tuba.home \
--to=martin-langer@gmx.de \
--cc=alsa-devel@alsa-project.org \
--cc=torger@ludd.luth.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.