This commit is contained in:
Nishi 2025-11-22 17:36:48 +09:00
commit 760db962ea
Signed by: nishi
GPG key ID: 27EF69B208EB9343
12 changed files with 273 additions and 154 deletions

17
audio/pthread/decl.c Normal file
View file

@ -0,0 +1,17 @@
#include <MDE/Audio/Audio.h>
#include <pthread.h>
typedef struct driver {
driver_context_t context;
int init;
int frames;
MDEAudioHandler handler;
void* user;
int quit;
pthread_t thread;
pthread_mutex_t mutex;
} driver_t;