Wind River Support Network

HomeDefectsLIN5-19272
Fixed

LIN5-19272 : SDL OpenAudio() fails with "No available audio device"

Created: Aug 19, 2014    Updated: Dec 19, 2017
Resolved Date: Sep 23, 2014
Found In Version: 5.0.1.17
Fix Version: 5.0.1.18
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Userspace
Architecture: IA32

Description

Customer cannot get audio to play through SDL.  They are struggling to figure out why we are having this problem in WRL5 and not in WRL4.3.  This is a high-priority for them to meet their delivery milestone. 

They’ve written and compiled a small test application (attached SDLTest executable).  This application runs correctly on WRL4.3, but fails on WRL5
If they take the SDL*.rpm from WRL4.3 and force install it onto their WRL5 system, the applications works as expected.

In WR4.3, they were using SDL-1.2.13
In WR5, they are using SDL-1.2.15

They’ve confirmed that the –enable-alsa configure argument is being set in the WRL5 RPM they built (see also the attached configure-SDL-package.txt)

Steps to Reproduce

1. Configure and build libsdl-1.2-0-1.2.15-rx.atom.rpm as per the attached configure-SDL-package.txt
2. Install the RPM on target
3. Rebuild the test program and copy it to the target (optional)
4. Run the SDLTest executable

*** Expected Result:
test program is running, audio is playing, 

*** Actual Result:
# ./SDLTest
Unable to open audio: No available audio device

Other Downloads


Live chat
Online