пятница, 1 января 2010 г.
alsa<->pulse
alsa<->pulse
I finally get partly what was happening with my sound.
After upgdading to Ubuntu 9.10 I've removed pulse (there was some problems with it, don't remember now).
But some programs was not working.
$ strace pykaraoke karaoke/Abba/Chiquitita.kar 2> 3.log
Trying to use pulse even when I ordered them to use alsa 3.log:
write(2, "ALSA lib pulse.c:229:(pulse_conn"..., 37ALSA lib pulse.c:229:(pulse_connect) ) = 37
write(2, "PulseAudio: Unable to connect: C"..., 50PulseAudio: Unable to connect: Connection refused
Then I went up along 3.log:
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/rewlad/.
asoundrc", R_OK) = 0
In ~/.asoundrc:
pcm.card0 {
type hw
card 0
}
pcm.sound-in {
type asym
playback.pcm "pulse"
capture.pcm "card0"
}
pcm.sound-out {
type pulse
}
pcm.ringing {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Who has created this config?? Some GUI config tool? m. b. userful-multiplier?
$ lsof | grep /dev/snd
firefox 5497 rewlad mem CHR 116,6 3893 /dev/snd/pcmC0D0p
Why does it use /pcm* and block other apps ?
(though alsa itself is able to mix sounds)
... however that's minor problem
I finally get partly what was happening with my sound.
After upgdading to Ubuntu 9.10 I've removed pulse (there was some problems with it, don't remember now).
But some programs was not working.
$ strace pykaraoke karaoke/Abba/Chiquitita.kar 2> 3.log
Trying to use pulse even when I ordered them to use alsa 3.log:
write(2, "ALSA lib pulse.c:229:(pulse_conn"..., 37ALSA lib pulse.c:229:(pulse_connect) ) = 37
write(2, "PulseAudio: Unable to connect: C"..., 50PulseAudio: Unable to connect: Connection refused
Then I went up along 3.log:
access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory)
access("/home/rewlad/.
asoundrc", R_OK) = 0
In ~/.asoundrc:
pcm.card0 {
type hw
card 0
}
pcm.sound-in {
type asym
playback.pcm "pulse"
capture.pcm "card0"
}
pcm.sound-out {
type pulse
}
pcm.ringing {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
Who has created this config?? Some GUI config tool? m. b. userful-multiplier?
$ lsof | grep /dev/snd
firefox 5497 rewlad mem CHR 116,6 3893 /dev/snd/pcmC0D0p
Why does it use /pcm* and block other apps ?
(though alsa itself is able to mix sounds)
... however that's minor problem
Подпишитесь на каналы Сообщения [Atom]