All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: cltien@cmedia.com.tw
Cc: Jaroslav Kysela <perex@suse.cz>,
	Davodet Olivier <olivier.davodet@free.fr>,
	alsa-devel@lists.sourceforge.net
Subject: Re: CMI973, patch and alsa release
Date: Mon, 02 Feb 2004 19:49:17 +0100	[thread overview]
Message-ID: <s5hk735uxjm.wl@alsa2.suse.de> (raw)
In-Reply-To: <92C0412E07F63549B2A2F2345D3DB515F7D363@cm-msg-02.cmedia.com.tw>

At Tue, 3 Feb 2004 01:32:49 +0800,
C.L. Tien <cltien@cmedia.com.tw> wrote:
> 
> Is there a better way to do digital volume tuning without loss of
> cmpatability , especially for OSS applications? In the Azalia spec,
> PCM volume/mute is optional so there will be codecs without volume
> controls. 

i believe the best way is to implement the dynamic software
attenuation in the alsa-lib, and uses aoss wrapper for the OSS
apps.  in this way, you can emulate the AC3 easily, too.

in the kernel emulation route, it's hard to implement cleanly.
for example, the software attenuation doesn't work with mmap mode
(unless you don't do it in the DMA interrupt context - which is really
 bad idea). 


Takashi


> 
> Sincerely,
> ChenLi Tien
> 
> -----Original Message-----
> From:	Takashi Iwai [mailto:tiwai@suse.de]
> Sent:	2004/2/2 [星期一] 上午 06:19
> To:	Jaroslav Kysela
> Cc:	Davodet Olivier; alsa-devel@lists.sourceforge.net
> Subject:	Re: [Alsa-devel] CMI973, patch and alsa release
> At Mon, 2 Feb 2004 09:06:37 +0100 (CET),
> Jaroslav wrote:
> 
> well, let me clarify more the problems.
> 
> - the patch copies the whole audio data with the software
>   attenuation.  we don't want this in the kernel context.
>   this should be the job in the user-space, pereferrably in alsa-lib.
> 
> - the patch introduces float calculation.
>   it's not allowed at all in the kernel code.
> 
> 
> the control of ac97 mic and line sharing is a good point.
> the similar thing can be implemented more easily by the alsa-lib's
> hook plugin, though.
> 
> 
> Takashi
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
> 
> 
> 


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  reply	other threads:[~2004-02-02 18:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02 17:32 CMI973, patch and alsa release C.L. Tien - 田承禮
2004-02-02 18:49 ` Takashi Iwai [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-01 19:17 Davodet Olivier
2004-02-02  8:06 ` Jaroslav Kysela
2004-02-02 11:19   ` 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=s5hk735uxjm.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=cltien@cmedia.com.tw \
    --cc=olivier.davodet@free.fr \
    --cc=perex@suse.cz \
    /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.