Jump to content
  • Advertisement
Sign in to follow this  
pressgreen

SFML and SDL question

This topic is 2277 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

If i just wanted to used either SFML or SDL for audio with out using it fore anything else is that possible. like if i wanted to create my own window and set up opengl on my own but i just wanted to use SFML or SDL audio library is that possible.

I am using c++ and vs 2010

Share this post


Link to post
Share on other sites
Advertisement
I believe SDL can be used like this. I haven't seriously used SFML so I cannot comment there. That said, it should be easy to write a quick test program if you are familiar with these APIs, and only moderately more difficult if you are not familiar.

Share this post


Link to post
Share on other sites
All the SFML components can be used independently according to the website so this should be feasible in SFML. However I have never tried to do anything like that. I imagine you would just include and link to SFML audio and nothing else and be good to go.

Share this post


Link to post
Share on other sites
I've never used SDL, but I've used SFML. Yes, you can use it for just audio. It is broken up into several components (system, window, graphics, audio, network, and main (main is only on Windows)). You can use sfml-audio without ever using or linking to the graphics or window packages.

Laurent, SFML's creator, just finished the tutorial on building SFML 2.0 with Visual Studio yesterday, which you can find here.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!