mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
16 lines
300 B
C
16 lines
300 B
C
#ifndef AUDIO_API_H
|
|
#define AUDIO_API_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
struct AudioAPI {
|
|
bool (*init)(void);
|
|
int (*buffered)(void);
|
|
int (*get_desired_buffered)(void);
|
|
void (*play)(const uint8_t *buf, size_t len);
|
|
void (*shutdown)(void);
|
|
};
|
|
|
|
#endif
|