Changed the .ogg and .wav files used by the sound sample (7.5 Mo -> 300 Ko)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1494 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
47d4fd0452
commit
007db7d39a
10 changed files with 8 additions and 8 deletions
|
@ -26,10 +26,10 @@ namespace sample_sound
|
|||
private static void PlaySound()
|
||||
{
|
||||
// Load a sound buffer from a wav file
|
||||
SoundBuffer buffer = new SoundBuffer("datas/sound/footsteps.wav");
|
||||
SoundBuffer buffer = new SoundBuffer("datas/sound/canary.wav");
|
||||
|
||||
// Display sound informations
|
||||
Console.WriteLine("footsteps.wav :");
|
||||
Console.WriteLine("canary.wav :");
|
||||
Console.WriteLine(" " + buffer.Duration + " sec");
|
||||
Console.WriteLine(" " + buffer.SampleRate + " samples / sec");
|
||||
Console.WriteLine(" " + buffer.ChannelsCount + " channels");
|
||||
|
@ -56,10 +56,10 @@ namespace sample_sound
|
|||
private static void PlayMusic()
|
||||
{
|
||||
// Load an ogg music file
|
||||
Music music = new Music("datas/sound/lepidoptera.ogg");
|
||||
Music music = new Music("datas/sound/orchestral.ogg");
|
||||
|
||||
// Display music informations
|
||||
Console.WriteLine("lepidoptera.ogg :");
|
||||
Console.WriteLine("orchestral.ogg :");
|
||||
Console.WriteLine(" " + music.Duration + " sec");
|
||||
Console.WriteLine(" " + music.SampleRate + " samples / sec");
|
||||
Console.WriteLine(" " + music.ChannelsCount + " channels");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue