-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsilent.c
36 lines (27 loc) · 833 Bytes
/
silent.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
/* Sarien - A Sierra AGI resource interpreter engine
* Copyright (C) 1999-2001 Stuart George and Claudio Matsuoka
*
* $Id: silent.c,v 1.8 2001/08/22 20:11:57 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 <stdio.h>
#include "sarien.h"
#include "agi.h"
static int dummy_init_sound (SINT16 *);
static void dummy_close_sound (void);
struct sound_driver sound_dummy = {
"Dummy sound driver",
dummy_init_sound,
dummy_close_sound
};
static int dummy_init_sound (SINT16 *buffer)
{
report ("sound_dummy: sound output disabled\n");
return 0;
}
static void dummy_close_sound ()
{
}