Add a couple of missed debugging messages.

Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian.Conlon 2017-09-17 23:07:56 +01:00
parent b7924aad62
commit 735ebe3e85

View File

@ -254,6 +254,15 @@ namespace EightBit {
bool& outputVoice3() { return m_outputVoice[2]; }
bool& outputVoice4() { return m_outputVoice[3]; }
void dump() const {
std::cout
<< "Output channel: "
<< "Vin:" << vin()
<< ",Output level=" << outputLevel()
<< ",Voices:" << (int)m_outputVoice[0] << (int)m_outputVoice[1] << (int)m_outputVoice[2] << (int)m_outputVoice[3]
<< std::endl;
}
private:
bool m_vin;
int m_outputLevel;
@ -299,6 +308,10 @@ namespace EightBit {
std::cout << "** Voice " << i + 1 << std::endl;
m_voices[i]->dump();
}
for (int i = 0; i < 2; ++i) {
std::cout << "** Channel " << i + 1 << std::endl;
m_channels[i].dump();
}
}
private: