Sign in to follow this  
bonsairobo

SDL2_mixer: no such audio device [SOLVED]

Recommended Posts

I can't seem to open an audio device with SDL2_mixer. Calling Mix_OpenAudio(44100, MIX_DEFAULT_FORMAT, 2, 1024) gives the error "no such audio device". I only got one warning when building SDL2_mixer (MP3 support disabled, even though I have smpeg dev libraries). I built from the source in the Hg repo. I'm on Ubuntu 12.04. What's going on?

 

EDIT: I'm dumb. I didn't have libasound2-dev or libpulse-dev when I built the SDL core library. I didn't know SDL2_mixer was dependent on the sound system of SDL. Fixed by recompiling.

Edited by bonsairobo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this