diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-01-18 20:54:13 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-01-18 20:54:13 +0000 |
commit | 05dccc355144dc717b3cb9ef0074a9ab38a520f4 (patch) | |
tree | 0a36425cf1321817480a82ed05564a2790e2fca9 /apps/plugins/wav2wv.c | |
parent | 1060e447f83128a78dfaa8d59ba0baa642d15a4d (diff) |
Profiling support, tools and documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r-- | apps/plugins/wav2wv.c | 12 |
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 @@ * ****************************************************************************/ #include "plugin.h" +#ifdef RB_PROFILE +#include "lib/profile_plugin.h" +#endif #include <codecs/libwavpack/wavpack.h> @@ -289,6 +292,15 @@ static int wav2wv (char *filename) enum plugin_status plugin_start(struct plugin_api* api, void *parameter) { +#ifdef RB_PROFILE + /* This doesn't start profiling or anything, it just gives the + * profiling functions that are compiled in someplace to call, + * this is needed here to let this compile with profiling support + * since it calls code from a codec that is compiled with profiling + * support */ + profile_init(api); +#endif + rb = api; if (!parameter) |