mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
allow SurroundReturn to publish the number of channels in use
This commit is contained in:
parent
42dc033636
commit
24b18c889b
2 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue