Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

(OSARE) Audio problem

Anonymous
Wednesday, July 28, 2010 - 01:09

Not very sure whether this is the right place to report this issue or not (I can not find bug report in google code project or similar place to give feedback.)

After compiling the source according to the README (`g++ -I /usr/include/SDL *.cpp -o rpgdemo -lSDL -lSDL_image -lSDL_mixer` by removing SDLMain.* to other folder) and placing rpgdemo to resource folder. The execution of binary file throws 

Unable to OpenAudio: No available audio device

message.

Looks like it can not use the audio device. 

 

Is there any chance I can disable this or how to fix it to get rpgdemo work?

 

Thanks for help.

 

 

 

 

 

 

  • Log in or register to post comments
Anonymous (not verified)
joined 0 sec ago
127.0.0.1
Wednesday, July 28, 2010 - 16:58

Do you have other kinds of audio problems? Try turning off all other programs that can use audio and only running rpgdemo.

  • Log in or register to post comments
Clint Bellanger
joined 15 years 9 months ago
Thursday, July 29, 2010 - 23:20
Clint Bellanger's picture

Original poster,

I'm not well versed in audio problems but maybe we can figure it out together.  What operating system and version are you on?

Can you try running another SDL game to see if audio works for it?

When I google search for the phrase "no available audio device" I see a lot of results.  It might depend on what kind of sound setup you have (e.g. OSS or ALSA) and whether those are up to date.  I really don't know anything about linux sound systems, unfortunately.

Currently I don't have OSARE's sound system well separated; as you see, if the sound doesn't work it quits.  I can handle that better and let the game run without sound.  I'll try to add this to a not-so-future update.

  • Log in or register to post comments