Previous implementation did not halt the program if querying failed.
cmake_minimum_required(VERSION 3.0)
-project(MeterForPulseAudio VERSION 1.6)
+project(MeterForPulseAudio VERSION 1.7)
set(MeterForPulseAudio_SOURCES
GameDevTools/src/GDT/GameLoop.cpp
+# Version 1.7
+
+Fix listing sinks/sources to halt even when querying failed (previously, only
+halted on successful query of all sinks/sources).
+
# Version 1.6
Improve options "--list-sinks" and "--list-sources" (now halts after querying
[this] (float /* dt */) {
pa_mainloop_iterate(mainLoop, 0, nullptr);
if(operation
- && pa_operation_get_state(operation) == PA_OPERATION_DONE)
+ && pa_operation_get_state(operation) != PA_OPERATION_RUNNING)
{
pa_operation_unref(operation);
operation = nullptr;