mplayer-bin or gmplayer-bin doesn't play sound with "-ao alsa". With "-ao oss", the sound plays fine. Using "-ao oss" blocks others applications using alsa. Reproducible: Always Steps to Reproduce: 1.# gmplayer-bin -ao alsa ~/some_video 2. 3. Actual Results: Here is my Konsole output: MPlayer 1.0pre7try2-3.3.5-20050130 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices Athlon 64 Clawhammer (Family: 8, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled with runtime CPU detection - WARNING - this is not optimal! To get best performance, recompile MPlayer with --disable-runtime-cpudetection. vo: X11 running at 1280x800 with depth 24 and 32 bpp (":0.0" => local display) 85 audio & 196 video codecs Setting up LIRC support... mplayer: could not connect to socket mplayer: No such file or directory Failed to open LIRC support. You will not be able to use your remote control. Playing /home/eric/lights.wmv. Cache fill: 0,00% (0 bytes) ASF file format detected. VIDEO: [WMV3] 320x240 24bpp 1000,000 fps 0,0 kbps ( 0,0 kbyte/s) Clip info: name: author: copyright: comments: ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 32000 Hz, 2 ch, s16le, 32,0 kbit/3,12% (ratio: 4000->128000) Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg)) ========================================================================== ========================================================================== Opening video decoder: [dmo] DMO video codecs DMO dll supports VO Optimizations 0 1 DMO dll might use previous sample when requested GetOutput r=0x0 size:230400 align:1 StreamCount r=0x0 1 1 Decoder supports the following YUV formats: YV12 YUY2 UYVY YVYU ▒ Decoder is capable of YUV output (flags 0x1b) VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2) VDec: using BGRA as output csp (no 3) Movie-Aspect is undefined - no prescaling applied. VO: [x11] 320x240 => 320x240 BGRA SwScaler: using unscaled BGRA -> BGRA special converter Selected video codec: [wmv9dmo] vfm:dmo (Windows Media Video 9 DMO) ========================================================================== Checking audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le... AF_pre: 32000Hz/2ch/s16le alsa-init: 1 soundcard found, using: default ALSA lib pcm_dmix.c:1109:(_snd_pcm_dmix_open) Unknown field ipc_gid alsa-init: playback open error: Argument invalide Could not open/initialize audio device -> no sound. Audio: no sound Starting playback... Expected Results: Playing the video with sounds like it does with "-ao oss" Kernel: gentoo-sources 2.6.14-r2
Please state what version of emul-linux-x86-soundlibs you are using. Is this still reproducable when you're not using the dmix plugin?
(In reply to comment #1) > Please state what version of emul-linux-x86-soundlibs you are using. Is this > still reproducable when you're not using the dmix plugin? I was using emul-linux-x86-soundlibs-2.2. Upgrading to emul-linux-x86-soundlibs-2.3 fixes the bug. Everything is now fine as I can have Mplayer and (for example) Xmms running at the same time.