Commit | Line | Data |
---|---|---|
07c13dfd | 1 | #include "out.h" |
ef79bbde P |
2 | |
3 | // SETUP SOUND | |
07c13dfd | 4 | static int none_init(void) |
ef79bbde | 5 | { |
07c13dfd | 6 | return 0; |
ef79bbde P |
7 | } |
8 | ||
9 | // REMOVE SOUND | |
07c13dfd | 10 | static void none_finish(void) |
ef79bbde P |
11 | { |
12 | } | |
13 | ||
14 | // GET BYTES BUFFERED | |
07c13dfd | 15 | static int none_busy(void) |
ef79bbde | 16 | { |
07c13dfd | 17 | return 1; |
ef79bbde P |
18 | } |
19 | ||
20 | // FEED SOUND DATA | |
07c13dfd | 21 | static void none_feed(void *buf, int bytes) |
22 | { | |
23 | } | |
24 | ||
25 | void out_register_none(struct out_driver *drv) | |
ef79bbde | 26 | { |
07c13dfd | 27 | drv->name = "none"; |
28 | drv->init = none_init; | |
29 | drv->finish = none_finish; | |
30 | drv->busy = none_busy; | |
31 | drv->feed = none_feed; | |
ef79bbde | 32 | } |