View Single Post
  #6  
Old 2009-12-27, 01:02
ArnimS's Avatar
ArnimS ArnimS is offline
 
Join Date: Mar 2007
Location: Germany
Posts: 1,107
Thanks!: 838
Thanked 720 Times in 257 Posts
Default Re: maemo5/rx51 High Performance Audio Output

well im bummed

sdl audio just refuses to play nice with raw device

aplay 48k works fine though

[EDIT]

Tried to stop other things that might be interrupting...
killall -SIGSTOP pulseaudio
killall -SIGSTOP tonegend
killall -SIGSTOP that maemo-x-input-sounds
killall -SIGSTOP browserd
killall -SIGSTOP mediaplayer
(didn't seem to help, but hey fun times - resume with -SIGCONT)

Some interesting alsa things

cat /usr/share/policy/etc/current/alsaped.conf

cat /proc/asound/RX51/pcm0p/sub0/hw_params

-------- (while playing dosbox SDL at 48k)
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 512
buffer_size: 1024

-------- (while playing mplayer output at 48k)
access: RW_INTERLEAVED
format: S16_LE
subformat: STD
channels: 2
rate: 48000 (48000/1)
period_size: 500
buffer_size: 24000

hmmm! hmmmmm!

[edit]
what sdl calls 'buffer' size, alsa sees as 'period' size. setting sdl_buffer/alsa_period to 511 results in alsa buffer of 1022. setting to 513 results in 512/1024...

and this seems to be a subject of some activity (!)
http://lists.libsdl.org/pipermail/sv...er/002120.html
http://lists.libsdl.org/pipermail/sv...er/002121.html


EDIT
----
if you just want mplayer output without pulseaudio, use
Code:
pasuspender -- mplayer -ao alsa:device=hw=0.0

Last edited by ArnimS; 2010-01-28 at 21:20.
Reply With Quote