mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-11 17:29:57 +00:00
Add a couple of missed debugging messages.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
b7924aad62
commit
735ebe3e85
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user