summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c8
-rw-r--r--audio/audio_hw.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 687fe09..7d6a193 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -3767,14 +3767,6 @@ static int adev_set_parameters(struct audio_hw_device *dev, const char *kvpairs)
adev->bluetooth_nrec = false;
}
- ret = str_parms_get_str(parms, "screen_state", value, sizeof(value));
- if (ret >= 0) {
- if (strcmp(value, AUDIO_PARAMETER_VALUE_ON) == 0)
- adev->screen_off = false;
- else
- adev->screen_off = true;
- }
-
ret = str_parms_get_int(parms, "rotation", &val);
if (ret >= 0) {
bool reverse_speakers = false;
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index ec1d2ca..1adcde3 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -387,7 +387,6 @@ struct audio_device {
float voice_volume;
bool mic_mute;
bool bluetooth_nrec;
- bool screen_off;
int* snd_dev_ref_cnt;
struct listnode usecase_list;
bool speaker_lr_swap;