Check if PA_SINK_SET_FORMATS is defined before using it
This commit is contained in:
parent
5c19f6b5d2
commit
c9b307de5a
|
@ -348,7 +348,9 @@ bool MainWindow::updateSink(const pa_sink_info &info) {
|
|||
|
||||
w->activePort = info.active_port ? info.active_port->name : "";
|
||||
|
||||
#ifdef PA_SINK_SET_FORMATS
|
||||
w->setDigital(info.flags & PA_SINK_SET_FORMATS);
|
||||
#endif
|
||||
|
||||
w->updating = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue