Mercurial > audlegacy-plugins
comparison src/madplug/plugin.c @ 802:7ac48f3855b1 trunk
[svn] - add cleanup code.
| author | yaz |
|---|---|
| date | Sun, 11 Mar 2007 23:39:38 -0700 |
| parents | dd06b14a43a9 |
| children | 0f9c8d4d3ac4 |
comparison
equal
deleted
inserted
replaced
| 801:dd06b14a43a9 | 802:7ac48f3855b1 |
|---|---|
| 173 audmad_config.id3_format = g_strdup(""); | 173 audmad_config.id3_format = g_strdup(""); |
| 174 } | 174 } |
| 175 | 175 |
| 176 static void audmad_cleanup() | 176 static void audmad_cleanup() |
| 177 { | 177 { |
| 178 g_free(audmad_config.pregain_db); | |
| 179 g_free(audmad_config.replaygain.default_db); | |
| 180 g_free(audmad_config.id3_format); | |
| 181 | |
| 182 g_cond_free(mad_cond); | |
| 183 g_mutex_free(mad_mutex); | |
| 184 g_mutex_free(pb_mutex); | |
| 178 } | 185 } |
| 179 | 186 |
| 180 static gboolean mp3_head_check(guint32 head, gint *frameSize) | 187 static gboolean mp3_head_check(guint32 head, gint *frameSize) |
| 181 { | 188 { |
| 182 gint version, layer, bitIndex, bitRate, sampleIndex, sampleRate, padding; | 189 gint version, layer, bitIndex, bitRate, sampleIndex, sampleRate, padding; |
