mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +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
|
|
@ -770,6 +770,7 @@ add_library( ${BINARY_NAME}
|
|||
"../../../../../modules/juce_audio_processors/format_types/juce_AU_Shared.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat_test.cpp"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.cpp"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LegacyAudioParameter.cpp"
|
||||
|
|
@ -3198,6 +3199,7 @@ set_source_files_properties(
|
|||
"../../../../../modules/juce_audio_processors/format_types/juce_AU_Shared.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat.mm"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_AudioUnitPluginFormat_test.cpp"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.cpp"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LADSPAPluginFormat.h"
|
||||
"../../../../../modules/juce_audio_processors/format_types/juce_LegacyAudioParameter.cpp"
|
||||
|
|
|
|||
|
|
@ -956,6 +956,9 @@
|
|||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_ARAHosting.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat_test.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_LADSPAPluginFormat.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
|
|
|
|||
|
|
@ -1549,6 +1549,9 @@
|
|||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat.mm">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat_test.cpp">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_LADSPAPluginFormat.cpp">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
|
|
|
|||
|
|
@ -956,6 +956,9 @@
|
|||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_ARAHosting.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat_test.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_LADSPAPluginFormat.cpp">
|
||||
<ExcludedFromBuild>true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
|
|
|
|||
|
|
@ -1549,6 +1549,9 @@
|
|||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat.mm">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_AudioUnitPluginFormat_test.cpp">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\..\..\modules\juce_audio_processors\format_types\juce_LADSPAPluginFormat.cpp">
|
||||
<Filter>JUCE Modules\juce_audio_processors\format_types</Filter>
|
||||
</ClCompile>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue