Re: Audio - too many options - what to recommend?
Posted: Sun Oct 26, 2008 5:25 am
I have to admit that audio in Linux is a real big mess.
My suggestion to you would be to reinstall your system and use just one sound server... ALSA or PulseAudio. I like ALSA more but PulseAudio seems to be the future of audio on Linux.
To use ALSA try this. Purge all other sound system packages and reinstall alsa packages (alsa, alsa-base, alsa-utils). Then create a file /etc/asound.conf and have its contents be
You may have to change it to suit your hardware especially since you have two sound cards you want to use. Maybe this guide will be helpful http://www.linuxjournal.com/article/8234. So basically get it to work well excluding the Jack apps... rythmbox, pidgin etc...
Then for your Jack apps, install qjackctl. This will let you start/stop Jack as you require without having to mess with ALSA. In my limited use of this approach, it has worked well. I only use this for Creox. I am not sure how well qjackctl+Jack play with PulseAudio.
My suggestion to you would be to reinstall your system and use just one sound server... ALSA or PulseAudio. I like ALSA more but PulseAudio seems to be the future of audio on Linux.
To use ALSA try this. Purge all other sound system packages and reinstall alsa packages (alsa, alsa-base, alsa-utils). Then create a file /etc/asound.conf and have its contents be
Code: Select all
# the sound card
pcm.real {
type hw
card 0
device 0
}
# the ipc stuff is needed for permissions, etc.
pcm.dmixer {
type dmix
ipc_key 1024
ipc_perm 0666
slave.pcm "real"
slave {
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
bindings {
0 0
1 1
}
}
ctl.dmixer {
type hw
card 0
}
# software volume
pcm.softvol {
type softvol
slave.pcm "dmixer"
control {
name "Software"
card 0
}
}
# input
pcm.input {
type dsnoop
ipc_key 3129398
ipc_key_add_uid false
ipc_perm 0660
slave.pcm "810"
}
# duplex device
pcm.duplex {
type asym
playback.pcm "softvol"
capture.pcm "input"
}
# default devices
pcm.!default {
type plug
slave.pcm "duplex"
}
# for oss devices
pcm.dsp0 {
type plug
slave.pcm "duplex"
}
Then for your Jack apps, install qjackctl. This will let you start/stop Jack as you require without having to mess with ALSA. In my limited use of this approach, it has worked well. I only use this for Creox. I am not sure how well qjackctl+Jack play with PulseAudio.