450 |
// Conditionally update whole channel status info. |
// Conditionally update whole channel status info. |
451 |
if (m_iInstrumentStatus >= 0 && m_iInstrumentStatus < 100) |
if (m_iInstrumentStatus >= 0 && m_iInstrumentStatus < 100) |
452 |
updateChannelInfo(); |
updateChannelInfo(); |
453 |
|
// Leave, if we still have an erroneus or incomplete instrument load. |
454 |
|
if (m_iInstrumentStatus < 100) |
455 |
|
return; |
456 |
|
|
457 |
// Get current channel voice count. |
// Get current channel voice count. |
458 |
int iVoiceCount = ::lscp_get_channel_voice_count(client(), m_iChannelID); |
int iVoiceCount = ::lscp_get_channel_voice_count(client(), m_iChannelID); |