In teensyduino 1.57, we can connect and disconnect AudioConnections, so is there any reason why we can't have a default constructor for AudioConnection and make connections in the setup method or elsewhere?
I assume this will work fine. Still waiting for an audioboard, so my ability to test is pretty limited.
Code:
AudioConnection::AudioConnection() {
next_dest = AudioStream::unused;
AudioStream::unused = this;
isConnected = false;
}
I assume this will work fine. Still waiting for an audioboard, so my ability to test is pretty limited.