use relative values for lowering volume (conversational awarness) instead of absolute

This commit is contained in:
Kavish Devar
2024-12-16 19:03:15 +05:30
parent 7d3b80292b
commit 430e1d6c41
2 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ object MediaController {
Log.d("MediaController", "Initial Volume Set: $initialVolume")
audioManager.setStreamVolume(
AudioManager.STREAM_MUSIC,
1, // Set to a lower volume when speaking starts
audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC) * 1 / 12, // Set to a lower volume when speaking starts
0
)
}