daft-engineers / vocoder

Open source vocoder designed for the Raspberry Pi.
https://daft-engineers.github.io/vocoder/
Mozilla Public License 2.0
9 stars 0 forks source link

Classes cannot be stored in arrays #98

Closed MHCooke closed 1 year ago

MHCooke commented 1 year ago

To keep an objects in a vector or array they must have copy constructors, and we have explicitly deleted ours. They are deleted because we have a custom destructor. To fix this, move the destructor behaviour into the .stop() function for each class and update the unit tests.

Success criteria:

MHCooke commented 1 year ago

Solution 2: they can be stored in vectors.

MHCooke commented 1 year ago

However, they cannot be constructed into vectors. This could be the cause of the seg fault in the integration branch