Skip to content

Commit

Permalink
Fix: don´t send faderLeel to mixer, as it reference to multiple chan…
Browse files Browse the repository at this point in the history
…nels now.

ToDo: Incorporate the correct behaveior or remove the 'client' feature
  • Loading branch information
olzzon committed Sep 1, 2019
1 parent c88eb32 commit a2a1240
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/utils/OscMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,14 @@ export class OscMixerConnection {
this.store.channels[0].channel[channelIndex].outputLevel,
"f"
);
this.sendOutMessage(
this.mixerProtocol.channelTypes[channelType].toMixer.CHANNEL_FADER_LEVEL[0].mixerMessage,
channelTypeIndex+1,
this.store.faders[0].fader[channelIndex].faderLevel,
"f"
);
/* ToDo: skip client protocol mode, or incorporate separate fader in store.channels[0]
this.sendOutMessage(
this.mixerProtocol.channelTypes[channelType].toMixer.CHANNEL_FADER_LEVEL[0].mixerMessage,
channelTypeIndex+1,
this.store.faders[0].fader[channelIndex].faderLevel,
"f"
);
*/
}

updatePflState(channelIndex: number) {
Expand Down

0 comments on commit a2a1240

Please sign in to comment.