Home | History | Annotate | Download | only in audio_a2dp_hw

Lines Matching refs:device

23  *  Description:   Implements hal for bluedroid a2dp audio device
92 struct audio_hw_device device;
1382 static int adev_dump(const audio_hw_device_t *device, int fd)
1384 UNUSED(device);
1392 static int adev_close(hw_device_t *device)
1396 free(device);
1401 hw_device_t** device)
1419 adev->device.common.tag = HARDWARE_DEVICE_TAG;
1420 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
1421 adev->device.common.module = (struct hw_module_t *) module;
1422 adev->device.common.close = adev_close;
1424 adev->device.init_check = adev_init_check;
1425 adev->device.set_voice_volume = adev_set_voice_volume;
1426 adev->device.set_master_volume = adev_set_master_volume;
1427 adev->device.set_mode = adev_set_mode;
1428 adev->device.set_mic_mute = adev_set_mic_mute;
1429 adev->device.get_mic_mute = adev_get_mic_mute;
1430 adev->device.set_parameters = adev_set_parameters;
1431 adev->device.get_parameters = adev_get_parameters;
1432 adev->device.get_input_buffer_size = adev_get_input_buffer_size;
1433 adev->device.open_output_stream = adev_open_output_stream;
1434 adev->device.close_output_stream = adev_close_output_stream;
1435 adev->device.open_input_stream = adev_open_input_stream;
1436 adev->device.close_input_stream = adev_close_input_stream;
1437 adev->device.dump = adev_dump;
1442 *device = &adev->device.common;