mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Add [[maybe_unused]] to our constexpr constants
This commit is contained in:
+5
-5
@@ -28,8 +28,8 @@
|
|||||||
* parameter. Finally the plugin returns a string containing the input or output
|
* parameter. Finally the plugin returns a string containing the input or output
|
||||||
* name.
|
* name.
|
||||||
*/
|
*/
|
||||||
constexpr int effGetInputProperties = 33;
|
[[maybe_unused]] constexpr int effGetInputProperties = 33;
|
||||||
constexpr int effGetOutputProperties = 34;
|
[[maybe_unused]] constexpr int effGetOutputProperties = 34;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Found on
|
* Found on
|
||||||
@@ -37,15 +37,15 @@ constexpr int effGetOutputProperties = 34;
|
|||||||
* Used to assign names to MIDI keys, for some reason uses the `VstMidiKeyName`
|
* Used to assign names to MIDI keys, for some reason uses the `VstMidiKeyName`
|
||||||
* struct defined below rather than a simple string.
|
* struct defined below rather than a simple string.
|
||||||
*/
|
*/
|
||||||
constexpr int effGetMidiKeyName = 66;
|
[[maybe_unused]] constexpr int effGetMidiKeyName = 66;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Events used to tell a plugin to use a specific speaker arrangement (is this
|
* Events used to tell a plugin to use a specific speaker arrangement (is this
|
||||||
* used outside of things like Dolby Atmos?), or to query its preferred speaker
|
* used outside of things like Dolby Atmos?), or to query its preferred speaker
|
||||||
* arrangement. Found on the same list as above.
|
* arrangement. Found on the same list as above.
|
||||||
*/
|
*/
|
||||||
constexpr int effSetSpeakerArrangement = 42;
|
[[maybe_unused]] constexpr int effSetSpeakerArrangement = 42;
|
||||||
constexpr int effGetSpeakerArrangement = 69;
|
[[maybe_unused]] constexpr int effGetSpeakerArrangement = 69;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The struct that's being passed through the data parameter during the
|
* The struct that's being passed through the data parameter during the
|
||||||
|
|||||||
Reference in New Issue
Block a user