From: Lee Revell <rlrevell@joe-job.com>
To: alsa-devel@lists.sourceforge.net
Subject: Re: Control renaming for EMU10k1
Date: Sat, 26 Jun 2004 15:33:31 -0400 [thread overview]
Message-ID: <1088278410.24275.48.camel@mindpipe> (raw)
In-Reply-To: <40DD8775.2@jfalk.easynet.de>
On Sat, 2004-06-26 at 10:25, Joachim Falk wrote:
> With AC97 Sigmatel 9708/11. The names for the AC97 controls from
> ac97_codec.c do not match how they are used on the Live.
> So I have done some Control renaming in the emumixer.c
> But the "AC97 Surround Playback control" is a stereo control
> but is used for the Live as control for Center and LFE.
>
> So my question is how can i best rename this control to have two
> different names matching the functionality for the right and left
> channel of the stereo channel ?
>
> Or is driver hacking here foolish and there exists a better mechanisme
> for this kind of stuff in userspace ?
This is definitely an issue to be solved in userspace. Many
configurations do not use a center/LFE, and those that do may want to
use a different pair of outputs. Other configurations will have a
full-range speaker (or a bass amp) connected to the LFE channel and will
want to use a crossover/lowpass filter.
The mixer for the EMU10K1 is actually an FX8010 DSP microcode program
that is currently hardcoded in the driver. Eventually this will be
controlled by a userspace DSP patch loader/unloader. Peter Zubaj has
written such a program, ld10k1 (http://ld10k1.sourceforge.net). It is
"alpha-quality", but it can (for example) clear the DSP microcode and
recreate the mixer configuration hardcoded in the driver. The more
people test it, the faster it will stabilize.
I highly recommend you try the (Windows) driver from the kX Project
(http://www.kxproject.com), or at least look at the screenshots and the
docs. They also distribute an SDK, the header files are interesting
reading. This should give you some idea of some of the amazing things
this hardware is capable of and how far the ALSA driver has to go. The
ALSA driver is not as advanced as the kX driver yet, but this is being
worked on.
> My longterm goal is to improve the mixer for SB Lives.
The best way you can help is to install ld10k1 and test it. If you try
the kX drivers then you will see that a stable DSP patch loader is
required to do anything interesting with this card. For the center/LFE
issue, rather than tweaking the hardcoded DSP mixer code in the driver,
this should let you make the changes to the 'mixer' DSP patch, then you
can just load it in place of the default mixer. The kX drivers use a
patch called 'Surrounder' for this.
Finally, I do not speak for ALSA or the author of ld10k1, I just like to
hack the driver. The above is just my opinion.
Lee
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
prev parent reply other threads:[~2004-06-26 19:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-26 14:25 Control renaming for EMU10k1 Joachim Falk
2004-06-26 19:33 ` Lee Revell [this message]
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=1088278410.24275.48.camel@mindpipe \
--to=rlrevell@joe-job.com \
--cc=alsa-devel@lists.sourceforge.net \
/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.