commit 06/10/2025
This commit is contained in:
@@ -141,7 +141,7 @@ class AudioPlayer (var samplingrate: Int) {
|
||||
* @param callback A BiConsumer that accepts a Boolean indicating success or failure and a String message.
|
||||
*/
|
||||
fun WavWriter(sources: List<AudioFileInfo>, target: String, callback: BiConsumer<Boolean, String>) {
|
||||
if (sources.isEmpty() || !ValidFile(target)) {
|
||||
if (sources.isEmpty()) {
|
||||
callback.accept(false, " Invalid sources")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user