Skip to content

Commit

Permalink
Merge pull request #251 from tv2/SOF-2289/dontContinueAudioBedIfStopH…
Browse files Browse the repository at this point in the history
…asBeenThere

SOF-2289 Add STOP_ADUIO_BED class
  • Loading branch information
LindvedKrvang authored Oct 2, 2024
2 parents 6d7b9f7 + 3d61556 commit 6efe18b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/tv2-common/cues/lyd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import { Tv2OutputLayer } from '../../tv2-constants/tv2-output-layer'
import { Tv2PieceType } from '../../tv2-constants/tv2-piece-type'
import { TV2ShowStyleConfig } from '../blueprintConfig'

const STOP_AUDIO_BED_CLASS: string = 'STOP_AUDIO_BED_CLASS'

export function EvaluateLYD(
context: ShowStyleContext,
pieces: IBlueprintPiece[],
Expand Down Expand Up @@ -133,7 +135,7 @@ function LydContent(
deviceType: TSR.DeviceType.ABSTRACT,
type: 'empty'
},
classes: []
classes: [STOP_AUDIO_BED_CLASS]
})
]
})
Expand Down Expand Up @@ -180,7 +182,8 @@ function LydContent(
literal<TSR.TimelineObjSisyfosChannel>({
id: '',
enable: {
start: 0
start: 0,
end: `.${STOP_AUDIO_BED_CLASS}`
},
priority: 1,
layer: SharedSisyfosLLayer.SisyfosSourceAudiobed,
Expand Down

0 comments on commit 6efe18b

Please sign in to comment.