summaryrefslogtreecommitdiffstats
path: root/src/SinkInputWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SinkInputWindow.cc')
-rw-r--r--src/SinkInputWindow.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SinkInputWindow.cc b/src/SinkInputWindow.cc
index 7baa13c..eec7efa 100644
--- a/src/SinkInputWindow.cc
+++ b/src/SinkInputWindow.cc
@@ -61,7 +61,7 @@ void SinkInputWindow::updateInfo(const SinkInputInfo &i) {
nameLabel->set_text(i.name);
snprintf(t, sizeof(t), "#%u", i.index);
indexLabel->set_text(t);
- pa_sample_snprint(ss, sizeof(ss), &i.sample_spec);
+ pa_sample_spec_snprint(ss, sizeof(ss), &i.sample_spec);
sampleTypeLabel->set_text(ss);
if (i.owner_module == PA_INVALID_INDEX)
@@ -125,7 +125,7 @@ void SinkInputWindow::onVolumeResetButton() {
}
void SinkInputWindow::onVolumeMuteButton() {
- serverInfoManager->setSinkInputVolume(index, PA_VOLUME_MUTE);
+ serverInfoManager->setSinkInputVolume(index, PA_VOLUME_MUTED);
}