All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Joern Nettingsmeier <nettings@folkwang-hochschule.de>
Cc: "alsa-devel@lists.sourceforge.net" <alsa-devel@lists.sourceforge.net>
Subject: Re: sblive 4ch output w/ jack - asoundrc magic?
Date: Fri, 06 Feb 2004 12:42:01 +0100	[thread overview]
Message-ID: <s5hd68s8meu.wl@alsa2.suse.de> (raw)
In-Reply-To: <402298D2.706@folkwang-hochschule.de>

At Thu, 05 Feb 2004 20:26:10 +0100,
Joern Nettingsmeier wrote:
> 
> Takashi Iwai wrote:
> > At Thu, 05 Feb 2004 00:08:18 +0100,
> > Joern Nettingsmeier wrote:
> > 
> >>[crossposted to alsa-devel and jackit-devel]
> 
> [removed jackit-devel from cc:]
> 
> >>
> >>hi *!
> >>
> >>i'd like to use the rear outs of my sblive platinum with jack.
> >>
> >>the following works:
> >># aplay some.wav -Dfront &
> >># aplay someother.wav -Drear
> >>both signals end up at my mixer as expected, so it seems the devices 
> >>are independent.
> >>
> >>front is hw:0,0 which is a duplex device.
> >>rear is hw:0,3 and is playback only.
> > 
> >  
> > hmm?  hw:0,3 isn't for the rear output...
> 
> not?
> 
> then what is it?

it's FX8010 PCM output, mainly used for the spdif output.


> and is hw:0,0 a four-channel out, two channel in device?

hw:0,0 is used for all analog outputs.
basically it supports mono or 2-channel sterem streams, up to 32
streams simultaneously.
it has a hardware routing table per voice.  by tuning this table, you
can send the output to front, rear or center/lfe FX bus.
you can find the trick in /usr/share/alsa/cards/EMU10k1.conf file.


> i've had this card for a couple of years now, and i still don't 
> understand a fraction of it...
> 
> is the relationship of in and out jacks, mixer strips and alsa 
> devices documented somewhere?

alsa-kernel/Documentation/SB-Live-mixer.txt.

the only sure way to access the certain channel is to use the
pre-defined pcm name, such as "front", "surround40", "rear" and
"iec958".  it assures that the output comes from the front jack
regardless of soundcard, and regardless what magic is done.

accessing via "hw" pcm is no sure way.  it allows you to access
*directly* to the hardware, but then you have to tune up by yourself.


Takashi


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn

  reply	other threads:[~2004-02-06 11:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-04 23:08 sblive 4ch output w/ jack - asoundrc magic? Joern Nettingsmeier
2004-02-05 15:02 ` [Alsa-devel] " Takashi Iwai
2004-02-05 19:10   ` Joern Nettingsmeier
2004-02-05 19:26   ` Joern Nettingsmeier
2004-02-06 11:42     ` Takashi Iwai [this message]
2004-02-07 10:56   ` Joern Nettingsmeier

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=s5hd68s8meu.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=nettings@folkwang-hochschule.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 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.