Mercurial > audlegacy-plugins
comparison src/sid/xs_title.c @ 1548:cf75d9479932
Fix indentation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 01 Sep 2007 06:01:53 +0300 |
parents | 3a252050736c |
children |
comparison
equal
deleted
inserted
replaced
1547:b63e772ee21d | 1548:cf75d9479932 |
---|---|
52 /* Tuple support | 52 /* Tuple support |
53 */ | 53 */ |
54 static t_xs_tuple * xs_get_titletuple(gchar *tmpFilename, gchar *tmpFilePath, | 54 static t_xs_tuple * xs_get_titletuple(gchar *tmpFilename, gchar *tmpFilePath, |
55 gchar *tmpFileExt, t_xs_tuneinfo *p, gint subTune) | 55 gchar *tmpFileExt, t_xs_tuneinfo *p, gint subTune) |
56 { | 56 { |
57 t_xs_tuple *pResult; | 57 t_xs_tuple *pResult; |
58 | |
58 #ifdef AUDACIOUS_PLUGIN | 59 #ifdef AUDACIOUS_PLUGIN |
59 pResult = tuple_new(); | 60 pResult = tuple_new(); |
60 tuple_associate_string(pResult, "title", p->sidName); | 61 tuple_associate_string(pResult, "title", p->sidName); |
61 tuple_associate_string(pResult, "artist", p->sidComposer); | 62 tuple_associate_string(pResult, "artist", p->sidComposer); |
62 tuple_associate_string(pResult, "file-name", tmpFilename); | 63 tuple_associate_string(pResult, "file-name", tmpFilename); |
136 subInfo = NULL; | 137 subInfo = NULL; |
137 | 138 |
138 | 139 |
139 /* Check if the titles are overridden or not */ | 140 /* Check if the titles are overridden or not */ |
140 #if defined(AUDACIOUS_PLUGIN) | 141 #if defined(AUDACIOUS_PLUGIN) |
141 if (!xs_cfg.titleOverride) { | 142 if (!xs_cfg.titleOverride) { |
142 t_xs_tuple *pTuple = xs_get_titletuple( | 143 t_xs_tuple *pTuple = xs_get_titletuple( |
143 tmpFilename, tmpFilePath, tmpFileExt, p, subTune); | 144 tmpFilename, tmpFilePath, tmpFileExt, p, subTune); |
144 pcResult = tuple_formatter_make_title_string(pTuple, get_gentitle_format()); | 145 pcResult = tuple_formatter_make_title_string(pTuple, get_gentitle_format()); |
145 tuple_free(pTuple); | 146 tuple_free(pTuple); |
146 } else | 147 } else |
147 #elif defined(HAVE_XMMSEXTRA) | 148 #elif defined(HAVE_XMMSEXTRA) |
148 if (!xs_cfg.titleOverride) { | 149 if (!xs_cfg.titleOverride) { |
149 t_xs_tuple *pTuple = xs_get_titletuple( | 150 t_xs_tuple *pTuple = xs_get_titletuple( |
150 tmpFilename, tmpFilePath, tmpFileExt, p, subTune); | 151 tmpFilename, tmpFilePath, tmpFileExt, p, subTune); |
151 | 152 |
152 pcResult = xmms_get_titlestring(xmms_get_gentitle_format(), pTuple); | 153 pcResult = xmms_get_titlestring(xmms_get_gentitle_format(), pTuple); |
153 | 154 |