Lines Matching refs:adev

1403     struct a2dp_audio_device *adev;  in adev_open()  local
1414 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()
1427 adev->device.set_mode = adev_set_mode; in adev_open()
1428 adev->device.set_mic_mute = adev_set_mic_mute; in adev_open()
1429 adev->device.get_mic_mute = adev_get_mic_mute; in adev_open()
1430 adev->device.set_parameters = adev_set_parameters; in adev_open()
1431 adev->device.get_parameters = adev_get_parameters; in adev_open()
1432 adev->device.get_input_buffer_size = adev_get_input_buffer_size; in adev_open()
1433 adev->device.open_output_stream = adev_open_output_stream; in adev_open()
1434 adev->device.close_output_stream = adev_close_output_stream; in adev_open()
1435 adev->device.open_input_stream = adev_open_input_stream; in adev_open()
1436 adev->device.close_input_stream = adev_close_input_stream; in adev_open()
1437 adev->device.dump = adev_dump; in adev_open()
1439 adev->output = NULL; in adev_open()
1442 *device = &adev->device.common; in adev_open()