1 /*
2 * place-holders to keep libasound linkable to old binaries
3 */
4
5 #ifndef DOXYGEN
6
7 #include "local.h"
8
snd_instr_header_sizeof(void)9 size_t snd_instr_header_sizeof(void)
10 {
11 return 0;
12 }
13
snd_instr_header_malloc(void ** ptr ATTRIBUTE_UNUSED,size_t len ATTRIBUTE_UNUSED)14 int snd_instr_header_malloc(void **ptr ATTRIBUTE_UNUSED,
15 size_t len ATTRIBUTE_UNUSED)
16 {
17 return -ENOMEM;
18 }
19
snd_instr_header_free(void * obj ATTRIBUTE_UNUSED)20 void snd_instr_header_free(void *obj ATTRIBUTE_UNUSED)
21 {
22 }
23
snd_instr_header_copy(void * dst ATTRIBUTE_UNUSED,const void * src ATTRIBUTE_UNUSED)24 void snd_instr_header_copy(void *dst ATTRIBUTE_UNUSED,
25 const void *src ATTRIBUTE_UNUSED)
26 {
27 }
28
snd_instr_header_get_id(const void * info ATTRIBUTE_UNUSED)29 const void *snd_instr_header_get_id(const void *info ATTRIBUTE_UNUSED)
30 {
31 return NULL;
32 }
33
snd_instr_header_get_cluster(const void * info ATTRIBUTE_UNUSED)34 int snd_instr_header_get_cluster(const void *info ATTRIBUTE_UNUSED)
35 {
36 return 0;
37 }
38
snd_instr_header_get_cmd(const void * info ATTRIBUTE_UNUSED)39 unsigned int snd_instr_header_get_cmd(const void *info ATTRIBUTE_UNUSED)
40 {
41 return 0;
42 }
43
snd_instr_header_get_len(const void * info ATTRIBUTE_UNUSED)44 size_t snd_instr_header_get_len(const void *info ATTRIBUTE_UNUSED)
45 {
46 return 0;
47 }
48
snd_instr_header_get_name(const void * info ATTRIBUTE_UNUSED)49 const char *snd_instr_header_get_name(const void *info ATTRIBUTE_UNUSED)
50 {
51 return NULL;
52 }
53
snd_instr_header_get_type(const void * info ATTRIBUTE_UNUSED)54 int snd_instr_header_get_type(const void *info ATTRIBUTE_UNUSED)
55 {
56 return 0;
57 }
58
snd_instr_header_get_format(const void * info ATTRIBUTE_UNUSED)59 const char *snd_instr_header_get_format(const void *info ATTRIBUTE_UNUSED)
60 {
61 return NULL;
62 }
63
snd_instr_header_get_alias(const void * info ATTRIBUTE_UNUSED)64 const void *snd_instr_header_get_alias(const void *info ATTRIBUTE_UNUSED)
65 {
66 return NULL;
67 }
68
snd_instr_header_get_data(const void * info ATTRIBUTE_UNUSED)69 void *snd_instr_header_get_data(const void *info ATTRIBUTE_UNUSED)
70 {
71 return NULL;
72 }
73
snd_instr_header_get_follow_alias(const void * info ATTRIBUTE_UNUSED)74 int snd_instr_header_get_follow_alias(const void *info ATTRIBUTE_UNUSED)
75 {
76 return 0;
77 }
78
snd_instr_header_set_id(void * info ATTRIBUTE_UNUSED,const void * id ATTRIBUTE_UNUSED)79 void snd_instr_header_set_id(void *info ATTRIBUTE_UNUSED,
80 const void *id ATTRIBUTE_UNUSED)
81 {
82 }
83
snd_instr_header_set_cluster(void * info ATTRIBUTE_UNUSED,int cluster ATTRIBUTE_UNUSED)84 void snd_instr_header_set_cluster(void *info ATTRIBUTE_UNUSED,
85 int cluster ATTRIBUTE_UNUSED)
86 {
87 }
88
snd_instr_header_set_cmd(void * info ATTRIBUTE_UNUSED,unsigned int cmd ATTRIBUTE_UNUSED)89 void snd_instr_header_set_cmd(void *info ATTRIBUTE_UNUSED,
90 unsigned int cmd ATTRIBUTE_UNUSED)
91 {
92 }
93
snd_instr_header_set_len(void * info ATTRIBUTE_UNUSED,size_t len ATTRIBUTE_UNUSED)94 void snd_instr_header_set_len(void *info ATTRIBUTE_UNUSED,
95 size_t len ATTRIBUTE_UNUSED)
96 {
97 }
98
snd_instr_header_set_name(void * info ATTRIBUTE_UNUSED,const char * name ATTRIBUTE_UNUSED)99 void snd_instr_header_set_name(void *info ATTRIBUTE_UNUSED,
100 const char *name ATTRIBUTE_UNUSED)
101 {
102 }
103
snd_instr_header_set_type(void * info ATTRIBUTE_UNUSED,int type ATTRIBUTE_UNUSED)104 void snd_instr_header_set_type(void *info ATTRIBUTE_UNUSED,
105 int type ATTRIBUTE_UNUSED)
106 {
107 }
108
snd_instr_header_set_format(void * info ATTRIBUTE_UNUSED,const char * format ATTRIBUTE_UNUSED)109 void snd_instr_header_set_format(void *info ATTRIBUTE_UNUSED,
110 const char *format ATTRIBUTE_UNUSED)
111 {
112 }
113
snd_instr_header_set_alias(void * info ATTRIBUTE_UNUSED,const void * instr ATTRIBUTE_UNUSED)114 void snd_instr_header_set_alias(void *info ATTRIBUTE_UNUSED,
115 const void *instr ATTRIBUTE_UNUSED)
116 {
117 }
118
snd_instr_header_set_follow_alias(void * info ATTRIBUTE_UNUSED,int val ATTRIBUTE_UNUSED)119 void snd_instr_header_set_follow_alias(void *info ATTRIBUTE_UNUSED,
120 int val ATTRIBUTE_UNUSED)
121 {
122 }
123
snd_instr_fm_free(void * fm ATTRIBUTE_UNUSED)124 int snd_instr_fm_free(void *fm ATTRIBUTE_UNUSED)
125 {
126 return 0;
127 }
128
snd_instr_fm_convert_to_stream(void * fm ATTRIBUTE_UNUSED,const char * name ATTRIBUTE_UNUSED,void ** __data ATTRIBUTE_UNUSED,size_t * __size ATTRIBUTE_UNUSED)129 int snd_instr_fm_convert_to_stream(void *fm ATTRIBUTE_UNUSED,
130 const char *name ATTRIBUTE_UNUSED,
131 void **__data ATTRIBUTE_UNUSED,
132 size_t *__size ATTRIBUTE_UNUSED)
133 {
134 return -ENXIO;
135 }
136
snd_instr_fm_convert_from_stream(void * __data ATTRIBUTE_UNUSED,size_t size ATTRIBUTE_UNUSED,void ** simple ATTRIBUTE_UNUSED)137 int snd_instr_fm_convert_from_stream(void *__data ATTRIBUTE_UNUSED,
138 size_t size ATTRIBUTE_UNUSED,
139 void **simple ATTRIBUTE_UNUSED)
140 {
141 return -ENXIO;
142 }
143
144
snd_instr_iwffff_open(void ** handle ATTRIBUTE_UNUSED,const char * name_fff ATTRIBUTE_UNUSED,const char * name_dat ATTRIBUTE_UNUSED)145 int snd_instr_iwffff_open(void **handle ATTRIBUTE_UNUSED,
146 const char *name_fff ATTRIBUTE_UNUSED,
147 const char *name_dat ATTRIBUTE_UNUSED)
148 {
149 return -ENXIO;
150 }
151
snd_instr_iwffff_open_rom(void ** handle ATTRIBUTE_UNUSED,int card ATTRIBUTE_UNUSED,int bank ATTRIBUTE_UNUSED,int file ATTRIBUTE_UNUSED)152 int snd_instr_iwffff_open_rom(void **handle ATTRIBUTE_UNUSED,
153 int card ATTRIBUTE_UNUSED,
154 int bank ATTRIBUTE_UNUSED,
155 int file ATTRIBUTE_UNUSED)
156 {
157 return -ENXIO;
158 }
159
snd_instr_iwffff_open_rom_file(void ** handle ATTRIBUTE_UNUSED,const char * name ATTRIBUTE_UNUSED,int bank ATTRIBUTE_UNUSED,int file ATTRIBUTE_UNUSED)160 int snd_instr_iwffff_open_rom_file(void **handle ATTRIBUTE_UNUSED,
161 const char *name ATTRIBUTE_UNUSED,
162 int bank ATTRIBUTE_UNUSED,
163 int file ATTRIBUTE_UNUSED)
164 {
165 return -ENXIO;
166 }
167
snd_instr_iwffff_close(void * handle ATTRIBUTE_UNUSED)168 int snd_instr_iwffff_close(void *handle ATTRIBUTE_UNUSED)
169 {
170 return 0;
171 }
172
snd_instr_iwffff_free(void * __instr ATTRIBUTE_UNUSED)173 int snd_instr_iwffff_free(void *__instr ATTRIBUTE_UNUSED)
174 {
175 return 0;
176 }
177
snd_instr_iwffff_load(void * iwf ATTRIBUTE_UNUSED,int bank ATTRIBUTE_UNUSED,int prg ATTRIBUTE_UNUSED,void ** __iwffff ATTRIBUTE_UNUSED)178 int snd_instr_iwffff_load(void *iwf ATTRIBUTE_UNUSED,
179 int bank ATTRIBUTE_UNUSED,
180 int prg ATTRIBUTE_UNUSED,
181 void **__iwffff ATTRIBUTE_UNUSED)
182 {
183 return -ENXIO;
184 }
185
snd_instr_iwffff_convert_to_stream(void * iwffff ATTRIBUTE_UNUSED,const char * name ATTRIBUTE_UNUSED,void ** __data ATTRIBUTE_UNUSED,size_t * __size ATTRIBUTE_UNUSED)186 int snd_instr_iwffff_convert_to_stream(void *iwffff ATTRIBUTE_UNUSED,
187 const char *name ATTRIBUTE_UNUSED,
188 void **__data ATTRIBUTE_UNUSED,
189 size_t *__size ATTRIBUTE_UNUSED)
190 {
191 return -ENXIO;
192 }
193
snd_instr_iwffff_convert_from_stream(void * data ATTRIBUTE_UNUSED,size_t size ATTRIBUTE_UNUSED,void ** iwffff ATTRIBUTE_UNUSED)194 int snd_instr_iwffff_convert_from_stream(void *data ATTRIBUTE_UNUSED,
195 size_t size ATTRIBUTE_UNUSED,
196 void **iwffff ATTRIBUTE_UNUSED)
197 {
198 return -ENXIO;
199 }
200
201
snd_instr_simple_free(void * simple ATTRIBUTE_UNUSED)202 int snd_instr_simple_free(void *simple ATTRIBUTE_UNUSED)
203 {
204 return 0;
205 }
206
snd_instr_simple_convert_to_stream(void * simple ATTRIBUTE_UNUSED,const char * name ATTRIBUTE_UNUSED,void ** __data ATTRIBUTE_UNUSED,size_t * __size ATTRIBUTE_UNUSED)207 int snd_instr_simple_convert_to_stream(void *simple ATTRIBUTE_UNUSED,
208 const char *name ATTRIBUTE_UNUSED,
209 void **__data ATTRIBUTE_UNUSED,
210 size_t *__size ATTRIBUTE_UNUSED)
211 {
212 return -ENXIO;
213 }
214
snd_instr_simple_convert_from_stream(void * __data ATTRIBUTE_UNUSED,size_t size ATTRIBUTE_UNUSED,void ** simple ATTRIBUTE_UNUSED)215 int snd_instr_simple_convert_from_stream(void *__data ATTRIBUTE_UNUSED,
216 size_t size ATTRIBUTE_UNUSED,
217 void **simple ATTRIBUTE_UNUSED)
218 {
219 return -ENXIO;
220 }
221
222 #endif /* !DOXYGEN */
223