All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Jagdmann <doj@cubic.org>
To: alsa-devel@lists.sourceforge.net
Subject: Digital Mixer Control for Envy24 chipsets
Date: Wed, 05 Jan 2005 14:07:44 +0100	[thread overview]
Message-ID: <41DBE6A0.1030000@cubic.org> (raw)

[-- 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));

             reply	other threads:[~2005-01-05 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05 13:07 Dirk Jagdmann [this message]
2005-01-07 17:19 ` Digital Mixer Control for Envy24 chipsets 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=41DBE6A0.1030000@cubic.org \
    --to=doj@cubic.org \
    --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.