Skip to contentSkip to conversation

Digital Mixer Control for Envy24 chipsets

PATCH Applied Dirk Jagdmann 2 participants 2 messages Jan 5, 2005 – Jan 7, 2005

lore
Share & tools
lore
#0 lore raw

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.

Signature · 3 lines
---> doj / cubic
----> http://cubic.org/~doj
-----> http://llg.cubic.org

Index: envy24control.c
===================================================================
RCS file: /cvsroot/alsa/alsa-tools/envy24control/envy24control.c,v retrieving revision 1.32

envy24control.c +4 -1
diff -u -r1.32 envy24control.c
@@ -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));
Applied
#1 lore raw

At Wed, 05 Jan 2005 14:07:44 +0100,

Quoted 15 lines · Dirk Jagdmann

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."

Quoted 4 lines

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.

Quoted 3 lines

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