From: Marcus Priesch <marcus@priesch.priv.at>
To: gentoo-laptop@lists.gentoo.org
Subject: Re: [gentoo-laptop] Problems when more than one application uses sound
Date: Mon, 05 Jun 2006 12:56:21 +0200 [thread overview]
Message-ID: <1149504981.10255.3.camel@alice.home> (raw)
In-Reply-To: <e47df0b0606010641u58e6ad44t52dcd767740edfae@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]
hi Erick,
here you are!
c1 to c4 are the four independent channels, the soundcard has two
subdevices (0 and 0,1 for the "front" and "rear" output) ...
greets & have fun hacking alsa ;)
mexx.
On Thu, 2006-06-01 at 15:41 +0200, Erick M wrote:
> hi Marcus,
>
> would you mind showing us the content of your /etc/asoundrc?
> I am quite interested by the subject.
>
> Thanks for your time and comprehension
>
> Best Regards,
>
> Erick
>
> On 6/1/06, Marcus Priesch <marcus@priesch.priv.at> wrote:
> Hi,
>
> ALSA sould be capable of this - for me it just works with
> recent drivers
> (2.6.12++) - also remember that you can uses alsa's
> ~/.asoundrc to
> define software mixers and virtual soundcards - there is an
> example for
> a SW mixer on the alsa home page - try looking for
> the .asoundrc
> documentation ...
>
> note that i managed to create 4 virtual mono (stereo mixed
> together)
> soundcards using one terratec 5.1 pci card with a special
> hand
> crafted .asoundrc (in my case it was /etc/asoundrc, as it was
> for the
> complete system)
>
> just my2c & good luck,
> mexx.
>
>
> --
> gentoo-laptop@gentoo.org mailing list
>
>
[-- Attachment #2: asound.conf --]
[-- Type: text/plain, Size: 1048 bytes --]
pcm.dmix1 {
type dmix
ipc_key 12
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm "hw:0"
rate 44100
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}
pcm.dmix2 {
type dmix
ipc_key 1234
ipc_key_add_uid false
ipc_perm 0666
slave {
pcm "hw:0,1"
rate 44100
period_time 0
period_size 1024
buffer_size 8192
channels 2
}
bindings {
0 0
1 1
}
}
pcm.c1 {
type plug
slave {
pcm "dmix1"
channels 2
}
ttable.0.0 0.5
ttable.1.0 0.5
}
pcm.c2 {
type plug
slave {
pcm "dmix1"
channels 2
}
ttable.0.1 0.5
ttable.1.1 0.5
}
pcm.c3 {
type plug
slave {
pcm "dmix2"
channels 2
}
ttable.0.0 0.5
ttable.1.0 0.5
}
pcm.c4 {
type plug
slave {
pcm "dmix2"
channels 2
}
ttable.0.1 0.5
ttable.1.1 0.5
}
prev parent reply other threads:[~2006-06-05 10:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-28 15:57 [gentoo-laptop] Problems when more than one application uses sound Felipe Ribeiro
2006-05-28 17:03 ` Jan Hübner
2006-05-30 23:22 ` Matthias Bethke
2006-06-01 13:29 ` Marcus Priesch
2006-06-01 13:41 ` Erick M
2006-06-05 10:56 ` Marcus Priesch [this message]
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=1149504981.10255.3.camel@alice.home \
--to=marcus@priesch.priv.at \
--cc=gentoo-laptop@lists.gentoo.org \
/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