Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc906 Float32 volFloat32 = 0; in MicrophoneVolume() local
915 size = sizeof(volFloat32); in MicrophoneVolume()
917 _inputDeviceID, &propertyAddress, 0, NULL, &size, &volFloat32)); in MicrophoneVolume()
920 volume = static_cast<uint32_t>(volFloat32 * 255 + 0.5); in MicrophoneVolume()
923 volFloat32 = 0; in MicrophoneVolume()
933 volFloat32 += channelVol; in MicrophoneVolume()
946 volume = static_cast<uint32_t>(255 * volFloat32 / channels + 0.5); in MicrophoneVolume()