OSDN Git Service

a2dp audio HAL: use correct interface version
authorEric Laurent <elaurent@google.com>
Fri, 21 Mar 2014 01:01:09 +0000 (18:01 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 21 Mar 2014 01:05:32 +0000 (18:05 -0700)
Do not use AUDIO_DEVICE_API_VERSION_CURRENT version
but AUDIO_DEVICE_API_VERSION_2_0 to reflect the version
actually implemeted.

Change-Id: I31407af7fc4769be1d259ee739422ce9f598be2e

audio_a2dp_hw/audio_a2dp_hw.c

index 2fee588..7563cd8 100644 (file)
@@ -1146,7 +1146,7 @@ static int adev_open(const hw_module_t* module, const char* name,
         return -ENOMEM;
 
     adev->device.common.tag = HARDWARE_DEVICE_TAG;
-    adev->device.common.version = AUDIO_DEVICE_API_VERSION_CURRENT;
+    adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
     adev->device.common.module = (struct hw_module_t *) module;
     adev->device.common.close = adev_close;