Searched refs:adev (Results 1 – 3 of 3) sorted by relevance
176 struct audio_hw_device* adev = &bluetooth_audio_device->audio_device_; in adev_open() local177 if (!adev) return -ENOMEM; in adev_open()179 adev->common.tag = HARDWARE_DEVICE_TAG; in adev_open()180 adev->common.version = AUDIO_DEVICE_API_VERSION_3_2; in adev_open()181 adev->common.module = (struct hw_module_t*)module; in adev_open()182 adev->common.close = adev_close; in adev_open()184 adev->init_check = adev_init_check; in adev_open()185 adev->set_voice_volume = adev_set_voice_volume; in adev_open()186 adev->set_master_volume = adev_set_master_volume; in adev_open()187 adev->get_master_volume = adev_get_master_volume; in adev_open()[all …]
1860 struct ha_audio_device* adev; in adev_open() local1870 adev = (struct ha_audio_device*)calloc(1, sizeof(struct ha_audio_device)); in adev_open()1872 if (!adev) return -ENOMEM; in adev_open()1874 adev->mutex = new std::recursive_mutex; in adev_open()1876 adev->device.common.tag = HARDWARE_DEVICE_TAG; in adev_open()1877 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; in adev_open()1878 adev->device.common.module = (struct hw_module_t*)module; in adev_open()1879 adev->device.common.close = adev_close; in adev_open()1881 adev->device.init_check = adev_init_check; in adev_open()1882 adev->device.set_voice_volume = adev_set_voice_volume; in adev_open()[all …]
1899 struct a2dp_audio_device* adev; in adev_open() local1909 adev = (struct a2dp_audio_device*)calloc(1, sizeof(struct a2dp_audio_device)); in adev_open()1911 if (!adev) return -ENOMEM; in adev_open()1913 adev->mutex = new std::recursive_mutex; in adev_open()1915 adev->device.common.tag = HARDWARE_DEVICE_TAG; in adev_open()1916 adev->device.common.version = AUDIO_DEVICE_API_VERSION_2_0; in adev_open()1917 adev->device.common.module = (struct hw_module_t*)module; in adev_open()1918 adev->device.common.close = adev_close; in adev_open()1920 adev->device.init_check = adev_init_check; in adev_open()1921 adev->device.set_voice_volume = adev_set_voice_volume; in adev_open()[all …]