Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/pc/audio/audio_api.h
7861 views
1
#ifndef AUDIO_API_H
2
#define AUDIO_API_H
3
4
#include <stdbool.h>
5
#include <stdint.h>
6
#include <stddef.h>
7
8
struct AudioAPI {
9
bool (*init)(void);
10
int (*buffered)(void);
11
int (*get_desired_buffered)(void);
12
void (*play)(const uint8_t *buf, size_t len);
13
};
14
15
#endif
16
17