Renamed / moved / updated the SFML.Net examples (still in progress... having troubles with SVN)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1560 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
002902319c
commit
2d83514452
28 changed files with 103 additions and 121 deletions
|
@ -3,7 +3,7 @@ using System.Threading;
|
|||
using SFML;
|
||||
using SFML.Audio;
|
||||
|
||||
namespace sample_sound
|
||||
namespace sound
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
|
@ -26,7 +26,7 @@ namespace sample_sound
|
|||
private static void PlaySound()
|
||||
{
|
||||
// Load a sound buffer from a wav file
|
||||
SoundBuffer buffer = new SoundBuffer("datas/sound/canary.wav");
|
||||
SoundBuffer buffer = new SoundBuffer("resources/canary.wav");
|
||||
|
||||
// Display sound informations
|
||||
Console.WriteLine("canary.wav :");
|
||||
|
@ -56,7 +56,7 @@ namespace sample_sound
|
|||
private static void PlayMusic()
|
||||
{
|
||||
// Load an ogg music file
|
||||
Music music = new Music("datas/sound/orchestral.ogg");
|
||||
Music music = new Music("resources/orchestral.ogg");
|
||||
|
||||
// Display music informations
|
||||
Console.WriteLine("orchestral.ogg :");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue