Add support for initing specific device

This commit is contained in:
Cherry 2026-01-12 18:58:05 +03:00
commit 8f33ca4bb9

View file

@ -30,7 +30,8 @@ int main(void)
InitWindow(screenWidth, screenHeight, "raylib [others] example - embedded files loading");
InitAudioDevice(); // Initialize audio device
InitAudioContext();
InitAudioDevice(0); // Initialize audio device
// Loaded in CPU memory (RAM) from header file (audio_data.h)
// Same as: Wave wave = LoadWave("sound.wav");