Sign in to follow this  

SFML and SDL question

This topic is 2066 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
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, [url="http://www.sfml-dev.org/tutorials/2.0/start-vc.php"]which you can find here[/url].

Share this post


Link to post
Share on other sites

This topic is 2066 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.

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