Jump to content

  • Log In with Google      Sign In   
  • Create Account


SFML and SDL question


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
3 replies to this topic

#1 greenzone   Members   -  Reputation: 672

Like
0Likes
Like

Posted 21 April 2012 - 09:28 AM

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

Sponsor:

#2 rip-off   Moderators   -  Reputation: 8067

Like
0Likes
Like

Posted 21 April 2012 - 10:46 AM

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.

#3 bd36   Members   -  Reputation: 118

Like
0Likes
Like

Posted 21 April 2012 - 05:48 PM

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.

#4 Cornstalks   Crossbones+   -  Reputation: 6974

Like
0Likes
Like

Posted 21 April 2012 - 07:16 PM

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.
[ 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 ]




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