AudioProcessor.StreamMetadata


class AudioProcessor.StreamMetadata


Record class that holds information about the underlying stream being processed by an AudioProcessor

Summary

Constants

const AudioProcessor.StreamMetadata!

A StreamMetadata instance populated with default values.

Public constructors

StreamMetadata(positionOffsetUs: @IntRange(from = 0) Long)

Creates a new instance with the specified positionOffsetUs.

Public properties

Long

The position of the underlying stream in microseconds from which the processor will start receiving input buffers after a call to flush.

Constants

DEFAULT

const val DEFAULTAudioProcessor.StreamMetadata!

A StreamMetadata instance populated with default values.

Public constructors

StreamMetadata

StreamMetadata(positionOffsetUs: @IntRange(from = 0) Long)

Creates a new instance with the specified positionOffsetUs.

Parameters
positionOffsetUs: @IntRange(from = 0) Long

The stream position in microseconds from which the processor will start receiving input buffers after a call to flush

Public properties

positionOffsetUs

val positionOffsetUsLong

The position of the underlying stream in microseconds from which the processor will start receiving input buffers after a call to flush.