Skip to content

Commit

Permalink
Clarify ambisonic enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinitou committed Oct 17, 2023
1 parent 18922fa commit 4a2aefc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/clap/ext/draft/ambisonic.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ static CLAP_CONSTEXPR const char CLAP_PORT_AMBISONIC[] = "ambisonic";
extern "C" {
#endif

enum {
enum clap_ambisonic_ordering {
// FuMa channel ordering
CLAP_AMBISONIC_FUMA = 0,
CLAP_AMBISONIC_ORDERING_FUMA = 0,

// ACN channel ordering
CLAP_AMBISONIC_ACN = 1,
CLAP_AMBISONIC_ORDERING_ACN = 1,
};

enum {
enum clap_ambisonic_normalization {
CLAP_AMBISONIC_NORMALIZATION_MAXN = 0,
CLAP_AMBISONIC_NORMALIZATION_SN3D = 1,
CLAP_AMBISONIC_NORMALIZATION_N3D = 2,
Expand All @@ -29,8 +29,8 @@ enum {
};

typedef struct clap_ambisonic_config {
uint32_t ordering;
uint32_t normalization;
uint32_t ordering; // see clap_ambisonic_ordering
uint32_t normalization; // see clap_ambisonic_normalization
} clap_ambisonic_config_t;

typedef struct clap_plugin_ambisonic {
Expand Down

0 comments on commit 4a2aefc

Please sign in to comment.