Add support for initing specific device
This commit is contained in:
parent
c259e30b4f
commit
8f33ca4bb9
1 changed files with 107 additions and 15 deletions
|
|
@ -37,7 +37,8 @@ int main(void)
|
|||
|
||||
InitWindow(screenWidth, screenHeight, "raylib [audio] example - module playing (streaming)");
|
||||
|
||||
InitAudioDevice(); // Initialize audio device
|
||||
InitAudioContext();
|
||||
InitAudioDevice(0); // Initialize audio device
|
||||
|
||||
Color colors[14] = { ORANGE, RED, GOLD, LIME, BLUE, VIOLET, BROWN, LIGHTGRAY, PINK,
|
||||
YELLOW, GREEN, SKYBLUE, PURPLE, BEIGE };
|
||||
|
|
|
|||
Loading…
Reference in a new issue