sm64pc/src/pc/audio/audio_null.c

24 lines
406 B
C
Raw Normal View History

2020-05-05 12:15:53 +00:00
#include "audio_api.h"
static bool audio_null_init(void) {
return true;
}
static int audio_null_buffered(void) {
return 0;
}
static int audio_null_get_desired_buffered(void) {
return 0;
}
static void audio_null_play(const uint8_t *buf, size_t len) {
}
struct AudioAPI audio_null = {
audio_null_init,
audio_null_buffered,
audio_null_get_desired_buffered,
audio_null_play
};