diff options
author | Chris Robinson <[email protected]> | 2021-06-12 12:54:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-06-12 12:54:31 -0700 |
commit | 7e3247832745e4fa30803e69a2d6069960110344 (patch) | |
tree | 3ec609fd93f7a04144cc3cee0cad91077ba83832 /alc/backends | |
parent | 241107faebf074462472ad9d49921399d9d5235a (diff) |
Set the JACK output ports as terminal
Since there are no input ports associated with the output.
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/jack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/jack.cpp b/alc/backends/jack.cpp index 349a6356..079de441 100644 --- a/alc/backends/jack.cpp +++ b/alc/backends/jack.cpp @@ -531,7 +531,7 @@ bool JackPlayback::reset() { std::string name{"channel_" + std::to_string(&port - &mPort[0] + 1)}; port = jack_port_register(mClient, name.c_str(), JACK_DEFAULT_AUDIO_TYPE, - JackPortIsOutput, 0); + JackPortIsOutput | JackPortIsTerminal, 0); return port != nullptr; }); if(bad_port != ports_end) |