Allow Android audio toggles during capture startup and test native control
This commit is contained in:
1 parent
8f71a1161b
commit
6cdc2ce4dc
2 files changed
+11
-1
No files matched your search
@@ -437,7 +437,7 @@ class StreamCaptureEngine(
|
||||
}
|
||||
/** Меняем только свою копию PCM; общий микрофон и рация продолжают работать. */
|
||||
fun setAudioEnabled(enabled: Boolean): Boolean {
|
||||
if (!microphone || !audioRunning) {
|
||||
if (!microphone || stopped) {
|
||||
LogManager.addLog("WARN", "stream", "audio change without capture id=$id enabled=$enabled"); return false
|
||||
}
|
||||
val previous = audioMuted
|
||||
|
||||
Reference in new issue
Block a user