-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdummy.c
39 lines (31 loc) · 905 Bytes
/
dummy.c
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
/* Sarien - A Sierra AGI resource interpreter engine
* Copyright (C) 1999-2001 Stuart George and Claudio Matsuoka
*
* $Id: dummy.c,v 1.7 2001/11/30 14:59:24 cmatsuoka Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; see docs/COPYING for further details.
*/
#include "sarien.h"
#include "console.h"
#include "sound.h"
static int dummy2_init_sound (SINT16 *buffer);
static void dummy2_close_sound (void);
static struct sound_driver sound_dummy2 = {
"Dummy sound driver",
dummy2_init_sound,
dummy2_close_sound
};
void __init_sound ()
{
snd = &sound_dummy2;
}
static int dummy2_init_sound (SINT16 *buffer)
{
report ("sound_dummy: sound output disabled\n");
return 0;
}
static void dummy2_close_sound ()
{
}