diff options
Diffstat (limited to 'ServerInfo.cc')
-rw-r--r-- | ServerInfo.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ServerInfo.cc b/ServerInfo.cc index 7866683..fc7fe4e 100644 --- a/ServerInfo.cc +++ b/ServerInfo.cc @@ -392,3 +392,7 @@ void ServerInfoManager::removeModuleInfo(uint32_t index) { delete i; } } + +void ServerInfoManager::setSinkVolume(uint32_t index, uint32_t volume) { + pa_operation_unref(pa_context_set_sink_volume_by_index(&context, index, volume, NULL, NULL)); +} |