allow SurroundReturn to publish the number of channels in use

This commit is contained in:
Ben Loftis 2024-03-06 18:34:22 -06:00
parent 42dc033636
commit 24b18c889b
2 changed files with 3 additions and 0 deletions

View File

@ -414,6 +414,8 @@ public:
void maybe_write_autosave ();
PBD::Signal0<void> SurroundObjectCountChanged;
/* Emitted when all i/o connections are complete */
PBD::Signal0<void> IOConnectionsComplete;

View File

@ -538,6 +538,7 @@ SurroundReturn::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_
URIMap::URIDs const& urids = URIMap::instance ().urids;
forge_int_msg (urids.surr_Settings, urids.surr_ChannelCount, _current_n_channels);
#endif
_session.SurroundObjectCountChanged(); //EMIT SIGNAL
}
if (_have_au_renderer && _binaural_render_control->get_value () != 0 && _output_format_control->get_value () != 0) {