Lines Matching refs:volume
31 int pa_stream_get_volume_channel_map(const pa_cvolume *volume, const pa_channel_map *original_map, const pa_format_info *format,
36 pa_assert(volume);
41 if (volume->channels == original_map->channels) {
46 if (volume->channels == 1) {
51 pa_log_info("Invalid stream parameters: the volume is incompatible with the channel map.");
57 if (volume->channels == 1) {
62 pa_log_info("Invalid stream parameters: multi-channel volume is set, but channel map is not.");
71 if (volume->channels == volume_map_local.channels) {
76 if (volume->channels == 1) {
81 pa_log_info("Invalid stream parameters: the volume is incompatible with the channel map.");