allow SurroundReturn to publish the number of channels in use
This commit is contained in:
parent
42dc033636
commit
24b18c889b
@ -414,6 +414,8 @@ public:
|
|||||||
|
|
||||||
void maybe_write_autosave ();
|
void maybe_write_autosave ();
|
||||||
|
|
||||||
|
PBD::Signal0<void> SurroundObjectCountChanged;
|
||||||
|
|
||||||
/* Emitted when all i/o connections are complete */
|
/* Emitted when all i/o connections are complete */
|
||||||
|
|
||||||
PBD::Signal0<void> IOConnectionsComplete;
|
PBD::Signal0<void> IOConnectionsComplete;
|
||||||
|
@ -538,6 +538,7 @@ SurroundReturn::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_
|
|||||||
URIMap::URIDs const& urids = URIMap::instance ().urids;
|
URIMap::URIDs const& urids = URIMap::instance ().urids;
|
||||||
forge_int_msg (urids.surr_Settings, urids.surr_ChannelCount, _current_n_channels);
|
forge_int_msg (urids.surr_Settings, urids.surr_ChannelCount, _current_n_channels);
|
||||||
#endif
|
#endif
|
||||||
|
_session.SurroundObjectCountChanged(); //EMIT SIGNAL
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_have_au_renderer && _binaural_render_control->get_value () != 0 && _output_format_control->get_value () != 0) {
|
if (_have_au_renderer && _binaural_render_control->get_value () != 0 && _output_format_control->get_value () != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user