Preliminary sound

This commit is contained in:
Edith Boles
2026-03-05 22:36:58 -08:00
parent 3b8e70c524
commit 4cfa24e4a6
12 changed files with 96409 additions and 13 deletions

23
src/audio_test.c Normal file
View File

@@ -0,0 +1,23 @@
#include "miniaudio/miniaudio.h"
#include <stdio.h>
int main()
{
ma_result result;
ma_engine engine;
result = ma_engine_init(NULL, &engine);
if (result != MA_SUCCESS) {
return -1;
}
ma_engine_play_sound(&engine, "assets/hop_adult.wav", NULL);
printf("Press Enter to quit...");
getchar();
ma_engine_uninit(&engine);
return 0;
}