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