All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Marcel <shizuma@magma.ca>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Re: CMI8738-MC6 surround40 plugin on 4 SP systems]
Date: Fri, 07 Nov 2003 20:50:11 +0100	[thread overview]
Message-ID: <s5hptg4c618.wl@alsa2.suse.de> (raw)
In-Reply-To: <20031105003536.GA28900@dailyplanet.net>

At Tue, 4 Nov 2003 19:35:37 -0500,
Marcel wrote:
> 
> * Takashi Iwai (tiwai@suse.de) wrote:
> > At Fri, 31 Oct 2003 12:39:18 -0500,
> > Marcel wrote:
> > > 
> > > * Takashi Iwai (tiwai@suse.de) wrote:
> > > > At Thu, 30 Oct 2003 12:42:39 -0500,
> > > > Marcel wrote:
> > > > > 
> > > > > 
> > > > > I've been trying to finetune my cmipci for several weeks now.   And this is
> > > > > the best way I've been able to get transparent operation with various audio
> > > > > material: stereo, mono, 4.0, 5.1.  The main problem being no surround sound
> > > > > iif "Exchange DAC" setting was not set, and sound on the rear speakers only
> > > > > if it was.
> > > > 
> > > > ah, this might be true.
> > > > does it happen both on 4.0 and 5.1 outputs?
> > > > i don't remember that it's necessary for 5.1 at the last time i
> > > > tested.
> > > 
> > > With surround40 plugin, 4 speakers, yes it's needed for both 4.0 and 5.1
> > > material.  Applications such as mplayer or xine will remix 5.1 material to
> > > 4 channels.  For 6 speakers systems, I really don't know.
> > 
> > could you try surround51 and check whether it somehow works?
> 
> I tried.  It's ok with stereo material.  With 5.1 material, xine refuses to
> use it because I have 4 speakers only.  Mplayer will use it but 2 channels
> only.  Seems there is no way to force applications to use 6 channels when I
> got only 4 speakers.  "Mplayer -ao alsa9:surround51 -channels 6" gives an
> error.  And I don't have any 5.1 sound file in wav or mp3 format for aplay
> or alsaplayer to try.  Never been able to locate some.  But I suspect it
> will fail too.  I think you'll need someone with 6 physical speakers to have
> this verified.
> 
> > 
> > > > perhaps we should simply remove this control from user and handle
> > > > internally for the MC6 chip.
> > > > 
> > > 
> > > I agree.  Its usage is confusing and may results in improper operation
> > 
> > how about the attached patch?
> 
> Great job!  If I understand how it works, the mixer setting is gone for the
> 8738-MC[46] chipsets, and still there for plain 8[37]38.  Works very well
> here, no more confusion.  Multi-channel sound is enabled automatically. 
> Front material is always in front, and surround material always in rear.
> 
> Adjustment is unconventional, but straightforward for surround material:
> 
> 1 - Master at 0.
> 2 - Adjust rear volume with PCM near maximum required.
> 3 - Increase front volume with Master to obtain rear-front balance.
> 4 - Decrease PCM to lower volume on all 4 speakers.
> 
> Unusual, but that's the way its operates.

hmm, it seems there is something wrong in the SB-style mixer code.
perhaps we need to put some delay.

anyway, the changes are now applied to cvs.

> One more control that deserves to go in mixer: "3D Control Switch".  It
> doesn't work, never did, does nothing at all.

well, it works for the older model.
it's a 3D-enhancement and not really 3d thing.
i'm not sure whether this doesn't work for all new models (> 037), so
it still remains there.  we can remove it later after confirming that
all new chips don't support this.


Takashi


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/

  reply	other threads:[~2003-11-07 19:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20031030174239.GB2771@dailyplanet.net>
2003-10-31 16:46 ` CMI8738-MC6 surround40 plugin on 4 SP systems] Takashi Iwai
2003-10-31 17:39   ` Marcel
2003-11-04 16:27     ` Takashi Iwai
2003-11-05  0:35       ` Marcel
2003-11-07 19:50         ` Takashi Iwai [this message]
     [not found] <E1AIFvE-0005PH-00@sc8-sf-list2.sourceforge.net>
2003-11-08  0:19 ` Marcel

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=s5hptg4c618.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=shizuma@magma.ca \
    /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.