summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index 20a458960f..812ed176c4 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -17,6 +17,9 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19#include "plugin.h" 19#include "plugin.h"
20#ifdef RB_PROFILE
21#include "lib/profile_plugin.h"
22#endif
20 23
21#include <codecs/libwavpack/wavpack.h> 24#include <codecs/libwavpack/wavpack.h>
22 25
@@ -289,6 +292,15 @@ static int wav2wv (char *filename)
289 292
290enum plugin_status plugin_start(struct plugin_api* api, void *parameter) 293enum plugin_status plugin_start(struct plugin_api* api, void *parameter)
291{ 294{
295#ifdef RB_PROFILE
296 /* This doesn't start profiling or anything, it just gives the
297 * profiling functions that are compiled in someplace to call,
298 * this is needed here to let this compile with profiling support
299 * since it calls code from a codec that is compiled with profiling
300 * support */
301 profile_init(api);
302#endif
303
292 rb = api; 304 rb = api;
293 305
294 if (!parameter) 306 if (!parameter)