toSound

suspend fun AudioData.toSound(soundProvider: NativeSoundProvider = nativeSoundProvider): Sound
suspend fun AudioStream.toSound(closeStream: Boolean = false, name: String = "Unknown"): Sound
suspend fun AudioStream.toSound(closeStream: Boolean = false, name: String = "Unknown", onComplete: suspend () -> Unit? = null): Sound