diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2019-12-10 13:55:25 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-10 13:55:25 -0800 |
| commit | 024ba978ec909d39d411a74b443d2ffa20250fa6 (patch) | |
| tree | 49173f5aee00bffed722c437f3b6361e485aedde /py/circuitpy_mpconfig.h | |
| parent | 387ab6c87eac8481934a7ffc4a96395fe5f34747 (diff) | |
| parent | a08d9e6d8e0059c8aa59feadd7b94d95d691e273 (diff) | |
Merge pull request #2337 from jepler/mp35.0.0-beta.1
Add MP3 playback
Diffstat (limited to 'py/circuitpy_mpconfig.h')
| -rw-r--r-- | py/circuitpy_mpconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h index 000674c4f..5ee5d52c0 100644 --- a/py/circuitpy_mpconfig.h +++ b/py/circuitpy_mpconfig.h @@ -252,6 +252,13 @@ extern const struct _mp_obj_module_t audiomixer_module; #define AUDIOMIXER_MODULE #endif +#if CIRCUITPY_AUDIOMP3 +#define AUDIOMP3_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_audiomp3), (mp_obj_t)&audiomp3_module }, +extern const struct _mp_obj_module_t audiomp3_module; +#else +#define AUDIOMP3_MODULE +#endif + #if CIRCUITPY_AUDIOPWMIO #define AUDIOPWMIO_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_audiopwmio), (mp_obj_t)&audiopwmio_module }, extern const struct _mp_obj_module_t audiopwmio_module; @@ -582,6 +589,7 @@ extern const struct _mp_obj_module_t ustack_module; AUDIOCORE_MODULE \ AUDIOIO_MODULE \ AUDIOMIXER_MODULE \ + AUDIOMP3_MODULE \ AUDIOPWMIO_MODULE \ BITBANGIO_MODULE \ BLEIO_MODULE \ |
