Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Rainer Zimmermann <mail@lightshed.de>
Cc: ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: Maya44 revised patch
Date: Thu, 14 Feb 2008 13:03:39 +0100	[thread overview]
Message-ID: <s5hpruzycbo.wl%tiwai@suse.de> (raw)
In-Reply-To: <47B37EE7.5000905@lightshed.de>

At Thu, 14 Feb 2008 00:36:07 +0100,
Rainer Zimmermann wrote:
> 
> 
> This is the revised version of the ESI Maya44 patch.
> changes are mainly coding style, some cleanups and using a patch file for 
> ice1724.c .
> 
> The added code now (mostly) passes checkpatch.pl, except for some "#if 0"'s 
> which I'd leave in for the development phase.
> 
> Also, I changed the rate setting logic, which (for now) allows all rates up to 
> 192kHz even for capturing. As capturing actually only supports 96 kHz, while 
> capturing & playback rates are linked, this is not really ok. I'd appreciate 
> suggestions about how this could be handled properly, while still supporting 
> playback up to 192 kHz...

Does the 96kHz constraint come from ice172x chip or the codec chip?
(I have to recheck the datasheet...)

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.

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.


Takashi

  parent reply	other threads:[~2008-02-14 12:03 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 ` Takashi Iwai [this message]
2008-02-14 12:29   ` Maya44 revised patch Pavel Hofman
2008-02-14 12:35     ` Takashi Iwai
2008-02-14 17:05       ` Rainer Zimmermann
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=s5hpruzycbo.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=mail@lightshed.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox