summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2012-08-28 14:34:59 -0700
committerEric Laurent <elaurent@google.com>2012-09-07 10:28:53 -0700
commit41fba72e7a266724b1ec8cb482f9e142229d3945 (patch)
treea41fbe9ca36163db189358fbbd688b465076d291
parent8f9b92272b3a4f5d141e2972adaaaf53829b04a2 (diff)
downloadexternal_bluetooth_bluedroid-41fba72e7a266724b1ec8cb482f9e142229d3945.zip
external_bluetooth_bluedroid-41fba72e7a266724b1ec8cb482f9e142229d3945.tar.gz
external_bluetooth_bluedroid-41fba72e7a266724b1ec8cb482f9e142229d3945.tar.bz2
audio: audio device API 2.0
Remove obsolete get_supported_devices() function. Change-Id: I4e2e6daa2222b9c7b6c685d8ac0763dc5f8cdaa9
-rw-r--r--audio_a2dp_hw/audio_a2dp_hw.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/audio_a2dp_hw/audio_a2dp_hw.c b/audio_a2dp_hw/audio_a2dp_hw.c
index 93eaec2..345930b 100644
--- a/audio_a2dp_hw/audio_a2dp_hw.c
+++ b/audio_a2dp_hw/audio_a2dp_hw.c
@@ -1064,13 +1064,6 @@ static int adev_close(hw_device_t *device)
return 0;
}
-static uint32_t adev_get_supported_devices(const struct audio_hw_device *dev)
-{
- FNLOG();
-
- return (AUDIO_DEVICE_OUT_ALL_A2DP);
-}
-
static int adev_open(const hw_module_t* module, const char* name,
hw_device_t** device)
{
@@ -1096,7 +1089,6 @@ static int adev_open(const hw_module_t* module, const char* name,
adev->device.common.module = (struct hw_module_t *) module;
adev->device.common.close = adev_close;
- adev->device.get_supported_devices = adev_get_supported_devices;
adev->device.init_check = adev_init_check;
adev->device.set_voice_volume = adev_set_voice_volume;
adev->device.set_master_volume = adev_set_master_volume;