SFML community forums

Help => Audio => Topic started by: zac on October 10, 2008, 12:08:53 am

Title: Something about function names
Post by: zac on October 10, 2008, 12:08:53 am
No, this is not another request about "How about obeying C++-naming-conventions", but I think it is rather annoying that the function for opening a music file is not named "OpenFromFile" (as in tutorial and documentation), but simply Music::Open... (even in the tutorial, it is also mentioned as Music::Open and Music::OpenFromFile, but the first one not very explicitely...)
How about changing docu/tuts?
Title: Something about function names
Post by: Laurent on October 10, 2008, 07:52:24 am
I failed to find any documentation or tutorial still using Music::Open. Can you show me ?
Title: Something about function names
Post by: zac on October 10, 2008, 04:34:14 pm
Well, there is a little mention of Open in
http://www.sfml-dev.org/tutorials/1.3/audio-music.php

Quote

The call to Open or OpenFromMemory actually doesn't start the music, only a call to Play does.
Title: Something about function names
Post by: Laurent on October 10, 2008, 04:43:04 pm
It's now fixed, thank you :)