Re: PulseAudio and Alsa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I tried PulseAudio yesterday.
I have 2 soundcards, the one from my motherboard and a layla3g. I use to
play sounds with amarok on the layla3g buit when i want to launch jackd
i have to stop amarok. I wanted to launch jack at the sart of the
session and still be able to play sounds on the layla3g with amarok.
So i compiled xine with PulseAudio USE flag to see if PulseAudio can do
anything about this. And i'am glad to see that it's working quite well.

With PulseAudio volume control, i can route amarok sound to the embedded
sound cards or the jack server. Changes are saved. I can quit amarok and
if i launch it again it still uses the jack output.

Let see what i 'have done.
I activated the realtime option in /etc/pulse/daemon.conf.
I made a custom default.pa in ~/.pulse/ using the one in /etc/pulse and
i added this line:

load-module module-jack-sink channels=2
channel_map=front-left,front-right

In QjackCtl, i launch pulseaudio after the jackd's start. finally i made
a custom gnome session launcher for QjackCtl.

There is only minor issues.
I tried pulse audio device chooser but it seems it crash PulseAudio when
i change default sink or source.
Now i would like to launch Pulse audio like a standard sound server or a
system daemon and load the module jack-sink when i start jack but i cant
manage to achieve this. There is a pactl command line wich loads or
unload modules. This way i could restart jack without restarting
Pulseaudio as well.

But when i do
# pactl load-module module-jack-sink
I get an error

So if one of you have have an idea...

Guillaume



_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux