diff options
Diffstat (limited to 'src/SinkWindow.cc')
-rw-r--r-- | src/SinkWindow.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SinkWindow.cc b/src/SinkWindow.cc index 68d3ec4..f632078 100644 --- a/src/SinkWindow.cc +++ b/src/SinkWindow.cc @@ -59,7 +59,7 @@ void SinkWindow::updateInfo(const SinkInfo &i) { descriptionLabel->set_text(i.description); 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); snprintf(t, sizeof(t), "#%u", i.owner_module); ownerModuleLabel->set_text(t); @@ -105,7 +105,7 @@ void SinkWindow::onVolumeResetButton() { } void SinkWindow::onVolumeMuteButton() { - serverInfoManager->setSinkVolume(index, PA_VOLUME_MUTE); + serverInfoManager->setSinkVolume(index, PA_VOLUME_MUTED); } |