Lines Matching refs:adev
574 struct stub_audio_device *adev; in adev_open() local
579 adev = calloc(1, sizeof(struct stub_audio_device)); in adev_open()
580 if (!adev) in adev_open()
583 adev->device.common.tag = HARDWARE_DEVICE_TAG; in adev_open()
584 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; in adev_open()
585 adev->device.common.module = (struct hw_module_t *) module; in adev_open()
586 adev->device.common.close = adev_close; in adev_open()
588 adev->device.init_check = adev_init_check; in adev_open()
589 adev->device.set_voice_volume = adev_set_voice_volume; in adev_open()
590 adev->device.set_master_volume = adev_set_master_volume; in adev_open()
591 adev->device.get_master_volume = adev_get_master_volume; in adev_open()
592 adev->device.set_master_mute = adev_set_master_mute; in adev_open()
593 adev->device.get_master_mute = adev_get_master_mute; in adev_open()
594 adev->device.set_mode = adev_set_mode; in adev_open()
595 adev->device.set_mic_mute = adev_set_mic_mute; in adev_open()
596 adev->device.get_mic_mute = adev_get_mic_mute; in adev_open()
597 adev->device.set_parameters = adev_set_parameters; in adev_open()
598 adev->device.get_parameters = adev_get_parameters; in adev_open()
599 adev->device.get_input_buffer_size = adev_get_input_buffer_size; in adev_open()
600 adev->device.open_output_stream = adev_open_output_stream; in adev_open()
601 adev->device.close_output_stream = adev_close_output_stream; in adev_open()
602 adev->device.open_input_stream = adev_open_input_stream; in adev_open()
603 adev->device.close_input_stream = adev_close_input_stream; in adev_open()
604 adev->device.dump = adev_dump; in adev_open()
606 *device = &adev->device.common; in adev_open()