SFML and SDL question

Started by
2 comments, last by Cornstalks 12 years ago
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
J-GREEN

Greenpanoply
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.
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.
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.
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

This topic is closed to new replies.

Advertisement