mirror of
https://github.com/LX3JL/xlxd.git
synced 2026-04-04 14:07:31 +00: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
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue