Embedded Audio Source
Represents a source of audio data that can be embedded inside a SoundAnnotation.
Constructors
Link copied to clipboard
constructor(@NonNull audioDataProvider: DataProvider, @NonNull audioEncoding: AudioEncoding, @IntRange(from = 1 ) sampleRate: Int, @IntRange(from = 8 ) sampleSize: Int, @IntRange(from = 1 ) channels: Int, @Nullable description: String)
Constructs an embedded audio source with data served from a DataProvider.
constructor(@NonNull audioData: Array<Byte>, @NonNull audioEncoding: AudioEncoding, @IntRange(from = 1 ) sampleRate: Int, @IntRange(from = 8 ) sampleSize: Int, @IntRange(from = 1 ) channels: Int, @Nullable description: String)
Constructs an embedded audio source with data served from memory.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Constant value returned from getDuration to signal an error during retrieval of the actual audio clip duration.
Link copied to clipboard
Link copied to clipboard