All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Courtier-Dutton <James@superbug.demon.co.uk>
To: tsw@johana.com
Cc: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: Re: More than stereo (4 channels in my case)
Date: Mon, 28 Apr 2003 13:39:58 +0100	[thread overview]
Message-ID: <3EAD211E.6010502@superbug.demon.co.uk> (raw)
In-Reply-To: <20030427080249.21484.qmail@web21504.mail.yahoo.com>

Tom Watson wrote:

>In a related project I used OSS (even paid for it) and got did a
>program that played 4 channel sound files (of my own making).  On that
>project I had a CMI sound chip (CMI 8738).  To get the thing to work
>properly (the back two playback channels on the "line in" jack, I
>needed to have a special mixer control set, and used ossmix to do the
>job "ossmix misc.rear2lin on".
>
>Fast forward to my current configuration:  VIA SouthBridge chip audio,
>VT8233 (Vendor 1106, Device 3059, Rev 50, from /sbin/lspci).  I'd like
>to do the same thing.  Now I've read quite a few of the examples and my
>attempts to make some sense out of 'amixer' and 'aplay' are frustrating
>me quite a bit.  I've got 0.9.2 alsa, and a couple of problems:
>1)  The sound in the right channel has a lot of hash.  One time (god
>knows what I did) it seemed to play OK.  I'm using 44.1 kHz sample
>files (if that makes a difference), since the source code seems to want
>48kHz (or so I surmise).
>2)  The rear channels are nowhere to be found.  I suspect that I need
>to turn on some switch in the mixer, but which one is becoming a
>mystery to me.
>
>Eventually I'll be moving to a different sound card (a Turtle Beach
>Santa Cruz), then another one. I suspect that some of the same problems
>might continue, so I'd like to solve them here first.  Any/all
>suggestions would be welcome.
>
>p.s.  While I will convert to alsa, will the OSS stuff work in
>emulation??  Will I have similar controls available like the
>misc.rear2lin mentioned above??  Is there any way I can put them into
>the OSS emulation stuff??  I'd be willing to do so.
>
>Thanks.
>
>=====
>  
>
Although I do not have your sound card, I have a SB Live, and in order 
to get sound coming out of different speakers, one just uses a different 
device name at snd_pcm_open.
E.g. "front" for front speaker stereo,
 "rear" for rear speaker stereo,
"surround40" for 4-channel surround. (front and rear together)
"surround51" for 5.1 Surround. (front, rear, center and SubWoofer)
"default" for the same sound copied to all speakers.

All these device "aliases" are already set up for the sb live. You might 
have to configure some alsa config files to get them to be the same for 
your sound card.
All the alsa config files I have are in /usr/share/alsa and 
/usr/share/alsa/pcm

Cheers
James




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

  reply	other threads:[~2003-04-28 12:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-26 17:30 hw_params() Giuliano Pochini
2003-04-26 15:58 ` hw_params() Jaroslav Kysela
2003-04-27  8:02 ` More than stereo (4 channels in my case) Tom Watson
2003-04-28 12:39   ` James Courtier-Dutton [this message]
2003-04-28 13:15   ` Takashi Iwai
2003-04-30  9:25     ` Tom Watson

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=3EAD211E.6010502@superbug.demon.co.uk \
    --to=james@superbug.demon.co.uk \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=tsw@johana.com \
    /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.