Home
last modified time | relevance | path

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

/external/webrtc/webrtc/sound/
Dpulseaudiosoundsystem.cc98 static int PulseVolumeToCricketVolume(pa_volume_t pa_volume) { in PulseVolumeToCricketVolume() argument
101 pa_volume / PA_VOLUME_NORM; in PulseVolumeToCricketVolume()
105 pa_volume_t pa_volume = PA_VOLUME_MUTED; // Minimum possible value. in MaxChannelVolume() local
107 if (pa_volume < channel_volumes->values[i]) { in MaxChannelVolume()
108 pa_volume = channel_volumes->values[i]; in MaxChannelVolume()
111 return pa_volume; in MaxChannelVolume()
283 pa_volume_t pa_volume; in GetVolume() local
284 pa_volume = MaxChannelVolume(&channel_volumes); in GetVolume()
286 *volume = PulseVolumeToCricketVolume(pa_volume); in GetVolume()
296 pa_volume_t pa_volume = CricketVolumeToPulseVolume(volume); in SetVolume() local
[all …]