sensorium / Mozzi

sound synthesis library for Arduino
https://sensorium.github.io/Mozzi/
GNU Lesser General Public License v2.1
1.06k stars 185 forks source link

Fixed compilation for EXTERNAL_AUDIO_OUTPUT for "new" STM32duino #189

Closed tomcombriat closed 1 year ago

tomcombriat commented 1 year ago

Hi! This fixes the compilation the EXTERNAL_AUDIO_OUTPUT feature for the new the STM port.

Note sure where is the best place to put this declaration though…

tfry-git commented 1 year ago

Hm. Of course the define is meant to be configurable, so AudioConfigSTM32duino.h does look like the place for it - in theory.

In the old port, we seem to have cheated: https://github.com/sensorium/Mozzi/blob/b7350d2ccd4cfc56fdc0c4d2bde4b88f7df12bf6/MozziGuts_impl_STM32.hpp#L65

Maybe we should do the same, here, for now, and do a big sorting out of the config mess, another day?