summaryrefslogtreecommitdiffstats
path: root/hal
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-11-26 16:17:03 -0800
committerEric Laurent <elaurent@google.com>2013-11-26 16:17:03 -0800
commitc58bb27d9228dd1993523769b73001e935b78441 (patch)
tree1ae96be0e3baff80f17cac0c0c7803a3e250eb94 /hal
parent4114c19f32caeea50d0ae34f6d19618f19c1dc4d (diff)
downloadandroid_hardware_qcom_audio-c58bb27d9228dd1993523769b73001e935b78441.tar.gz
android_hardware_qcom_audio-c58bb27d9228dd1993523769b73001e935b78441.tar.bz2
android_hardware_qcom_audio-c58bb27d9228dd1993523769b73001e935b78441.zip
audio: remove unused struct member
Removed unused member out_device from struct audio_device. Change-Id: Id5ae06aed7d38aa85aefe09b9ff733bde1e52f57
Diffstat (limited to 'hal')
-rw-r--r--hal/audio_hw.c1
-rw-r--r--hal/audio_hw.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 48c426da..972837bb 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2356,7 +2356,6 @@ static int adev_open(const hw_module_t *module, const char *name,
adev->mode = AUDIO_MODE_NORMAL;
adev->active_input = NULL;
adev->primary_output = NULL;
- adev->out_device = AUDIO_DEVICE_NONE;
adev->voice_call_rx = NULL;
adev->voice_call_tx = NULL;
adev->voice_volume = 1.0f;
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index 0da43243..e2d6ff75 100644
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -173,7 +173,6 @@ struct audio_device {
pthread_mutex_t lock; /* see note below on mutex acquisition order */
struct mixer *mixer;
audio_mode_t mode;
- audio_devices_t out_device;
struct stream_in *active_input;
struct stream_out *primary_output;
int in_call;