Closed SurvivalHacking closed 1 month ago
After a little check, i found that seem there are a double declaration in SIDPlayer.H
// SIDPlayer(AudioSource &source, AudioPrint &output, SizeSource &sizeSource) { // static CodecNOP nop; // p_size_source = &sizeSource; // player.setAudioSource(source); // player.setOutput(output); // p_info = &output; // p_out = &output; // }
SIDPlayer(AudioSource &source, AudioStream &output, SizeSource &sizeSource) { static CodecNOP nop; p_size_source = &sizeSource; player.setAudioSource(source); player.setOutput(output); p_info = &output; p_out = &output; }
If I comment the first declaration that use AudioPrint, I can compile all without error, but there are not any audio output on AI Thinker Audio Kit C2.2 , but I think comment this part is not the right solution. There are some other missing ?
Using AudioKit and commet the AudioPrint section it works
I committed some corrections to support the actual version of the AudioTools
After a little check, i found that seem there are a double declaration in SIDPlayer.H
// SIDPlayer(AudioSource &source, AudioPrint &output, SizeSource &sizeSource) { // static CodecNOP nop; // p_size_source = &sizeSource; // player.setAudioSource(source); // player.setOutput(output); // p_info = &output; // p_out = &output; // }
SIDPlayer(AudioSource &source, AudioStream &output, SizeSource &sizeSource) { static CodecNOP nop; p_size_source = &sizeSource; player.setAudioSource(source); player.setOutput(output); p_info = &output; p_out = &output; }
If I comment the first declaration that use AudioPrint, I can compile all without error, but there are not any audio output on AI Thinker Audio Kit C2.2 , but I think comment this part is not the right solution. There are some other missing ?