Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>master
parent
cf08b06dee
commit
cda9e14c32
5 changed files with 78 additions and 30 deletions
@ -0,0 +1,40 @@ |
|||||||
|
|
||||||
|
#include <stdlib.h> |
||||||
|
#include "sound.h" |
||||||
|
|
||||||
|
static int init(int sampling_rate, int channels) |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
static void play(void *b, int i) |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
static void deinit() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
static void flush() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
static void onpause() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
static void onresume() |
||||||
|
{ |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
struct sound_driver sound_null = { |
||||||
|
"null", |
||||||
|
"No output", |
||||||
|
NULL, |
||||||
|
init, |
||||||
|
deinit, |
||||||
|
play, |
||||||
|
flush, |
||||||
|
onpause, |
||||||
|
onresume
|
||||||
|
}; |
||||||
Loading…
Reference in new issue