Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Newbie Question: Setting up SFML Audio in C#  (Read 2566 times)

0 Members and 1 Guest are viewing this topic.

MyndPhreak

  • Newbie
  • *
  • Posts: 1
    • View Profile
Newbie Question: Setting up SFML Audio in C#
« on: November 26, 2010, 08:05:58 am »
Hello. Unfortunately, as C++ is really none of my strengths, I am desperately trying to figure out how to set up SFML in C#. This also includes loading a sound file and playing it. There seem to be no tutorials for C# on this and the help file is more than confusing. I would really like to know how to load/play a sound and also if possible I'd like to know what the events are that I can use such as getting the position of the song, the duration, pitch, etc. etc.
:?
If anyone can help me on this matter, I'd greatly appreciate it. Thank you!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Newbie Question: Setting up SFML Audio in C#
« Reply #1 on: November 26, 2010, 08:10:15 am »
The C# API is almost the same one as the C++ one. It contains the same things but some of them are written the C# way (getters/setters -> properties, events are real .Net events, etc.). So you can use the C++ tutorials, together with the SFML.Net API reference.
Laurent Gomila - SFML developer

 

anything