1 /***************************************************************************
2                         sound_dummy.c  -  description
3                              -------------------
4     begin                : Sun Jul 23 2000
5     copyright            : (C) 2000 by Claudio Matsuoka
6     email                : claudio@helllabs.org
7 
8     $Id: sound_dummy.c,v 1.3 2000/11/22 22:43:25 claudio2 Exp $
9  ***************************************************************************/
10 
11 /***************************************************************************
12  *                                                                         *
13  *   This program is free software; you can redistribute it and/or modify  *
14  *   it under the terms of the GNU General Public License as published by  *
15  *   the Free Software Foundation; either version 2 of the License, or     *
16  *   (at your option) any later version.                                   *
17  *                                                                         *
18  ***************************************************************************/
19 #include <unistd.h>
20 #include "config.h"
21 #include "soundplayer.h"
22 
23 static int dummy_init_sound (void);
24 static void dummy_close_sound (void);
25 static void dump_buffer (void);
26 
27 struct sound_driver sound_dummy = {
28 	"Dummy sound output",
29 	dummy_init_sound,
30 	dummy_close_sound,
31 	dump_buffer
32 };
33 
34 
35 
dummy_init_sound()36 static int dummy_init_sound ()
37 {
38 	printf ("sound_dummy: Dummy sound driver support\n");
39 	return 0;
40 }
41 
42 
dummy_close_sound()43 static void dummy_close_sound ()
44 {
45 }
46 
47 
dump_buffer()48 static void dump_buffer ()
49 {
50 	sleep (1);
51 }
52 
53