public inbox for gentoo-laptop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-laptop] Problems when more than one application uses sound
@ 2006-05-28 15:57 Felipe Ribeiro
  2006-05-28 17:03 ` Jan Hübner
  0 siblings, 1 reply; 6+ messages in thread
From: Felipe Ribeiro @ 2006-05-28 15:57 UTC (permalink / raw
  To: gentoo-amd64, gentoo-user, gentoo-laptop

Hi,

I'm using alsa, and i can't use the sound simultaneously by more than
one application, for example, when i'm seeing flash animations on
firefox, xmms can't output sound. How can i solve this?

Cheers,
Felipe

-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Problems when more than one application uses sound
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Hübner @ 2006-05-28 17:03 UTC (permalink / raw
  To: gentoo-laptop

Felipe Ribeiro wrote:
> Hi,
>
> I'm using alsa, and i can't use the sound simultaneously by more than
> one application, for example, when i'm seeing flash animations on
> firefox, xmms can't output sound. How can i solve this?
>
> Cheers,
> Felipe
>
Maybe use 'arts' if you are using KDE or try to find out what 'esd' is
when you are using gnome. I don't know if and how both can be used when
you are not using one of those desktop environments..

HTH

Jan
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Problems when more than one application uses sound
  2006-05-28 17:03 ` Jan Hübner
@ 2006-05-30 23:22   ` Matthias Bethke
  2006-06-01 13:29     ` Marcus Priesch
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Bethke @ 2006-05-30 23:22 UTC (permalink / raw
  To: gentoo-laptop

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

Hi Jan,
on Sunday, 2006-05-28 at 19:03:22, you wrote:
> Maybe use 'arts' if you are using KDE or try to find out what 'esd' is
> when you are using gnome. I don't know if and how both can be used when
> you are not using one of those desktop environments..

AFAIK, both can. However, with one of the most frequent Alan Cox quotes
being that his "views on ESD are mostly unprintable", this doesn't sound
like a good idea :) Don't ask me why, I haven't used it, but I guess it
because of stuff like latencies and probably some CORBA mess.
I'd like to add JACK to the list, it's written especially for ALSA and
low-latency apps like music-production software. Also
desktop-independent.

cheers!
	Matthias
-- 
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0  8DEF 48D9 1700 FAC3 7665

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

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

* Re: [gentoo-laptop] Problems when more than one application uses sound
  2006-05-30 23:22   ` Matthias Bethke
@ 2006-06-01 13:29     ` Marcus Priesch
  2006-06-01 13:41       ` Erick M
  0 siblings, 1 reply; 6+ messages in thread
From: Marcus Priesch @ 2006-06-01 13:29 UTC (permalink / raw
  To: gentoo-laptop

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



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

* Re: [gentoo-laptop] Problems when more than one application uses sound
  2006-06-01 13:29     ` Marcus Priesch
@ 2006-06-01 13:41       ` Erick M
  2006-06-05 10:56         ` Marcus Priesch
  0 siblings, 1 reply; 6+ messages in thread
From: Erick M @ 2006-06-01 13:41 UTC (permalink / raw
  To: gentoo-laptop

[-- Attachment #1: Type: text/plain, Size: 864 bytes --]

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: Type: text/html, Size: 1246 bytes --]

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

* Re: [gentoo-laptop] Problems when more than one application uses sound
  2006-06-01 13:41       ` Erick M
@ 2006-06-05 10:56         ` Marcus Priesch
  0 siblings, 0 replies; 6+ messages in thread
From: Marcus Priesch @ 2006-06-05 10:56 UTC (permalink / raw
  To: gentoo-laptop

[-- 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
}


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

end of thread, other threads:[~2006-06-05 10:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox