Searched refs:pa_volume (Results 1 – 1 of 1) sorted by relevance
98 static int PulseVolumeToCricketVolume(pa_volume_t pa_volume) { in PulseVolumeToCricketVolume() argument101 pa_volume / PA_VOLUME_NORM; in PulseVolumeToCricketVolume()105 pa_volume_t pa_volume = PA_VOLUME_MUTED; // Minimum possible value. in MaxChannelVolume() local107 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() local284 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 …]