StudioSoundAudioProcessor.SeparationResult


class StudioSoundAudioProcessor.SeparationResult


A record containing metadata about a separated source.

Summary

Public constructors

SeparationResult(
    @StudioSoundAudioProcessor.AudioType label: Int,
    channelIndices: IntArray<Int>!
)

Public properties

Array<Int>!

The channel indices of this source within the separated output stream.

Int

The label assigned to this source.

Public constructors

SeparationResult

SeparationResult(
    @StudioSoundAudioProcessor.AudioType label: Int,
    channelIndices: IntArray<Int>!
)

Public properties

channelIndices

val channelIndices: Array<Int>!

The channel indices of this source within the separated output stream.

These indices are generally contiguous and more than one index represents a source with a higher channel count (e.g. stereo).

label

@StudioSoundAudioProcessor.AudioType
val label: Int

The label assigned to this source.