From: Rainer Zimmermann <mail@lightshed.de>
To: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Maya44 revised patch
Date: Thu, 14 Feb 2008 18:05:52 +0100 [thread overview]
Message-ID: <47B474F0.6050203@lightshed.de> (raw)
In-Reply-To: <s5hir0ryauz.wl%tiwai@suse.de>
Hi Takashi and Pavel,
Takashi Iwai wrote:
>> The constraint comes from the codec, the chip itself can handle 192kHz,
>> e.g. the 192kHz SPDIF input works fine. Actually more of the ice1724 cards
>> have this limit. If this issue is solved in a general way, it could be
>> implemented to other cards with 192kHz DACs/96kHz ADCs too.
>
> Thanks for a quick information. Then, yes, we should fix this issue in
> general. The separate lists of rates for playback and capture would be
> required in the end...
>
ok. Actually, as Pavel mentioned SPDIF, I guess there should be a third set of
rates for SPDIF, to be used when the appropriate channel is switched to SPDIF.
>>> Anyway, we can limit this in a scenario like below: - disallow the rate
>>> over 96kHz if the capture stream is being opened - if the rate is set
>>> above 96kHz, the capture stream cannot be opened, returns -EBUSY or so.
>>>
Yes, I was thinking of something along those lines. But 2 possible issues:
- maybe a stupid question, but couldn't there be some "backdoor"? E.g., could a
playback stream change its rate to above 96kHz while a capture stream is open?
- In the latter case, I think it should read: "if a playback stream is running
at above 96kHz, the capture stream cannot be opened". Otherwise, e.g. arecord
couldn't open the device if another app left the rate at 192kHz.
Are there other examples (non-ice17xx) how this is handled?
>>> BTW, is it supposed to be still highly experimental? If the driver works
>>> more or less stably with your device (and on the recent kernel), it'd be
>>> also good to put this to the upstream, i.e. in alsa-kernel tree instead
>>> of alsa-driver tree.
Yes, so far the driver is stable on my system (2.6.22) and on Piotr's, but I
would still consider it experimental. It still contains experimental code and
some experimental controls, and I guess there should be more testing, in
particular the MI/ODI/O and SPDIF part is still untested.
Well, your decision...
As for the vu-meters:
> Since the meaning of these read-only controls is clear only upon detailed
> study of the driver and Envy24 datasheet plus I encounter a lot of
> questins/complaints about them, I suggest to change their type from MIXER to
> PCM. They would still be readily accessible from amixer or API.
No objection from my part, but could it break any app software? any other comments?
-Rainer
--
Lightshed IT Services
Löfflerstr. 27, 22765 Hamburg, Germany * mail@lightshed.de * www.lightshed.de
next prev parent reply other threads:[~2008-02-14 17:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 23:36 Maya44 revised patch Rainer Zimmermann
2008-02-14 8:25 ` Maya44 revised patch - vu meters Pavel Hofman
2008-02-14 12:03 ` Maya44 revised patch Takashi Iwai
2008-02-14 12:29 ` Pavel Hofman
2008-02-14 12:35 ` Takashi Iwai
2008-02-14 17:05 ` Rainer Zimmermann [this message]
2008-02-19 15:25 ` Pavel Hofman
[not found] ` <47B47359.6030602@lightshed.de>
2008-02-15 17:02 ` 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=47B474F0.6050203@lightshed.de \
--to=mail@lightshed.de \
--cc=alsa-devel@alsa-project.org \
/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.