At Sun, 03 May 2009 14:17:58 +0200 (CEST), Werner LEMBERG wrote:
There is a big difference w.r.t. to volume whether I use mplayer to play, say, a flash audio file or a Adobe's flash player within Firefox. The latter's volume is far too small. Additionally, the flash player, even if not active (but open in a Firefox tab), blocks ALSA somehow:
wl@linux-nvf0:~> mplayer xxx.flash MPlayer dev-SVN-r29116-4.3-openSUSE Linux 11.1 (i686)-Packman [...] Playing xxx.flash. libavformat file format detected. [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [H264] 320x240 0bpp 36.917 fps 28.3 kbps ( 3.5 kbyte/s) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy [AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) \ open /dev/snd/pcmC0D0p failed: Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Device or resource busy [AO ESD] latency: [server: 0.37s, net: 0.00s] (adjust 0.37s) AO: [esd] 44100Hz 2ch s16le (2 bytes per sample)
Is this a known problem?
It sounds like a problem with the volume inconsistency between different sound subsystems. Judging from the output above, some (flashplayer, supposedly) seem to be using pulseaudio backend. If you aren't using PA in general, try to uninstall libflashsupport package. Anyway, the issue has basically nothing to do with the kernel :) Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org