mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AU Client: Improve AUChannelInfo reporting and add tests
The previous implementation could emit 'wildcard' channel layouts in too many scenarios. A wildcard channel count is -1 or -2, and indicates that any number of channels is supported on the bus. If the input and output layouts must match, then a layout of [-1, -1] should be returned. If any layout is valid in both directions, then a layout of [-1, -2] should be returned. In the case where we have a bus A and opposite bus B, we will now only emit a wildcard count for bus A if every bus standard bus layout up to a channel count of 16 can be applied successfully without changing the bus count of B.
This commit is contained in:
parent
7e3aae3cb9
commit
35d3fab960
34 changed files with 547 additions and 115 deletions
|
|
@ -410,7 +410,7 @@
|
|||
enabled = 0;
|
||||
};
|
||||
com.apple.InterAppAudio = {
|
||||
enabled = 0;
|
||||
enabled = 1;
|
||||
};
|
||||
com.apple.Push = {
|
||||
enabled = 0;
|
||||
|
|
@ -588,6 +588,7 @@
|
|||
"JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1",
|
||||
"JUCE_USE_MP3AUDIOFORMAT=1",
|
||||
"JUCE_PLUGINHOST_VST3=1",
|
||||
"JUCE_PLUGINHOST_AU=1",
|
||||
"JUCE_PLUGINHOST_LV2=1",
|
||||
"JUCE_ALLOW_STATIC_NULL_VARIABLES=0",
|
||||
"JUCE_STRICT_REFCOUNTEDPOINTER=1",
|
||||
|
|
@ -682,6 +683,7 @@
|
|||
"JUCE_GLOBAL_MODULE_SETTINGS_INCLUDED=1",
|
||||
"JUCE_USE_MP3AUDIOFORMAT=1",
|
||||
"JUCE_PLUGINHOST_VST3=1",
|
||||
"JUCE_PLUGINHOST_AU=1",
|
||||
"JUCE_PLUGINHOST_LV2=1",
|
||||
"JUCE_ALLOW_STATIC_NULL_VARIABLES=0",
|
||||
"JUCE_STRICT_REFCOUNTEDPOINTER=1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue