Skip to content

Commit

Permalink
bug fix: sliders move by themselves if fader groups are used on recon…
Browse files Browse the repository at this point in the history
…nect (#611)
  • Loading branch information
corrados committed Nov 26, 2020
1 parent b6caa2b commit 39428dd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

- added possibility to set MIDI offset for fader control to --ctrlmidich (#95)

- bug fix: sliders move by themselves if fader groups are used on reconnect (#611)

- bug fix: do not reset sound card channel selection on a device property change

- bug fix: compiling Jamulus 3.6.1 is failing on Debian 9 Linode (#736)
Expand All @@ -20,8 +22,6 @@



TODO sliders move by themselves in 3.5.11 (#611) -> maybe the cause are the groupings of faders, see https://www.facebook.com/groups/619274602254947/permalink/803001740548898/?comment_id=803602367155502&reply_comment_id=803624437153295

TODO use new server icon on Mac server bundle (#737) (on Windows the setup is already fixed)

TODO add Github Issues for the MacOS audio interface changes done on the branch
Expand Down
8 changes: 5 additions & 3 deletions src/audiomixerboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ void CChannelFader::SetupFaderTag ( const ESkillLevel eSkillLevel )

void CChannelFader::Reset()
{
// it is important to reset the group index first (#611)
iGroupID = INVALID_INDEX;

// general initializations
SetRemoteFaderIsMute ( false );

Expand Down Expand Up @@ -396,7 +399,6 @@ void CChannelFader::Reset()
bIsMutedAtServer = false;
iRunningNewClientCnt = 0;

iGroupID = INVALID_INDEX;
UpdateGroupIDDependencies();
}

Expand Down Expand Up @@ -1189,7 +1191,7 @@ void CAudioMixerBoard::ApplyNewConClientList ( CVector<CChannelInfo>& vecChanInf
bStoredFaderIsMute,
iGroupID ) )
{
vecpChanFader[i]->SetFaderLevel ( iStoredFaderLevel );
vecpChanFader[i]->SetFaderLevel ( iStoredFaderLevel, true ); // suppress group update
vecpChanFader[i]->SetPanValue ( iStoredPanValue );
vecpChanFader[i]->SetFaderIsSolo ( bStoredFaderIsSolo );
vecpChanFader[i]->SetFaderIsMute ( bStoredFaderIsMute );
Expand Down Expand Up @@ -1290,7 +1292,7 @@ void CAudioMixerBoard::LoadAllFaderSettings()
bStoredFaderIsMute,
iGroupID ) )
{
vecpChanFader[i]->SetFaderLevel ( iStoredFaderLevel );
vecpChanFader[i]->SetFaderLevel ( iStoredFaderLevel, true ); // suppress group update
vecpChanFader[i]->SetPanValue ( iStoredPanValue );
vecpChanFader[i]->SetFaderIsSolo ( bStoredFaderIsSolo );
vecpChanFader[i]->SetFaderIsMute ( bStoredFaderIsMute );
Expand Down

0 comments on commit 39428dd

Please sign in to comment.