ChunkedAudioFileWriter

class ChunkedAudioFileWriter(outputDirectory: String, filePrefix: String, format: AudioFileFormat, sampleRate: Int, channelCount: Int, maxChunkDurationMs: Long = 30 * 60 * 1000L, tags: AudioFileTags? = null)

Constructors

Link copied to clipboard
constructor(outputDirectory: String, filePrefix: String, format: AudioFileFormat, sampleRate: Int, channelCount: Int, maxChunkDurationMs: Long = 30 * 60 * 1000L, tags: AudioFileTags? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun close()
Link copied to clipboard
fun writeFrames(data: FloatArray, numFrames: Int)