Skip to content

Commit

Permalink
feat: Input Gain on Small channel strip
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Oct 26, 2021
1 parent b25efd5 commit a1e0be1
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions client/components/ChanStrip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,10 @@ class ChanStrip extends React.PureComponent<
.CHANNEL_INPUT_GAIN ||
window.mixerProtocol.channelTypes[0].toMixer
.CHANNEL_INPUT_SELECTOR
const hasGainTrim =
window.mixerProtocol.channelTypes[0].toMixer[
fxParamsList.GainTrim
]
const hasComp =
window.mixerProtocol.channelTypes[0].toMixer[
fxParamsList.CompThrs
Expand Down Expand Up @@ -351,6 +355,18 @@ class ChanStrip extends React.PureComponent<
</div>
</div>
</React.Fragment>
)}
{hasGainTrim && (
<React.Fragment>
<div className="item">
<div className="title">INPUT</div>
<div className="content">
{this.fxParamFader(
fxParamsList.GainTrim
)}
</div>
</div>
</React.Fragment>
)}
{hasComp && (
<React.Fragment>
Expand Down

0 comments on commit a1e0be1

Please sign in to comment.