Home | History | Annotate | Download | only in audio_a2dp_hw

Lines Matching refs:adev

1309     struct a2dp_audio_device *adev;
1321 adev = calloc(1, sizeof(struct a2dp_audio_device));
1323 if (!adev)
1326 adev->device.common.tag = HARDWARE_DEVICE_TAG;
1327 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
1328 adev->device.common.module = (struct hw_module_t *) module;
1329 adev->device.common.close = adev_close;
1331 adev->device.init_check = adev_init_check;
1332 adev->device.set_voice_volume = adev_set_voice_volume;
1333 adev->device.set_master_volume = adev_set_master_volume;
1334 adev->device.set_mode = adev_set_mode;
1335 adev->device.set_mic_mute = adev_set_mic_mute;
1336 adev->device.get_mic_mute = adev_get_mic_mute;
1337 adev->device.set_parameters = adev_set_parameters;
1338 adev->device.get_parameters = adev_get_parameters;
1339 adev->device.get_input_buffer_size = adev_get_input_buffer_size;
1340 adev->device.open_output_stream = adev_open_output_stream;
1341 adev->device.close_output_stream = adev_close_output_stream;
1342 adev->device.open_input_stream = adev_open_input_stream;
1343 adev->device.close_input_stream = adev_close_input_stream;
1344 adev->device.dump = adev_dump;
1346 adev->output = NULL;
1349 *device = &adev->device.common;