13
0

fix playlist channel-count when removing a connected port.

when removing a connected port, IO::remove_port() emits
(IOChange::ConnectionsChanged | IOChange::ConfigurationChanged)
This commit is contained in:
Robin Gareus 2016-03-05 01:37:59 +01:00
parent 3dc09d42ab
commit 3a3afe7cfc

View File

@ -168,7 +168,7 @@ AudioDiskstream::non_realtime_input_change ()
need_write_sources = true;
}
if (input_change_pending.type == IOChange::ConfigurationChanged) {
if (input_change_pending.type & IOChange::ConfigurationChanged) {
RCUWriter<ChannelList> writer (channels);
boost::shared_ptr<ChannelList> c = writer.get_copy();