forked from libxmp/xmp-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsound_null.c
More file actions
53 lines (43 loc) · 720 Bytes
/
sound_null.c
File metadata and controls
53 lines (43 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/* Extended Module Player
* Copyright (C) 1996-2024 Claudio Matsuoka and Hipolito Carraro Jr
*
* This file is part of the Extended Module Player and is distributed
* under the terms of the GNU General Public License. See the COPYING
* file for more information.
*/
#include <stdlib.h>
#include "sound.h"
static int init(struct options *options)
{
return 0;
}
static void play(void *b, int i)
{
}
static void deinit(void)
{
}
static void flush(void)
{
}
static void onpause(void)
{
}
static void onresume(void)
{
}
static const char *description(void)
{
return "null output";
}
const struct sound_driver sound_null = {
"null",
NULL,
description,
init,
deinit,
play,
flush,
onpause,
onresume
};