mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Plugin hosting: Fixed a problem getting the list of AU parameters
This commit is contained in:
parent
d9403b6785
commit
1fe45f3d41
1 changed files with 3 additions and 3 deletions
|
|
@ -841,9 +841,9 @@ public:
|
|||
|
||||
if (audioUnit != nullptr)
|
||||
{
|
||||
UInt32 dummy = 0, paramListSize = 0;
|
||||
AudioUnitGetProperty (audioUnit, kAudioUnitProperty_ParameterList, kAudioUnitScope_Global,
|
||||
0, &dummy, ¶mListSize);
|
||||
UInt32 paramListSize = 0;
|
||||
AudioUnitGetPropertyInfo (audioUnit, kAudioUnitProperty_ParameterList, kAudioUnitScope_Global,
|
||||
0, ¶mListSize, nullptr);
|
||||
|
||||
if (paramListSize > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue