DEADSOFTWARE

sdl2: fix build and traps
[flatwaifu.git] / src / stubsnd / sound.c
1 /* Copyright (C) 2020 SovietPony
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, version 3 of the License ONLY.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program. If not, see <http://www.gnu.org/licenses/>.
14 */
16 #include "glob.h"
17 #include "sound.h"
18 #include "music.h"
20 /* Music */
22 const cfg_t *MUS_args (void) {
23 return NULL;
24 }
26 const cfg_t *MUS_conf (void) {
27 return NULL;
28 }
30 const menu_t *MUS_menu (void) {
31 return NULL;
32 }
34 void MUS_init (void) {
36 }
38 void MUS_done (void) {
40 }
42 void MUS_start (int time) {
44 }
46 void MUS_stop (void) {
48 }
50 void MUS_volume (int v) {
52 }
54 void MUS_load (char n[8]) {
56 }
58 void MUS_free (void) {
60 }
62 void MUS_update (void) {
64 }
66 /* Sound */
68 const cfg_t *S_args (void) {
69 return NULL;
70 }
72 const cfg_t *S_conf (void) {
73 return NULL;
74 }
76 const menu_t *S_menu (void) {
77 return NULL;
78 }
80 snd_t *S_get (int id) {
81 return NULL;
82 }
84 snd_t *S_load (const char name[8]) {
85 return NULL;
86 }
88 void S_free (snd_t *s) {
90 }
92 void S_init (void) {
94 }
96 void S_done (void) {
98 }
100 short S_play (snd_t *s, short c, short v) {
101 return 0;
104 void S_stop (short c) {
108 void S_volume (int v) {
112 void S_wait (void) {