Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pulseaudio and applications
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Oschtan
n00b
n00b


Joined: 27 Dec 2008
Posts: 71
Location: Russia, Novosibirsk

PostPosted: Sun Apr 24, 2011 12:13 pm    Post subject: Pulseaudio and applications Reply with quote

I installed Gnome3-Light. USE="gstreamer pulseaudio". In System Settings make the sound. Gnome-mplayer, Deadbeef work out when setting the audio output "pulse". According to the file is created .asoundrc with the desired content. Removed module snd_pcm_oss, you want users added to groups pulse, pulse-access, plugdev. Service is running as a daemon USE="system-wide", but in /etc/conf.d/pulse indicated PULSEAUDIO_SHOULD_NOT_GO_SYSTEMWIDE="yes"
Installed packages such as alsa-plugins and gstreamer-plugins-pulse. And everything is working, but Chromium and other applications that use alsa (including adobe-flash) swear:
Code:
ALSA lib conf.c:1685:(snd_config_load1) _toplevel_:13:0:Unexpected char
ALSA lib conf.c:3467:(snd_config_hook_load) /home/user/.asoundrc may be old or corrupted: consider to remove or fix it
ALSA lib conf.c:3326:(snd_config_hooks_call) function snd_config_hook_load returned error: Invalid argument
ALSA lib conf.c:3713:(snd_config_update_r) hooks failed, removing configuration

What should I do?
PS. System ~amd64, Chromium-12x, Adobe-Flash - 64bit (bindist)
Back to top
View user's profile Send private message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Wed Apr 27, 2011 4:41 am    Post subject: Reply with quote

Did you install the PulseAudio plugin for ALSA?
Back to top
View user's profile Send private message
Oschtan
n00b
n00b


Joined: 27 Dec 2008
Posts: 71
Location: Russia, Novosibirsk

PostPosted: Wed Apr 27, 2011 8:57 am    Post subject: Reply with quote

Code:

[ebuild   R    ] media-plugins/alsa-plugins-1.0.24  USE="ffmpeg pulseaudio -debug -jack -libsamplerate -speex"
[ebuild   R    ] media-sound/pulseaudio-0.9.22  USE="X alsa asyncns caps dbus glib system-wide tcpd udev -avahi -bluetooth -doc -gnome -ipv6 -jack -libsamplerate -lirc (-oss) -realtime -test"
[ebuild   R    ] media-plugins/gst-plugins-pulse-0.10.28
Back to top
View user's profile Send private message
XQYZ
Apprentice
Apprentice


Joined: 19 Jul 2009
Posts: 231
Location: Europe

PostPosted: Wed Apr 27, 2011 8:58 am    Post subject: Reply with quote

What's in your .asoundrc? If anything it should be along those lines here for legacy alsa-only-apps:
Code:
pcm.pulse {
    type pulse
}
ctl.pulse {
    type pulse
}
pcm.!default {
    type pulse
}
ctl.!default {
    type pulse
}
Back to top
View user's profile Send private message
Oschtan
n00b
n00b


Joined: 27 Dec 2008
Posts: 71
Location: Russia, Novosibirsk

PostPosted: Wed Apr 27, 2011 9:06 am    Post subject: Reply with quote

It was necessary to correct syntax .asoundrc
Missing a closing "}"
Thank you all
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum