summaryrefslogtreecommitdiffstats
path: root/audio/audio_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/audio_hw.c')
-rwxr-xr-xaudio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 9bb2817..322c189 100755
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1371,7 +1371,7 @@ static ssize_t out_write(struct audio_stream_out *stream, const void* buffer,
adev->active_input->source == AUDIO_SOURCE_VOICE_COMMUNICATION)
force_input_standby = true;
}
- low_power = adev->low_power;
+ low_power = adev->low_power && !adev->active_input;
pthread_mutex_unlock(&adev->lock);
if (low_power != out->low_power) {