alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Raymond Yau <superquad.vortex2@gmail.com>
To: Takashi Iwai <tiwai@suse.de>,
	ALSA Development Mailing List <alsa-devel@alsa-project.org>
Subject: Re: [RFC Patch] ALSA - EMU10K1 - Remove Center LFE Wave Center and Wave LFE control for SB Live! Platinum
Date: Wed, 6 Apr 2011 10:15:21 +0800	[thread overview]
Message-ID: <BANLkTike6axtNw1YD9vv7f9jZGHtui9Kuw@mail.gmail.com> (raw)
In-Reply-To: <s5hbp0mtgwk.wl%tiwai@suse.de>

2011/4/4 Takashi Iwai <tiwai@suse.de>

> At Wed, 30 Mar 2011 20:50:51 +0800,
> Raymond Yau wrote:
> >
> > SB Live! Platinum CT4760P is just a 4 channels sound card with STAC9721
> and
> > Philips UDA1334 DAC
> >
> > Is it feasible to remove "Center" , "LFE", "Wave Cetner" and "Wave LFE"
> > Playback Volume control ?
> >
> > or add a bitmap to disable the creation of those controls
> >
> > Anyone know whether this patch has any side effect for the user with
>  Live
> > Drive
>
> The side-effect is that opening surround51 would spew annoying error
> messages as you've seen.  It should return an error without much
> complaint.
>
> I'm not sure what is the best way to solve it.
> Defining another conf such as EMU10K1-4ch.conf would be an option,
> but it's not elegant...
>
>
> thanks,
>
> Takashi
>
> > AFAIK, speaker-test will fail
> >
> > speaker-test -d -c 6 -t wav -Dsurround51:1
> >
> > speaker-test 1.0.24.2
> >
> > Playback device is surround51:1
> > Stream parameters are 48000Hz, S16_LE, 6 channels
> > WAV file(s)
> > ALSA lib setup.c:565:(add_elem) Cannot obtain info for CTL elem
> > (MIXER,'Headphone Center Playback Switch',1,0,0): No such file or
> directory
> > Playback open error: -2,No such file or directory
>


The point is those 4.1 speakers for SB Live!, SB Live! Platinum and SB Live!
Value only have green jack and blue jack,  the signal of the Subwoofer is
produced from the those jacks

it seem that the device "surround41" is only for SB Live! 5.1 in alsa

    slave.channels 6
    ttable.0.0 1
    ttable.1.1 1
    ttable.2.2 1
    ttable.3.3 1
    ttable.4.5 1
    hint {
        description "4.1 Surround output to Front, Rear and Subwoofer
speakers"
        device $DEV
    }


front:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    Front speakers
rear:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    Rear speakers
center_lfe:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    Center and Subwoofer speakers
surround40:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Live,DEV=0
    SB Live! Platinum [CT4760P], ADC Capture/Standard PCM Playback
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

  parent reply	other threads:[~2011-04-06  2:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-30 12:50 [RFC Patch] ALSA - EMU10K1 - Remove Center LFE Wave Center and Wave LFE control for SB Live! Platinum Raymond Yau
2011-04-04 11:06 ` Takashi Iwai
2011-04-05  9:44   ` Raymond Yau
2011-04-06  2:15   ` Raymond Yau [this message]
2011-04-06  6:38     ` 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=BANLkTike6axtNw1YD9vv7f9jZGHtui9Kuw@mail.gmail.com \
    --to=superquad.vortex2@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).