diff options
| author | Andreas Schneider <asn@cryptomilk.org> | 2017-01-30 22:35:18 +0100 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2017-02-02 12:39:54 +0100 |
| commit | cdad20da45269c9c5d7308f7d63de1350e04d94d (patch) | |
| tree | 7e77d9c3c12f62d707a280173e6883045b876aa7 /audio | |
| parent | a2b77321b135d720c91723e918b58e2c6dc12c93 (diff) | |
| download | hardware_samsung-cdad20da45269c9c5d7308f7d63de1350e04d94d.tar.gz hardware_samsung-cdad20da45269c9c5d7308f7d63de1350e04d94d.tar.bz2 hardware_samsung-cdad20da45269c9c5d7308f7d63de1350e04d94d.zip | |
audio: Remove unused screen_state parameter
Change-Id: I3359e5e6c0d49bc5067f3a78f2f5a1b087c7ae4b
Diffstat (limited to 'audio')
| -rw-r--r-- | audio/audio_hw.c | 8 | ||||
| -rw-r--r-- | audio/audio_hw.h | 1 |
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; |
