Bug#520411: Audio does not play on armel
Enrico Zini
enrico at debian.org
Mon Mar 23 19:01:26 UTC 2009
On Sun, Mar 22, 2009 at 12:11:00PM +0100, Aurelien Jarno wrote:
> Which libsdl1.2* package do you have installed? Also which SDL audio
> driver(s) are you using? You may want to force some of them with
> SDL_AUDIODRIVER= to see which ones are working. Depending of the
> libsdl1.2 package you have installed, possible values are "esd", "oss",
> "alsa", "pulse", "nas", "arts", "disk", "dummy".
Let's see:
# dpkg -l "libsdl1.2*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-====================-====================-========================================================
un libsdl1.2 <none> (no description available)
un libsdl1.2-all <none> (no description available)
un libsdl1.2-arts <none> (no description available)
ii libsdl1.2-dev 1.2.13-4+b1 Simple DirectMedia Layer development files
un libsdl1.2-esd <none> (no description available)
un libsdl1.2-nas <none> (no description available)
un libsdl1.2-oss <none> (no description available)
ii libsdl1.2debian 1.2.13-4+b1 Simple DirectMedia Layer
un libsdl1.2debian-all <none> (no description available)
ii libsdl1.2debian-alsa 1.2.13-4+b1 Simple DirectMedia Layer (with X11 and ALSA options)
un libsdl1.2debian-arts <none> (no description available)
un libsdl1.2debian-esd <none> (no description available)
un libsdl1.2debian-nas <none> (no description available)
un libsdl1.2debian-oss <none> (no description available)
un libsdl1.2debian-puls <none> (no description available)
These drivers fail with "No available audio device":
# SDL_AUDIODRIVER=esd ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Unable to open audio: No available audio device
^C
# SDL_AUDIODRIVER=oss ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Unable to open audio: No available audio device
^C
# SDL_AUDIODRIVER=pulse ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Unable to open audio: No available audio device
^C
# SDL_AUDIODRIVER=nas ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Unable to open audio: No available audio device
^C
# SDL_AUDIODRIVER=arts ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Unable to open audio: No available audio device
^C
Alsa (which is what is tried by default) finds a device, but fails to
call the callback:
# SDL_AUDIODRIVER=alsa ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Moo!
^C
Disk and dummy will "play":
# SDL_AUDIODRIVER=disk ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
WARNING: You are using the SDL disk writer audio driver!
Writing to file [sdlaudio.raw].
Moo!
audio_mix
audio_mix
[...]
audio_mix
audio_mix
^C
# SDL_AUDIODRIVER=dummy ./test
audio trigger moo
Trying to open the audio again...
freq 44100 fmt 32784 ch 1 sa 512 cb 35064 ud 73736 si 0
Moo!
audio_mix
audio_mix
[...]
audio_mix
audio_mix
^C
Ciao,
Enrico
--
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <enrico at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20090323/4dffd832/attachment.pgp
More information about the Pkg-sdl-maintainers
mailing list