Thread
:
maemo5/rx51 High Performance Audio Output
View Single Post
ArnimS
2009-12-27 , 01:02
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#
6
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
.
Quote & Reply
|
ArnimS
View Public Profile
Send a private message to ArnimS
Visit ArnimS's homepage!
Find all posts by ArnimS