You are not logged in.

#1 2012-10-16 10:02:20

wangguohao
Member
From: nanjing
Registered: 2012-10-12
Posts: 5

why not my laptop can't to pronounce the sound,but flash player can?

why not my laptop can't to pronounce the sound,but flash player can?

my app VLC can't make sound,but firefox by flash player can make sound ~~

sorry  my english not wil   *_*!

#lsmod | grep "snd_.*"                                      [0]
snd_hda_codec_hdmi     24487  1
snd_hda_codec_conexant    47158  1
snd_hda_intel          26180  0
snd_hda_codec          98033  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6300  1 snd_hda_codec
snd_pcm                75167  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc          7217  2 snd_pcm,snd_hda_intel
snd_timer              18934  1 snd_pcm
snd                    59989  7 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel

#alsamixer                                                  [0]
cannot open mixer: 无效的参数

Offline

#2 2012-10-16 12:55:53

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: why not my laptop can't to pronounce the sound,but flash player can?

Can you run alsamixer logged in as root?

Offline

#3 2012-10-16 15:02:54

astex
Member
Registered: 2012-06-25
Posts: 37

Re: why not my laptop can't to pronounce the sound,but flash player can?

VLC plugs directly into pulseaudio, while the firefox flash plugin uses ALSA to play sound.  Do you have the pulseaudio-alsa package installed?

I have had a similar problem before.  Sound would occasionally be controlled by ALSA and occasionally be controlled by pulse (the pulseaudio-alsa package did nothing).  As far as symptoms, sometimes other applications would not produce sound while a flash video was playing and vice versa.  Ultimately, I just removed everything pulse/ALSA-related, deleted (and backed up) my configuration files, and installed all related packages anew.  It works now.  I still don't really know what the problem was.

Offline

#4 2012-10-16 15:06:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: why not my laptop can't to pronounce the sound,but flash player can?

I thought i read somewhere that flash or firefox or chomium or something was not pulseaudio capable so it would default to alsa and thus only one or the other was able to handle the sound card at once. 

I really don't understand why so many people use pulseaudio for such simple setups.  For more advanced things I think it is pretty great, but if you are just playing some sound out of your speakers, alsa is the way to go.

Offline

#5 2012-10-16 15:12:21

astex
Member
Registered: 2012-06-25
Posts: 37

Re: why not my laptop can't to pronounce the sound,but flash player can?

Many DMs favor pulseaudio (e.g gnome), so it tends to be run as a dependency, rather than as a conscious choice.

Offline

#6 2012-10-16 15:13:31

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: why not my laptop can't to pronounce the sound,but flash player can?

This is true, but I saw floating around somewhere a dummy package that is empty and simply indicates to the system that pulseaudio is provided.  So you may then use alsa like normal.

Offline

#7 2012-10-17 08:50:32

wangguohao
Member
From: nanjing
Registered: 2012-10-12
Posts: 5

Re: why not my laptop can't to pronounce the sound,but flash player can?

ok  thanks every one , Solve the problem. I found that my English is necessary to strengthen

Offline

#8 2012-10-18 00:01:34

astex
Member
Registered: 2012-06-25
Posts: 37

Re: why not my laptop can't to pronounce the sound,but flash player can?

Add [Solved] to the title, please.

Offline

Board footer

Powered by FluxBB