LogNativeSoundProvider
Properties
Functions
Link copied to clipboard
open override fun createNewPlatformAudioOutput(channels: Int, frequency: Int, gen: AudioPlatformOutputGen): AudioPlatformOutput
Link copied to clipboard
suspend fun NativeSoundProvider.createNonStreamingSound(data: AudioData, name: String = "Unknown"): Sound
Link copied to clipboard
suspend fun NativeSoundProvider.createSound(file: FinalVfsFile, streaming: Boolean = false, props: AudioDecodingProps = AudioDecodingProps.DEFAULT): Sound
suspend fun NativeSoundProvider.createSound(file: VfsFile, streaming: Boolean = false, props: AudioDecodingProps = AudioDecodingProps.DEFAULT): Sound
suspend fun NativeSoundProvider.createSound(data: AudioData, formats: AudioFormats = defaultAudioFormats, streaming: Boolean = false, name: String = "Unknown"): Sound
suspend fun NativeSoundProvider.createSound(vfs: Vfs, path: String, streaming: Boolean = false, props: AudioDecodingProps = AudioDecodingProps.DEFAULT): Sound
suspend fun NativeSoundProvider.createSound(data: ByteArray, streaming: Boolean = false, props: AudioDecodingProps = AudioDecodingProps.DEFAULT, name: String = "Unknown"): Sound
Link copied to clipboard
suspend fun NativeSoundProvider.createStreamingSound(stream: AudioStream, closeStream: Boolean = false, name: String = "Unknown", onComplete: suspend () -> Unit? = null): Sound
Link copied to clipboard
suspend fun NativeSoundProvider.playAndWait(stream: AudioStream, params: PlaybackParameters = PlaybackParameters.DEFAULT)