Lines Matching refs:adev
473 struct stub_audio_device *adev;
478 adev = calloc(1, sizeof(struct stub_audio_device));
479 if (!adev)
482 adev->device.common.tag = HARDWARE_DEVICE_TAG;
483 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0;
484 adev->device.common.module = (struct hw_module_t *) module;
485 adev->device.common.close = adev_close;
487 adev->device.init_check = adev_init_check;
488 adev->device.set_voice_volume = adev_set_voice_volume;
489 adev->device.set_master_volume = adev_set_master_volume;
490 adev->device.get_master_volume = adev_get_master_volume;
491 adev->device.set_master_mute = adev_set_master_mute;
492 adev->device.get_master_mute = adev_get_master_mute;
493 adev->device.set_mode = adev_set_mode;
494 adev->device.set_mic_mute = adev_set_mic_mute;
495 adev->device.get_mic_mute = adev_get_mic_mute;
496 adev->device.set_parameters = adev_set_parameters;
497 adev->device.get_parameters = adev_get_parameters;
498 adev->device.get_input_buffer_size = adev_get_input_buffer_size;
499 adev->device.open_output_stream = adev_open_output_stream;
500 adev->device.close_output_stream = adev_close_output_stream;
501 adev->device.open_input_stream = adev_open_input_stream;
502 adev->device.close_input_stream = adev_close_input_stream;
503 adev->device.dump = adev_dump;
505 *device = &adev->device.common;