Searched refs:adev (Results 1 – 1 of 1) sorted by relevance
1403 struct a2dp_audio_device *adev; in adev_open() local1414 adev = calloc(1, sizeof(struct a2dp_audio_device)); in adev_open()1416 if (!adev) in adev_open()1419 adev->device.common.tag = HARDWARE_DEVICE_TAG; in adev_open()1420 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; in adev_open()1421 adev->device.common.module = (struct hw_module_t *) module; in adev_open()1422 adev->device.common.close = adev_close; in adev_open()1424 adev->device.init_check = adev_init_check; in adev_open()1425 adev->device.set_voice_volume = adev_set_voice_volume; in adev_open()1426 adev->device.set_master_volume = adev_set_master_volume; in adev_open()[all …]