Interface AudioTrack.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioTrack.Builder,,AudioTrack> SdkBuilder<AudioTrack.Builder,,AudioTrack> SdkPojo
- Enclosing class:
AudioTrack
@Mutable
@NotThreadSafe
public static interface AudioTrack.Builder
extends SdkPojo, CopyableBuilder<AudioTrack.Builder,AudioTrack>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AudioTrack.BuilderpremixSettings(Consumer<AudioPreMixerSettings.Builder> premixSettings) Optional audio pre-mixer settings for this track.premixSettings(AudioPreMixerSettings premixSettings) Optional audio pre-mixer settings for this track.1-based integer value that maps to a specific audio trackMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
track
1-based integer value that maps to a specific audio track- Parameters:
track- 1-based integer value that maps to a specific audio track- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premixSettings
Optional audio pre-mixer settings for this track. When specified, allows per-track audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving.- Parameters:
premixSettings- Optional audio pre-mixer settings for this track. When specified, allows per-track audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
premixSettings
Optional audio pre-mixer settings for this track. When specified, allows per-track audio processing including channel remixing, gain adjustment, and loudness normalization before interleaving. This is a convenience method that creates an instance of theAudioPreMixerSettings.Builderavoiding the need to create one manually viaAudioPreMixerSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topremixSettings(AudioPreMixerSettings).- Parameters:
premixSettings- a consumer that will call methods onAudioPreMixerSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-