Load a soundfile from his path.
Sound s1 = new Sound(); if (s1.loadFromFile("samples/audio/orchestral.ogg") is null) throw new Exception("Could not load file.");
See: BaseSoundFile See: VorbisFile See: WaveFile
See Implementation
Load a soundfile from his path.