Mercurial > audlegacy-plugins
comparison src/alac/plugin.c @ 1473:eb0913bf54c3
use get_gentitle_format() to get format string so that presets and custom string can coexist.
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Sun, 12 Aug 2007 00:06:35 +0900 |
parents | 195b5657303e |
children | 3a252050736c |
comparison
equal
deleted
inserted
replaced
1472:de03e6ff615d | 1473:eb0913bf54c3 |
---|---|
334 | 334 |
335 demux_res.stream = input_stream; | 335 demux_res.stream = input_stream; |
336 | 336 |
337 /* Get the titlestring ready. */ | 337 /* Get the titlestring ready. */ |
338 ti = build_tuple_from_demux(&demux_res, (char *) args); | 338 ti = build_tuple_from_demux(&demux_res, (char *) args); |
339 title = tuple_formatter_process_string(ti, cfg.gentitle_format); | 339 title = tuple_formatter_process_string(ti, get_gentitle_format()); |
340 | 340 |
341 /* initialise the sound converter */ | 341 /* initialise the sound converter */ |
342 demux_res.alac = create_alac(demux_res.sample_size, demux_res.num_channels); | 342 demux_res.alac = create_alac(demux_res.sample_size, demux_res.num_channels); |
343 alac_set_info(demux_res.alac, demux_res.codecdata); | 343 alac_set_info(demux_res.alac, demux_res.codecdata); |
344 | 344 |