Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AudioTrackConfig Struct
Configuration for a single audio track in a track-based selector.
| Stability | Experimental |
|---|---|
| Source | lib/audio-selector.ts |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
declare const audioPreMixerSettings: medialive_alpha.AudioPreMixerSettings;
const audioTrackConfig: medialive_alpha.AudioTrackConfig = {
track: 123,
// the properties below are optional
premixSettings: audioPreMixerSettings,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
# audio_pre_mixer_settings: medialive_alpha.AudioPreMixerSettings
audio_track_config = medialive_alpha.AudioTrackConfig(
track=123,
# the properties below are optional
premix_settings=audio_pre_mixer_settings
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;
AudioPreMixerSettings audioPreMixerSettings;
AudioTrackConfig audioTrackConfig = AudioTrackConfig.builder()
.track(123)
// the properties below are optional
.premixSettings(audioPreMixerSettings)
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
AudioPreMixerSettings audioPreMixerSettings;
var audioTrackConfig = new AudioTrackConfig {
Track = 123,
// the properties below are optional
PremixSettings = audioPreMixerSettings
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
var audioPreMixerSettings AudioPreMixerSettings
audioTrackConfig := &AudioTrackConfig{
Track: jsii.Number(123),
// the properties below are optional
PremixSettings: audioPreMixerSettings,
}
Properties
premixSettingsoptionalAudioPreMixerSettingspremix_settingsoptionalAudioPreMixerSettingspremixSettingsoptionalAudioPreMixerSettingsPremixSettingsoptionalAudioPreMixerSettingsPremixSettingsoptionalAudioPreMixerSettings #Pre-mixer settings for this track (gain, channel remix, loudness normalization).
Default: no pre-mixing
The 1-based track number to extract.