Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 45) sorted by relevance

12

/device/generic/goldfish/audio/
Dprimary_device.cpp48 Return<Result> Device::setMasterVolume(float volume) { in setMasterVolume() argument
49 if (isnan(volume) || volume < 0 || volume > 1.0) { in setMasterVolume()
53 mMasterVolume = volume; in setMasterVolume()
54 updateOutputStreamVolume(mMasterMute ? 0.0f : volume); in setMasterVolume()
367 Return<Result> PrimaryDevice::setMasterVolume(float volume) { in setMasterVolume() argument
368 return mDevice->setMasterVolume(volume); in setMasterVolume()
482 Return<Result> PrimaryDevice::setVoiceVolume(float volume) { in setVoiceVolume() argument
483 return (volume >= 0 && volume <= 1.0) ? Result::OK : FAILURE(Result::INVALID_ARGUMENTS); in setVoiceVolume()
559 Return<Result> PrimaryDevice::setBtHfpVolume(float volume) { in setBtHfpVolume() argument
560 (void)volume; in setBtHfpVolume()
Ddevice_port_sink.cpp129 size_t write(float volume, size_t bytesToWrite, IReader &reader) override { in write()
154 aops::multiplyByVolume(volume, in write()
178 aops::multiplyByVolume(volume, in write()
313 size_t write(float volume, size_t bytesToWrite, IReader &reader) override { in write()
314 (void)volume; in write()
Dprimary_device.h47 Return<Result> setMasterVolume(float volume) override;
140 Return<Result> setMasterVolume(float volume) override;
185 Return<Result> setVoiceVolume(float volume) override;
199 Return<Result> setBtHfpVolume(float volume) override;
Daudio_ops.cpp28 void multiplyByVolume(const float volume, int16_t *a, const size_t n) { in multiplyByVolume() argument
31 static_cast<int_fast32_t>(round(volume * kDenominator)); in multiplyByVolume()
Ddevice_port_source.cpp110 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
131 aops::multiplyByVolume(volume, in read()
263 size_t read(float volume, size_t bytesToRead, IWriter &writer) override { in read()
293 aops::multiplyByVolume(volume, in read()
Daudio_ops.h27 void multiplyByVolume(float volume, int16_t *a, size_t n);
Ddevice_port_source.h35 virtual size_t read(float volume, size_t bytesToRead, IWriter &) = 0;
Ddevice_port_sink.h35 virtual size_t write(float volume, size_t bytesToWrite, IReader &) = 0;
/device/google/cuttlefish/host/frontend/webrtc/libcommon/
Daudio_device.h90 int32_t SetSpeakerVolume(uint32_t volume) override;
91 int32_t SpeakerVolume(uint32_t* volume) const override;
97 int32_t SetMicrophoneVolume(uint32_t volume) override;
98 int32_t MicrophoneVolume(uint32_t* volume) const override;
Daudio_device.cpp156 int32_t CfAudioDeviceModule::SetSpeakerVolume(uint32_t volume) { return -1; } in SetSpeakerVolume() argument
157 int32_t CfAudioDeviceModule::SpeakerVolume(uint32_t* volume) const { in SpeakerVolume()
172 int32_t CfAudioDeviceModule::SetMicrophoneVolume(uint32_t volume) { return -1; } in SetMicrophoneVolume() argument
173 int32_t CfAudioDeviceModule::MicrophoneVolume(uint32_t* volume) const { in MicrophoneVolume()
/device/linaro/poplar/audio/
Daudio_hw.c521 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument
523 ALOGV("adev_set_voice_volume: %f", volume); in adev_set_voice_volume()
527 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument
529 ALOGV("adev_set_master_volume: %f", volume); in adev_set_master_volume()
533 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() argument
535 ALOGV("adev_get_master_volume: %f", *volume); in adev_get_master_volume()
/device/google/cuttlefish/host/frontend/webrtc/libdevice/
Daudio_track_source_impl.cpp24 void AudioTrackSourceImpl::SetVolume(double volume) { in SetVolume() argument
27 observer->OnSetVolume(volume); in SetVolume()
/device/linaro/hikey/audio/
Daudio_hw.c704 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument
706 ALOGV("adev_set_voice_volume: %f", volume); in adev_set_voice_volume()
710 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument
712 ALOGV("adev_set_master_volume: %f", volume); in adev_set_master_volume()
716 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() argument
718 ALOGV("adev_get_master_volume: %f", *volume); in adev_get_master_volume()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c953 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument
955 ALOGV("adev_set_voice_volume: %f", volume); in adev_set_voice_volume()
959 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument
961 ALOGV("adev_set_master_volume: %f", volume); in adev_set_master_volume()
965 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() argument
967 ALOGV("adev_get_master_volume: %f", *volume); in adev_get_master_volume()
/device/linaro/dragonboard/audio/
Daudio_hw.c939 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) in adev_set_voice_volume() argument
941 ALOGV("adev_set_voice_volume: %f", volume); in adev_set_voice_volume()
945 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) in adev_set_master_volume() argument
947 ALOGV("adev_set_master_volume: %f", volume); in adev_set_master_volume()
951 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) in adev_get_master_volume() argument
953 ALOGV("adev_get_master_volume: %f", *volume); in adev_get_master_volume()
/device/sample/skins/WVGAMedDpi/
Dlayout84 volume-up {
90 volume-down {
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_audio.h273 uint32_t volume; member
281 uint32_t volume; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dmsm_audio.h273 uint32_t volume; member
281 uint32_t volume; member
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dmsm_audio.h206 uint32_t volume; member
212 uint32_t volume; member
/device/google/sunfish-sepolicy/vendor/qcom/common/
Dproperty_contexts5 vendor.audio.volume.listener.dump u:object_r:vendor_audio_prop:s0
6 vendor.audio.volume.headset.gain.depcal u:object_r:vendor_audio_prop:s0
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dmsm_audio.h206 uint32_t volume; member
212 uint32_t volume; member
/device/google/coral-sepolicy/vendor/qcom/common/
Dproperty_contexts5 vendor.audio.volume.listener.dump u:object_r:vendor_audio_prop:s0
6 vendor.audio.volume.headset.gain.depcal u:object_r:vendor_audio_prop:s0
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dmsm_audio.h264 uint32_t volume; member
272 uint32_t volume; member
/device/google/redbull-sepolicy/vendor/qcom/common/
Dproperty_contexts5 vendor.audio.volume.listener.dump u:object_r:vendor_audio_prop:s0
6 vendor.audio.volume.headset.gain.depcal u:object_r:vendor_audio_prop:s0
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_audio.h206 uint32_t volume; member
212 uint32_t volume; member

12