Jump to content

  • Log In with Google      Sign In   
  • Create Account


SDL2_mixer: no such audio device [SOLVED]


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 bonsairobo   Members   -  Reputation: 107

Like
0Likes
Like

Posted 29 July 2013 - 04:23 PM

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, 29 July 2013 - 05:40 PM.


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS