mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
add device serial to vocodec open/close log msgs
this allows to identify what device is being used exactly, printing just the device name can't identify it if we have multiple similar devices...
This commit is contained in:
parent
3801ffdec5
commit
0b0cbec470
|
|
@ -62,8 +62,8 @@ bool CVocodecChannel::Open(void)
|
|||
ok = true;
|
||||
PurgeAllQueues();
|
||||
std::cout << "Vocodec channel " <<
|
||||
m_InterfaceIn->GetName() << ":" << (int)m_iChannelIn << " -> " <<
|
||||
m_InterfaceOut->GetName() << ":" << (int)m_iChannelOut << " open" << std::endl;
|
||||
m_InterfaceIn->GetName() << ":" << m_InterfaceIn->GetSerial() << ":" << (int)m_iChannelIn << " -> " <<
|
||||
m_InterfaceOut->GetName() << ":" << m_InterfaceOut->GetSerial() << ":" << (int)m_iChannelOut << " open" << std::endl;
|
||||
}
|
||||
return ok;
|
||||
}
|
||||
|
|
@ -75,8 +75,8 @@ void CVocodecChannel::Close(void)
|
|||
m_bOpen = false;
|
||||
PurgeAllQueues();
|
||||
std::cout << "Vocodec channel " <<
|
||||
m_InterfaceIn->GetName() << ":" << (int)m_iChannelIn << " -> " <<
|
||||
m_InterfaceOut->GetName() << ":" << (int)m_iChannelOut << " closed" << std::endl;
|
||||
m_InterfaceIn->GetName() << ":" << m_InterfaceIn->GetSerial() << ":" << (int)m_iChannelIn << " -> " <<
|
||||
m_InterfaceOut->GetName() << ":" << m_InterfaceOut->GetSerial() << ":" << (int)m_iChannelOut << " closed" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue