comparison src/alac/plugin.c @ 372:a157306caf03 trunk

[svn] - finalize the plugin-side of the extension-assist ABI
author nenolod
date Tue, 12 Dec 2006 19:43:23 -0800
parents 626f9f4d79a8
children d124034ebea3
comparison
equal deleted inserted replaced
371:96cbec520f57 372:a157306caf03
202 return get_output_time(); 202 return get_output_time();
203 else 203 else
204 return -1; 204 return -1;
205 } 205 }
206 206
207 gchar *alac_fmts[] = { "m4a", "alac", NULL };
208
207 InputPlugin alac_ip = { 209 InputPlugin alac_ip = {
208 NULL, 210 NULL,
209 NULL, 211 NULL,
210 "Apple Lossless Plugin", /* Description */ 212 "Apple Lossless Plugin", /* Description */
211 alac_init, 213 alac_init,
231 NULL, 233 NULL,
232 build_tuple, 234 build_tuple,
233 NULL, 235 NULL,
234 NULL, 236 NULL,
235 is_our_fd, 237 is_our_fd,
238 alac_fmts
236 }; 239 };
237 240
238 static int get_sample_info(demux_res_t *demux_res, uint32_t samplenum, 241 static int get_sample_info(demux_res_t *demux_res, uint32_t samplenum,
239 uint32_t *sample_duration, 242 uint32_t *sample_duration,
240 uint32_t *sample_byte_size) 243 uint32_t *sample_byte_size)