Mercurial > audlegacy-plugins
comparison src/wav/wav.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 | db616ccdd40c |
children | 3a252050736c |
comparison
equal
deleted
inserted
replaced
1472:de03e6ff615d | 1473:eb0913bf54c3 |
---|---|
213 tuple = tuple_new_from_filename(filename); | 213 tuple = tuple_new_from_filename(filename); |
214 | 214 |
215 tuple_associate_string(tuple, "codec", "RIFF/WAV Audio (ADPCM)"); | 215 tuple_associate_string(tuple, "codec", "RIFF/WAV Audio (ADPCM)"); |
216 tuple_associate_string(tuple, "quality", "lossless"); | 216 tuple_associate_string(tuple, "quality", "lossless"); |
217 | 217 |
218 title = tuple_formatter_process_string(tuple, cfg.gentitle_format); | 218 title = tuple_formatter_process_string(tuple, get_gentitle_format()); |
219 if (*title == '\0') | 219 if (*title == '\0') |
220 { | 220 { |
221 g_free(title); | 221 g_free(title); |
222 title = g_strdup(tuple_get_string(tuple, "file-name")); | 222 title = g_strdup(tuple_get_string(tuple, "file-name")); |
223 } | 223 } |