Skip to content

Commit c1ef624

Browse files
committed
AU: Set a few more properties as writable, making Live happy
Signed-off-by: falkTX <[email protected]>
1 parent 8c2a565 commit c1ef624

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

distrho/src/DistrhoPluginAU.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ class PluginAU
724724
DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope);
725725
DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement);
726726
outDataSize = sizeof(uint16_t);
727-
outWritable = false;
727+
outWritable = true;
728728
return noErr;
729729

730730
case 'DPFe':
@@ -755,7 +755,7 @@ class PluginAU
755755
DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope);
756756
DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement);
757757
outDataSize = sizeof(uint32_t);
758-
outWritable = false;
758+
outWritable = true;
759759
return noErr;
760760
#endif
761761

@@ -764,7 +764,7 @@ class PluginAU
764764
DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope);
765765
DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement);
766766
outDataSize = sizeof(CFArrayRef);
767-
outWritable = false;
767+
outWritable = true;
768768
return noErr;
769769

770770
case 'DPFs':
@@ -780,7 +780,7 @@ class PluginAU
780780
DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope);
781781
DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement);
782782
outDataSize = sizeof(void*);
783-
outWritable = false;
783+
outWritable = true;
784784
return noErr;
785785
#endif
786786

0 commit comments

Comments
 (0)