Skip to contents

Export wave sample data to code (.h), returns true on success.

Usage

export_wave_as_code(wave, file_name)

Arguments

wave

A wave.

file_name

A string.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool ExportWaveAsCode(Wave wave, const char * fileName);

Examples

if (FALSE) {
export_wave_as_code(load_wave("sound.wav"), "file.png")
}