Skip to content

Commit

Permalink
fix: CI build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Dec 28, 2019
1 parent 77d529a commit d98475f
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion server/MainApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const path = require('path')
export class MainApp {
numberOfChannels: number[] = []
settingsPath: string = ''
store: any

constructor() {
console.log('SETTINGS UP STATE')
Expand Down
1 change: 0 additions & 1 deletion server/utils/CasparCGConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const OSC_PATH_PRODUCER_FILE_NAME = /\/channel\/(\d+)\/stage\/layer\/(\d+)\/file
const OSC_PATH_PRODUCER_CHANNEL_LAYOUT = /\/channel\/(\d+)\/stage\/layer\/(\d+)\/producer\/channel_layout/

export class CasparCGConnection {
store: IStore;
mixerProtocol: ICasparCGMixerGeometry;
connection: any;
oscClient: any;
Expand Down
1 change: 0 additions & 1 deletion server/utils/EmberMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {


export class EmberMixerConnection {
store: IStore;
mixerProtocol: IMixerProtocol;
emberConnection: any;
deviceRoot: any;
Expand Down
2 changes: 1 addition & 1 deletion server/utils/HuiMidiRemoteConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class HuiMidiRemoteConnection {
);
this.midiOutput.sendControlChange(
44,
1 + (64*state.faders[0].fader[channelIndex].pgmOn),
1 + (64*(state.faders[0].fader[channelIndex].pgmOn ? 1 : 0)),
1
);

Expand Down
2 changes: 1 addition & 1 deletion server/utils/MidiMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ return true;

updatePflState(channelIndex: number) {

if (state.channels[0].channel[channelIndex].pflOn = true) {
if (state.faders[0].fader[channelIndex].pflOn === true) {
this.sendOutMessage(
this.mixerProtocol.channelTypes[0].toMixer.PFL_ON[0].mixerMessage,
channelIndex+1,
Expand Down
4 changes: 2 additions & 2 deletions server/utils/MixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class MixerGenericConnection {
if (state.faders[0].fader[faderIndex].pstOn) {
level = state.faders[0].fader[faderIndex].faderLevel
} else if (state.faders[0].fader[faderIndex].pstVoOn) {
level = state.faders[0].fader[faderIndex].faderLevel * (100-parseFloat(state.settings[0].voLevel))/100
level = state.faders[0].fader[faderIndex].faderLevel * (100-state.settings[0].voLevel)/100
}
state.channels[0].channel.map((channel: IChannel, channelIndex: number) => {
if (faderIndex === channel.assignedFader) {
Expand Down Expand Up @@ -225,7 +225,7 @@ export class MixerGenericConnection {
let targetVal = state.faders[0].fader[faderIndex].faderLevel;

if (state.faders[0].fader[faderIndex].voOn) {
targetVal = targetVal * (100-parseFloat(state.settings[0].voLevel))/100
targetVal = targetVal * (100-state.settings[0].voLevel)/100
}
const step: number = (targetVal-outputLevel)/(fadeTime/FADE_INOUT_SPEED);
const dispatchResolution: number = FADE_DISPATCH_RESOLUTION*step;
Expand Down
1 change: 0 additions & 1 deletion server/utils/QlClMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {


export class QlClMixerConnection {
store: IStore;
mixerProtocol: IMixerProtocol;
cmdChannelIndex: number;
scpConnection: any;
Expand Down
1 change: 0 additions & 1 deletion server/utils/SSLMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
import { SET_MIXER_ONLINE } from '../reducers/settingsActions';

export class SSLMixerConnection {
store: IStore;
mixerProtocol: IMixerProtocol;
cmdChannelIndex: number;
SSLConnection: any;
Expand Down

0 comments on commit d98475f

Please sign in to comment.