From c1ef6244581cf8378366c686cf210e3062ec40a5 Mon Sep 17 00:00:00 2001 From: falkTX Date: Fri, 13 Dec 2024 23:05:26 +0100 Subject: [PATCH] AU: Set a few more properties as writable, making Live happy Signed-off-by: falkTX --- distrho/src/DistrhoPluginAU.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/distrho/src/DistrhoPluginAU.cpp b/distrho/src/DistrhoPluginAU.cpp index d7ef546c..863a4744 100644 --- a/distrho/src/DistrhoPluginAU.cpp +++ b/distrho/src/DistrhoPluginAU.cpp @@ -724,7 +724,7 @@ public: DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope); DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement); outDataSize = sizeof(uint16_t); - outWritable = false; + outWritable = true; return noErr; case 'DPFe': @@ -755,7 +755,7 @@ public: DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope); DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement); outDataSize = sizeof(uint32_t); - outWritable = false; + outWritable = true; return noErr; #endif @@ -764,7 +764,7 @@ public: DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope); DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement); outDataSize = sizeof(CFArrayRef); - outWritable = false; + outWritable = true; return noErr; case 'DPFs': @@ -780,7 +780,7 @@ public: DISTRHO_SAFE_ASSERT_UINT_RETURN(inScope == kAudioUnitScope_Global, inScope, kAudioUnitErr_InvalidScope); DISTRHO_SAFE_ASSERT_UINT_RETURN(inElement == 0, inElement, kAudioUnitErr_InvalidElement); outDataSize = sizeof(void*); - outWritable = false; + outWritable = true; return noErr; #endif