* Control renaming for EMU10k1
@ 2004-06-26 14:25 Joachim Falk
2004-06-26 19:33 ` Lee Revell
0 siblings, 1 reply; 2+ messages in thread
From: Joachim Falk @ 2004-06-26 14:25 UTC (permalink / raw)
To: alsa-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey alsa-devel list,
I have a SB Live sound card
// 'Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 07)
// Subsystem: Creative Labs SB Live! 5.1 Model SB0100'
//
// numeric:
// 'Class 0401: 1102:0002 (rev 07)
// Subsystem: 1102:8064'
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 ?
My longterm goal is to improve the mixer for SB Lives.
MfG
Joachim Falk
- --
Joachim Falk <Joachim.Falk@gmx.de>
You can always tell a really good idea by the enemies it makes.
~ --programmers' axiom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA3Yd1KwZcgs55jUMRAoLYAKDIOLMlPv46p59x7IBr+yx78Dhk0ACeKlmy
8K29AwabmQ9iRZr26gArP2w=
=wOBs
-----END PGP SIGNATURE-----
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Control renaming for EMU10k1
2004-06-26 14:25 Control renaming for EMU10k1 Joachim Falk
@ 2004-06-26 19:33 ` Lee Revell
0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2004-06-26 19:33 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-26 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-26 14:25 Control renaming for EMU10k1 Joachim Falk
2004-06-26 19:33 ` Lee Revell
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.