Method SetTargetAudioSource
- Namespace
- RenderHeads.Media.AVProVideo
- Assembly
- _AVProVideo.Extensions.VideoPlayer.dll
SetTargetAudioSource(ushort, AudioSource)
Sets the AudioSource that will receive audio samples for the specified track if using AudioSource
public void SetTargetAudioSource(ushort trackIndex, AudioSource source)
Parameters
trackIndexushortIndex of the audio track to associate with the specified AudioSource.
sourceAudioSourceAudioSource to associate with the audio track.