mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-22 15:19:18 -05:00
[examples] Review/change audio resources
This commit is contained in:
@ -98,10 +98,10 @@ int main()
|
||||
|
||||
InitAudioDevice();
|
||||
|
||||
Sound fxWav = LoadSound("resources/audio/weird.wav"); // Load WAV audio file
|
||||
Sound fxOgg = LoadSound("resources/audio/tanatana.ogg"); // Load OGG audio file
|
||||
Sound fxWav = LoadSound("resources/audio/weird.wav"); // Load WAV audio file
|
||||
Sound fxOgg = LoadSound("resources/audio/target.ogg"); // Load OGG audio file
|
||||
|
||||
Music music = LoadMusicStream("resources/audio/guitar_noodling.ogg");
|
||||
Music music = LoadMusicStream("resources/audio/country.mp3");
|
||||
PlayMusicStream(music);
|
||||
|
||||
printf("\nPress s or d to play sounds...\n");
|
||||
|
||||
BIN
examples/others/resources/audio/country.mp3
Normal file
BIN
examples/others/resources/audio/country.mp3
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
examples/others/resources/audio/target.ogg
Normal file
BIN
examples/others/resources/audio/target.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user