Fixed Default Call Volume audio setting
This commit is contained in:
@@ -131,8 +131,7 @@ private fun AudioScreen(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private var oldCallVolume = BaresipService.callVolume
|
private var newCallVolume = BaresipService.callVolume
|
||||||
private var newCallVolume = oldCallVolume
|
|
||||||
private var oldMicGain = ""
|
private var oldMicGain = ""
|
||||||
private var newMicGain = ""
|
private var newMicGain = ""
|
||||||
private var oldSpeakerPhone = BaresipService.speakerPhone
|
private var oldSpeakerPhone = BaresipService.speakerPhone
|
||||||
@@ -216,7 +215,7 @@ private fun CallVolume() {
|
|||||||
val volNames = listOf("--", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10")
|
val volNames = listOf("--", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10")
|
||||||
val volValues = listOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
|
val volValues = listOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
|
||||||
val itemPosition = remember {
|
val itemPosition = remember {
|
||||||
mutableIntStateOf(volValues.indexOf(oldCallVolume))
|
mutableIntStateOf(volValues.indexOf(BaresipService.callVolume))
|
||||||
}
|
}
|
||||||
Box {
|
Box {
|
||||||
Row(
|
Row(
|
||||||
|
|||||||
Reference in New Issue
Block a user