All of lore.kernel.org
 help / color / mirror / Atom feed
* speaker configuration
@ 2004-07-22 18:55 Ronald S. Bultje
  2004-07-23  1:40 ` James Courtier-Dutton
  0 siblings, 1 reply; 2+ messages in thread
From: Ronald S. Bultje @ 2004-07-22 18:55 UTC (permalink / raw)
  To: alsa-devel

Hi,

if I setup a sound playback stream using N channels, how do I find out
what the speaker configuration is? For example, my SB Audigy 2 NX
supports (using hw: access) 2, 4, 6 and 8 channels. 2 is stereo, 8 is
probably 7.1 (3 front, 2 side, 2 rear, 1 lfe), 6 is probably 5.1 (same
as 7.1, without side). What is 4? If I open the card using plughw:, I
get 1-32 channels. What does each of those mean? And related to this,
what is the speaker's position order? In other words, if I send 8
interleaved channelsamples of sound (1 soundsample) to my channels=8
soundcard, on what speaker will the first, second, ... channelsample be
played?

Thanks,

Ronald


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: speaker configuration
  2004-07-22 18:55 speaker configuration Ronald S. Bultje
@ 2004-07-23  1:40 ` James Courtier-Dutton
  0 siblings, 0 replies; 2+ messages in thread
From: James Courtier-Dutton @ 2004-07-23  1:40 UTC (permalink / raw)
  To: Ronald S. Bultje; +Cc: ALSA development

Ronald S. Bultje wrote:
> Hi,
> 
> if I setup a sound playback stream using N channels, how do I find out
> what the speaker configuration is? For example, my SB Audigy 2 NX
> supports (using hw: access) 2, 4, 6 and 8 channels. 2 is stereo, 8 is
> probably 7.1 (3 front, 2 side, 2 rear, 1 lfe), 6 is probably 5.1 (same
> as 7.1, without side). What is 4? If I open the card using plughw:, I
> get 1-32 channels. What does each of those mean? And related to this,
> what is the speaker's position order? In other words, if I send 8
> interleaved channelsamples of sound (1 soundsample) to my channels=8
> soundcard, on what speaker will the first, second, ... channelsample be
> played?
> 
> Thanks,
> 
> Ronald
> 

The general speaker order is:
Channel
0 - Front Left
1 - Front Right
2 - Rear Left
3 - Rear Right
4 - Center
5 - LFE
6 - Side Left
7 - Side Right

alsa provides nicer names.
For X open with device name Y.
X        Y
2.0      "plug:front"
4.0      "plug:surround40"
5.1      "plug:surround51"
7.1      "plug:surround71"




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-23  1:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-22 18:55 speaker configuration Ronald S. Bultje
2004-07-23  1:40 ` James Courtier-Dutton

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.