diff options
-rw-r--r-- | apps/plugins/SOURCES | 2 | ||||
-rw-r--r-- | apps/plugins/mpa2wav.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 6fc20b7b32..9dd042ff31 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES | |||
@@ -63,6 +63,6 @@ nim.c | |||
63 | alpine_cdc.c | 63 | alpine_cdc.c |
64 | #endif | 64 | #endif |
65 | 65 | ||
66 | #if SOFTWARECODECS == yes | 66 | #if CONFIG_HWCODEC == MASNONE /* software codec platforms */ |
67 | mpa2wav.c | 67 | mpa2wav.c |
68 | #endif | 68 | #endif |
diff --git a/apps/plugins/mpa2wav.c b/apps/plugins/mpa2wav.c index bff7608d98..025cb82dcb 100644 --- a/apps/plugins/mpa2wav.c +++ b/apps/plugins/mpa2wav.c | |||
@@ -19,6 +19,9 @@ | |||
19 | 19 | ||
20 | #include "plugin.h" | 20 | #include "plugin.h" |
21 | 21 | ||
22 | #if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR) | ||
23 | /* software codec platforms, not for simulator */ | ||
24 | |||
22 | #include <codecs/libmad/mad.h> | 25 | #include <codecs/libmad/mad.h> |
23 | 26 | ||
24 | typedef struct ao_sample_format { | 27 | typedef struct ao_sample_format { |
@@ -478,3 +481,4 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
478 | 481 | ||
479 | return PLUGIN_OK; | 482 | return PLUGIN_OK; |
480 | } | 483 | } |
484 | #endif /* CONFIG_HWCODEC == MASNONE */ | ||