forked from len0rd/rockbox
Fixed check for software codec in SOURCES, and ifdefed the plugin itself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5968 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
538e68059a
commit
9edaf37042
2 changed files with 5 additions and 1 deletions
|
@ -63,6 +63,6 @@ nim.c
|
|||
alpine_cdc.c
|
||||
#endif
|
||||
|
||||
#if SOFTWARECODECS == yes
|
||||
#if CONFIG_HWCODEC == MASNONE /* software codec platforms */
|
||||
mpa2wav.c
|
||||
#endif
|
||||
|
|
|
@ -19,6 +19,9 @@
|
|||
|
||||
#include "plugin.h"
|
||||
|
||||
#if (CONFIG_HWCODEC == MASNONE) && !defined(SIMULATOR)
|
||||
/* software codec platforms, not for simulator */
|
||||
|
||||
#include <codecs/libmad/mad.h>
|
||||
|
||||
typedef struct ao_sample_format {
|
||||
|
@ -478,3 +481,4 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file)
|
|||
|
||||
return PLUGIN_OK;
|
||||
}
|
||||
#endif /* CONFIG_HWCODEC == MASNONE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue