Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
audio alsa pulse firefox flash xf86audio etc help needed
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
piotraf
n00b
n00b


Joined: 01 Apr 2003
Posts: 42
Location: Łódź - Poland

PostPosted: Mon Nov 26, 2012 3:45 pm    Post subject: audio alsa pulse firefox flash xf86audio etc help needed Reply with quote

System is compiled with
Code:
USE="alsa pulseaudio"
. If I stay with a created
Code:
~/.asoundrc
pcm.Intel { type hw; card Intel; }
ctl.Intel { type hw; card Intel; }
pcm.NVidia { type hw; card NVidia; }
ctl.NVidia { type hw; card NVidia; }
pcm.!default pcm.Intel
ctl.!default ctl.Intel

when using alsamixer, the default sound is alsa and my laptop xf86audio FN+ work fine (openbox). If I remove the .asoundrc or state 'type pulse' it switches to pulse, but the xf86audio FN+ doesn't work.
Staying with alsa would be fine, buy I'm experiencing troubles with firefox flash e.g. youtube - no sound at all - sometime - not always. If I swith to opera everything plays fine.
I can't find any reasonable solution for that. Any hints?
Code:
~ $ lsmod|grep snd
snd_hda_codec_hdmi     21598  4
snd_hda_codec_realtek    50655  1
snd_hda_intel          23424  6
snd_hda_codec          71580  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               5450  1 snd_hda_codec
snd_pcm                62003  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_timer              16005  1 snd_pcm
snd                    50036  19 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               4402  1 snd
snd_page_alloc          6089  2 snd_hda_intel,snd_pcm
Code:
~ $  fuser -fv /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  piotr      2174 F.... volumeicon
                     piotr     13005 F.... pulseaudio
/dev/snd/controlC1:  piotr     13005 F.... pulseaudio
/dev/snd/pcmC0D0p:   piotr     13005 F...m pulseaudio

_________________
pozdrawiam/best regards
PiotrAF
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Mon Nov 26, 2012 4:06 pm    Post subject: Reply with quote

By using "type hw" you're bypassing dmix.

Read the sample config file in my sig below.
_________________
Improve your font rendering and ALSA sound
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