standalone: revive spu_c64x build
[pcsx_rearmed.git] / plugins / dfsound / nullsnd.c
... / ...
CommitLineData
1#include "out.h"
2
3// SETUP SOUND
4static int none_init(void)
5{
6 return 0;
7}
8
9// REMOVE SOUND
10static void none_finish(void)
11{
12}
13
14// GET BYTES BUFFERED
15static int none_busy(void)
16{
17 return 1;
18}
19
20// FEED SOUND DATA
21static void none_feed(void *buf, int bytes)
22{
23}
24
25void out_register_none(struct out_driver *drv)
26{
27 drv->name = "none";
28 drv->init = none_init;
29 drv->finish = none_finish;
30 drv->busy = none_busy;
31 drv->feed = none_feed;
32}