Home
last modified time | relevance | path

Searched refs:volFloat32 (Results 1 – 1 of 1) sorted by relevance

/external/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc809 Float32 volFloat32 = 0; in MicrophoneVolume() local
818 size = sizeof(volFloat32); in MicrophoneVolume()
820 _inputDeviceID, &propertyAddress, 0, NULL, &size, &volFloat32)); in MicrophoneVolume()
823 volume = static_cast<uint32_t>(volFloat32 * 255 + 0.5); in MicrophoneVolume()
826 volFloat32 = 0; in MicrophoneVolume()
836 volFloat32 += channelVol; in MicrophoneVolume()
848 volume = static_cast<uint32_t>(255 * volFloat32 / channels + 0.5); in MicrophoneVolume()