Skip to content

//sorisdk/com.iplateia.afplib/AudioEntry

AudioEntry

[androidJvm]
data class AudioEntry(val name: String, var type: Int, var buffer: ByteArray? = null, val length: Long) : AudioDB.Entry

Represents an actual audio entry for the AudioDB.

Constructors

AudioEntry[androidJvm]
constructor(name: String, type: Int, buffer: ByteArray? = null, length: Long)

Properties

NameSummary
buffer[androidJvm]
var buffer: ByteArray?
The buffer containing audio data.
length[androidJvm]
open override val length: Long
The length of the audio data.
name[androidJvm]
open override val name: String
The name of the audio entry.
type[androidJvm]
open override var type: Int
The type of the audio entry.

Functions

NameSummary
equals[androidJvm]
open operator override fun equals(other: Any?): Boolean
hashCode[androidJvm]
open override fun hashCode(): Int
length[androidJvm]
fun length(): Int
setBuffer[androidJvm]
fun setBuffer(buf: ByteArray, offset: Int, len: Int): AudioEntry
Sets the audio data buffer with a specific offset and length.