diff options
Diffstat (limited to 'plugins/dfsound/nullsnd.c')
-rw-r--r-- | plugins/dfsound/nullsnd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/dfsound/nullsnd.c b/plugins/dfsound/nullsnd.c index d8714df..ba6e51a 100644 --- a/plugins/dfsound/nullsnd.c +++ b/plugins/dfsound/nullsnd.c @@ -11,6 +11,12 @@ static void none_finish(void) { } +// GET BUFFER AVAILABLE +static float none_capacity(void) +{ + return 0.3; +} + // GET BYTES BUFFERED static int none_busy(void) { @@ -29,4 +35,5 @@ void out_register_none(struct out_driver *drv) drv->finish = none_finish; drv->busy = none_busy; drv->feed = none_feed; + drv->capacity = none_capacity; } |