Sign in to follow this  

SDL2_mixer: no such audio device [SOLVED]

This topic is 1633 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Sign in to follow this