* Digital Mixer Control for Envy24 chipsets
@ 2005-01-05 13:07 Dirk Jagdmann
2005-01-07 17:19 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Dirk Jagdmann @ 2005-01-05 13:07 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
Hello developers,
I own a Delta1010 (ice1712) and got seriously confused last weekend with
the patchbay in envy24control. Currently envy24control shows the
possibility to route the digital mixer to every possible hardware output
(of course always in stereo pairs). But at least on the Delta1010 it is
only possible to output the Digital Mixer to HW1/2 or SPDIF1/2. Now I
have read the Envy24 Spec at:
ftp://ftp.alsa-project.org/pub/datasheets/icensemble/envy24.pdf
on page 71/4-39 section 4.5.5 : "The output destination of this mixer
can be the consumer AC97 coded, an external DAC at PSDOUT[0] or SPDOUT
or both simultaneously, as well as return to host on slots 11 and 12 of
DMA Channel11."
Now I interpret this sentence that not only on my Delta1010 the Digital
Mixer is indeed limited to the first two Hardware Channels and the SPDIF
channels. Now I'd like to know if this is correct or if there are
other hardwares which behave differently?
And btw I have made a small patch to envy24control which will only show
the Digital Mixer checkboxes in the patchbay of the allowed channels
which I have attached.
--
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org
[-- Attachment #2: envy24control-mixer.patch --]
[-- Type: text/plain, Size: 868 bytes --]
Index: envy24control.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/envy24control/envy24control.c,v
retrieving revision 1.32
diff -u -r1.32 envy24control.c
--- envy24control.c 20 Dec 2004 19:03:14 -0000 1.32
+++ envy24control.c 5 Jan 2005 12:52:01 -0000
@@ -464,7 +464,10 @@
label = gtk_label_new("");
gtk_widget_show(label);
- if(stream <= MAX_OUTPUT_CHANNELS + MAX_SPDIF_CHANNELS) {
+ /* the digital mixer can only be routed to HW1/2 or SPDIF1/2 */
+ if( (stream <= 2) /* hw1/2 */ ||
+ ((stream > MAX_OUTPUT_CHANNELS) && (stream <= MAX_OUTPUT_CHANNELS + 2)) /* spdif1/2 */
+ ) {
radiobutton = gtk_radio_button_new_with_label(group, stream & 1 ? "Digital Mix L" : "Digital Mix R");
router_radio[stream-1][1] = radiobutton;
group = gtk_radio_button_group(GTK_RADIO_BUTTON(radiobutton));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Digital Mixer Control for Envy24 chipsets
2005-01-05 13:07 Digital Mixer Control for Envy24 chipsets Dirk Jagdmann
@ 2005-01-07 17:19 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2005-01-07 17:19 UTC (permalink / raw)
To: Dirk Jagdmann; +Cc: alsa-devel
At Wed, 05 Jan 2005 14:07:44 +0100,
Dirk Jagdmann wrote:
>
> Hello developers,
>
> I own a Delta1010 (ice1712) and got seriously confused last weekend with
> the patchbay in envy24control. Currently envy24control shows the
> possibility to route the digital mixer to every possible hardware output
> (of course always in stereo pairs). But at least on the Delta1010 it is
> only possible to output the Digital Mixer to HW1/2 or SPDIF1/2. Now I
> have read the Envy24 Spec at:
> ftp://ftp.alsa-project.org/pub/datasheets/icensemble/envy24.pdf
> on page 71/4-39 section 4.5.5 : "The output destination of this mixer
> can be the consumer AC97 coded, an external DAC at PSDOUT[0] or SPDOUT
> or both simultaneously, as well as return to host on slots 11 and 12 of
> DMA Channel11."
>
> Now I interpret this sentence that not only on my Delta1010 the Digital
> Mixer is indeed limited to the first two Hardware Channels and the SPDIF
> channels. Now I'd like to know if this is correct or if there are
> other hardwares which behave differently?
Yes, you're correct.
> And btw I have made a small patch to envy24control which will only show
> the Digital Mixer checkboxes in the patchbay of the allowed channels
> which I have attached.
Thanks, applied.
BTW, please give the proper summary, description and signed-off-by
line together with the patch at next time, so that your credit will be
kept properly in the changelog.
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-07 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-05 13:07 Digital Mixer Control for Envy24 chipsets Dirk Jagdmann
2005-01-07 17:19 ` Takashi Iwai
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.