Replies: 1 comment
-
|
Moved to Issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hardware: ESP32-S3-Supermini
Software: ESP32S3 Module, Audio Tools 1.2.0, Arduino 2.3.6
Following test sketch failed to compile.
Sketch
Error messages
error: cannot declare variable 'mixer' to be of abstract type 'audio_tools::ChannelMixer'
because the following virtual functions are pure within 'audio_tools::ChannelMixer':
'virtual size_t audio_tools::BaseConverter::convert(uint8_t*, size_t)'
Cause
The abstract class BaseConverter has a pure virtual function convert() which must be overridden in derived classes.
virtual size_t convert(uint8_t *src, size_t size) = 0;
Workaround
I've modified ChannelMixer class using ChannelAvg as example.
Beta Was this translation helpful? Give feedback.
All reactions