On Tue, 2010-07-20 at 19:41 +0800, Raymond Yau wrote: > > > AFAIK , mplayer does not support CD playback ? ( seem only VCD or DVD ) > > most likely mandriva had patched the shortcut of gmplayer to use padsp and > that 's why you can see "OSS Emulation[mplayer]" in the pulseaudio log > > How about using ALSA OSS emulation instead of padsp ? > > mplayer -v -ao oss any.wav > > > Trying preferred audio driver 'oss', options '[none]' > ao2: 44100 Hz 2 chans s16le > audio_setup: using '/dev/dsp' dsp device > audio_setup: using '/dev/mixer' mixer device > audio_setup: using 'pcm' mixer device > audio_setup: sample format: s16le (requested: s16le) > audio_setup: using 2 channels (requested: 2) > audio_setup: using 44100 Hz samplerate (requested: 44100) > audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536 > > > This force mplayer to use power two period size (4096 bytes) and this may > meet the requirement of ens1371 if PCI data transfer are 8 Long bytes brust > transfer > > 5.5 PCI Data transfer > > Only brust read/write transfers are allowed. All data transfer are 8 Long > Word brust transfers > > As your PA server using period size 1102 which is not multiple of 8 ( 32 > bytes ) > > It seem that you have customised the deamon.conf since PA server using > maximum buffer size > > The sound quality seem ok when playing audio using mplayer inside the > virtualbox > > The following messages sometime come up at the beginning of the playback > only when watching videos using mplayer -ao alsa:device=pulse > > ao_alsa: write error: Broken pipe > ao_alsa: trying to *reset* *soundcard* > ao_alsa: write error: Broken pipe > ao_alsa: trying to *reset* *soundcard* > > The sound quality is still fine when watching video using > > mplayer -v -ao alsa:device=pulse > mplayer -v -ao alsa:device=hw=0 > mplayer -v -ao pulse > mplayer -v ao oss > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@xxxxxxxxxxxxxxxx > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel Here's the output of the above: [chris@localhost Documents]$ mplayer -v -ao oss gotmail00.wav MPlayer SVN-1.rc4.0.r31086.3plf2010.1-4.4.3 (C) 2000-2010 MPlayer Team CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: AMD Sempron(tm) Processor 2800+ (Family: 15, Model: 44, Stepping: 2) extended cpuid-level: 24 extended cache-info: 16810304 Detected cache-line size is 64 bytes Testing OS support for SSE... yes. Tests of OS support for SSE passed. CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0 Compiled with runtime CPU detection. get_path('codecs.conf') -> '/home/chris/.mplayer/codecs.conf' Reading /home/chris/.mplayer/codecs.conf: Can't open '/home/chris/.mplayer/codecs.conf': No such file or directory Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory Using built-in default codecs.conf. Configuration: --prefix=/usr --datadir=/usr/share/mplayer --confdir=/etc/mplayer --libdir=/usr/lib --enable-largefiles --enable-runtime-cpudetection --enable-mmx --enable-3dnow --enable-sse --enable-sse2 --enable-fastmemcpy --enable-freetype --enable-nas --disable-sighandler --enable-gui --language=all --disable-libdvdcss-internal --enable-lirc --enable-tv --enable-joystick --enable-gl --disable-svga --enable-directfb --enable-mencoder --enable-theora --enable-menu --disable-ggi --codecsdir=/usr/lib/codecs --disable-arts --enable-pulse --disable-openal --enable-zr --enable-xvmc --disable-ivtv CommandLine: '-v' '-ao' 'oss' 'gotmail00.wav' init_freetype Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay get_path('fonts') -> '/home/chris/.mplayer/fonts' Using nanosleep() timing get_path('input.conf') -> '/home/chris/.mplayer/input.conf' Can't open input config file /home/chris/.mplayer/input.conf: No such file or directory Can't open input config file /etc/mplayer/input.conf: No such file or directory Falling back on default (hardcoded) input config Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick 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. get_path('gotmail00.wav.conf') -> '/home/chris/.mplayer/gotmail00.wav.conf' Playing gotmail00.wav. get_path('sub/') -> '/home/chris/.mplayer/sub/' [file] File size is 9946 bytes STREAM: [file] gotmail00.wav STREAM: Description: File STREAM: Author: Albeu STREAM: Comment: based on the code from ??? (probably Arpi) LAVF_check: WAV format Checking for YUV4MPEG2 ASF_check: not ASF guid! Checking for REAL Checking for SMJPEG Searching demuxer type for filename gotmail00.wav ext: .wav Trying demuxer 17 based on filename extension ==> Found audio stream: 0 ======= WAVE Format ======= Format Tag: 1 (0x1) Channels: 1 Samplerate: 11000 avg byte/sec: 11000 Block align: 1 bits/sample: 8 cbSize: 0 ========================================================================== demux_audio: audio data 0x2C - 0x26D9 Audio only file format detected. get_path('sub/') -> '/home/chris/.mplayer/sub/' ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer. AUDIO: 11000 Hz, 1 ch, u8, 88.0 kbit/100.00% (ratio: 11000->11000) Selected audio codec: [pcm] afm: pcm (Uncompressed PCM) ========================================================================== Building audio filter chain for 11000Hz/1ch/u8 -> 0Hz/0ch/??... [libaf] Adding filter dummy [dummy] Was reinitialized: 11000Hz/1ch/u8 [dummy] Was reinitialized: 11000Hz/1ch/u8 Trying preferred audio driver 'oss', options '[none]' ao2: 11000 Hz 1 chans u8 audio_setup: using '/dev/dsp' dsp device audio_setup: using '/dev/mixer' mixer device audio_setup: using 'pcm' mixer device audio_setup: sample format: u8 (requested: u8) audio_setup: using 1 channels (requested: 1) audio_setup: using 11000 Hz samplerate (requested: 11000) audio_setup: frags: 2/2 (8192 bytes/frag) free: 16384 AO: [oss] 11000Hz 1ch u8 (1 bytes per sample) AO: Description: OSS/ioctl audio output AO: Author: A'rpi Building audio filter chain for 11000Hz/1ch/u8 -> 11000Hz/1ch/u8... [dummy] Was reinitialized: 11000Hz/1ch/u8 [dummy] Was reinitialized: 11000Hz/1ch/u8 Video: no video Freeing 0 unused video chunks. Starting playback... ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) Increasing filtered audio buffer size from 0 to 9901 ds_fill_buffer: EOF reached (stream: audio) ds_fill_buffer: EOF reached (stream: audio) EOF code: 1 9) of 0.9 (00.9) 0.0% Uninit audio filters... [libaf] Removing filter dummy Uninit audio: pcm vo: x11 uninit called but X11 not initialized.. -- Chris KeyID 0xE372A7DA98E6705C
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel