You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
998 B

/*******************************************************************************************
*
* raylib [audio] example - sound loading
*
* Example complexity rating: [★☆☆☆] 1/4
*
* Example originally created with raylib 5.5
* Example contributed by Torphedo (@torphedo)
*
* Example licensed under an unmodified zlib/libpng license, which is an OSI-certified,
* BSD-like license that allows static linking with closed source software
*
* Copyright (c) 2026 Torphedo (@torphedo)
*
********************************************************************************************/
#include "raylib.h"
//------------------------------------------------------------------------------------
// Program main entry point
//------------------------------------------------------------------------------------
int main(void)
{
Wave wave = LoadWave("resources/country.mp3");
if (wave.data) {
ExportWave(wave, "country.wav");
UnloadWave(wave);
}
return 0;
}