Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSourceAudioChannelCount(ushort)

Number of audio channels in the specified source track.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public ushort GetSourceAudioChannelCount(ushort audioTrackIdx)

Parameters

audioTrackIdx

Index of the audio track to query.

Returns

Type

Description

ushortNumber of channels.