bug fix: do not reset fader level meters if number of clients change
This commit is contained in:
parent
8bded365d7
commit
5f46774e49
2 changed files with 4 additions and 5 deletions
|
@ -17,8 +17,8 @@
|
|||
|
||||
* bug fix: audio level changes if Buffer Delay is changed (Ticket #106)
|
||||
|
||||
* bug fix: do not reset fader level meters if number of clients change
|
||||
|
||||
TODO if number of clients change, the fader level meters are reset
|
||||
|
||||
TODO sometimes I cannot see the central server in the server list
|
||||
|
||||
|
|
|
@ -246,9 +246,10 @@ void CChannelFader::Reset()
|
|||
// init gain value -> maximum value as definition according to server
|
||||
pFader->setValue ( AUD_MIX_FADER_MAX );
|
||||
|
||||
// reset mute/solo check boxes
|
||||
// reset mute/solo check boxes and level meter
|
||||
pcbMute->setChecked ( false );
|
||||
pcbSolo->setChecked ( false );
|
||||
plbrChannelLevel->setValue ( 0 );
|
||||
|
||||
// clear instrument picture, country flag, tool tips and label text
|
||||
plblLabel->setText ( "" );
|
||||
|
@ -755,6 +756,7 @@ void CAudioMixerBoard::HideAll()
|
|||
// before hiding the fader, store its level (if some conditions are fullfilled)
|
||||
StoreFaderSettings ( vecpChanFader[i] );
|
||||
|
||||
vecpChanFader[i]->SetChannelLevel ( 0 );
|
||||
vecpChanFader[i]->SetDisplayChannelLevel ( false );
|
||||
vecpChanFader[i]->Hide();
|
||||
}
|
||||
|
@ -831,9 +833,6 @@ void CAudioMixerBoard::ApplyNewConClientList ( CVector<CChannelInfo>& vecChanInf
|
|||
}
|
||||
}
|
||||
|
||||
// At some future time a new level will arrive -- ???
|
||||
vecpChanFader[i]->SetChannelLevel ( 0 );
|
||||
|
||||
// set the text in the fader
|
||||
vecpChanFader[i]->SetText ( vecChanInfo[j] );
|
||||
|
||||
|
|
Loading…
Reference in a new issue