13
0

Merge branch 'ardour'

This commit is contained in:
Robin Gareus 2024-05-05 18:49:48 +02:00
commit ebcf3acaf0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 13 additions and 1 deletions

View File

@ -1710,6 +1710,17 @@ PluginPinWidget::add_remove_port_clicked (bool add, ARDOUR::DataType dt)
ChanCount ins, outs, src; ChanCount ins, outs, src;
_pi->configured_io (ins, outs); _pi->configured_io (ins, outs);
src = _pi->natural_output_streams (); src = _pi->natural_output_streams ();
if (src.get (dt) == 0) {
if (!add || ins.get (dt) < out.get (dt)) {
return;
}
int pn = out.get (dt);
assert (pn > 0);
ChanMapping map (_pi->thru_map ());
map.set (dt, pn - 1, pn - 1);
_pi->set_thru_map (map);
return;
}
for (uint32_t i = n_before; i < outs.get (dt); ++i) { for (uint32_t i = n_before; i < outs.get (dt); ++i) {
uint32_t pc = i / src.get (dt); uint32_t pc = i / src.get (dt);
uint32_t pn = i % src.get (dt); uint32_t pn = i % src.get (dt);

View File

@ -468,6 +468,7 @@ else
STDCPP= STDCPP=
fi fi
echo "Stripping symbols and architectures."
while [ true ] ; do while [ true ] ; do
missing=false missing=false
for file in $APPROOT/MacOS/* $Frameworks/* $Panners/*.dylib $Backends/*.dylib $Surfaces/*.dylib $GTK_ENGINE_DIR/*.dylib ; do for file in $APPROOT/MacOS/* $Frameworks/* $Panners/*.dylib $Backends/*.dylib $Surfaces/*.dylib $GTK_ENGINE_DIR/*.dylib ; do
@ -951,7 +952,7 @@ if test -n "${APPLE_DEVELOPER_ID_FOR_APPLICATION}"; then
fi fi
fi fi
if test -n "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" -a -n "$WITH_HARVID"; then if test -n "${APPLE_DEVELOPER_ID_FOR_APPLICATION}" -a -n "$WITH_XJADEO"; then
############# #############
## Sign Jadeo ## Sign Jadeo