some random improvements
[pcsx_rearmed.git] / plugins / dfsound / nullsnd.c
1 #include "out.h"
2
3 // SETUP SOUND
4 static int none_init(void)
5 {
6   return 0;
7 }
8
9 // REMOVE SOUND
10 static void none_finish(void)
11 {
12 }
13
14 // GET BYTES BUFFERED
15 static int none_busy(void)
16 {
17   return 1;
18 }
19
20 // FEED SOUND DATA
21 static void none_feed(void *buf, int bytes)
22 {
23 }
24
25 void 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 }