alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Chris <cpollock@embarqmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: Which project to choose?
Date: Tue, 20 Jul 2010 17:49:50 -0500	[thread overview]
Message-ID: <1279666190.18063.53.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTimcx0Z1pkLJmCrpmBfo2xLA_Dtt-RG4L6V-JTGf@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 7123 bytes --]

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@alsa-project.org
> 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 #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  parent reply	other threads:[~2010-07-20 22:49 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-13 23:02 Which project to choose? Chris
2010-07-13 23:26 ` Raymond Yau
2010-07-14  0:01   ` Chris
2010-07-14  1:20     ` Raymond Yau
2010-07-14  1:31       ` Chris
     [not found]         ` <AANLkTimNSRELBq7i1Ypi9K2tmFu9NKLvQAOOqPwuU13x@mail.gmail.com>
     [not found]           ` <1279074303.29042.3.camel@localhost.localdomain>
2010-07-14 12:23             ` Raymond Yau
2010-07-14 22:15               ` Chris
2010-07-15  0:08                 ` Raymond Yau
2010-07-15  1:38                   ` Chris
2010-07-15 12:58                     ` Colin Guthrie
2010-07-15 14:07                       ` Jaroslav Kysela
2010-07-15 22:54                         ` Chris
2010-07-15 23:15                           ` Raymond Yau
2010-07-16  0:24                             ` Chris
2010-07-16  5:32                               ` Jaroslav Kysela
2010-07-16  1:19                             ` Chris
2010-07-16  5:40                           ` Jaroslav Kysela
2010-07-17  0:22                             ` Raymond Yau
2010-07-15 22:02                       ` Raymond Yau
2010-07-19  1:44                       ` Raymond Yau
2010-07-19  2:56                         ` Chris
2010-07-19  6:35                           ` Raymond Yau
2010-07-19  7:53                             ` Colin Guthrie
2010-07-19 22:52                               ` Chris
2010-07-20  1:23                                 ` Raymond Yau
2010-07-20  2:13                                   ` Chris
2010-07-20 11:41                                     ` Raymond Yau
2010-07-20 22:19                                       ` Chris
2010-07-21  8:17                                         ` Raymond Yau
2010-07-21 22:57                                           ` Chris
2010-07-22  0:33                                             ` Raymond Yau
2010-07-22  1:07                                               ` Chris
     [not found]                                                 ` <AANLkTim7iY_w96CPkVIlyB7Z9NGWUIvX2wKwvgu4wdjn@mail.gmail.com>
     [not found]                                                   ` <1279766127.7841.11.camel@localhost.localdomain>
     [not found]                                                     ` <AANLkTim_FkOXlYihEQikJ8Vpo5zXreCdqQnDW3acsrAu@mail.gmail.com>
     [not found]                                                       ` <1279797682.7841.15.camel@localhost.localdomain>
2010-07-22 11:42                                                         ` Raymond Yau
2010-07-20 22:49                                       ` Chris [this message]
2010-07-24  3:51                       ` Raymond Yau
2010-07-25 14:14                         ` Colin Guthrie
2010-07-26  5:53                           ` Raymond Yau
2010-07-26  8:09                             ` Raymond Yau
2010-07-15 13:08                     ` Raymond Yau
2010-07-14 22:32     ` Raymond Yau
2010-07-14 22:58       ` Chris
2010-07-14 11:13 ` Raymond Yau
2010-07-14 15:06   ` David Henningsson
2010-07-14 15:25     ` Jaroslav Kysela
2010-07-14 19:45       ` David Henningsson
2010-07-14 22:13         ` Jaroslav Kysela
2010-07-16  0:39           ` Raymond Yau
2010-07-16  1:30           ` Raymond Yau
2010-07-15  0:52     ` Raymond Yau
2010-07-23 11:51     ` Raymond Yau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1279666190.18063.53.camel@localhost.localdomain \
    --to=cpollock@embarqmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).