Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bremmers authored May 5, 2024
1 parent a5bbca6 commit 6162dca
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions include/clap/ext/draft/midici-profiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ typedef struct clap_plugin_midici_profiles {

// Get a clap_profile_t by index.
// [main-thread]
bool(CLAP_ABI *get)(const clap_plugin_t *plugin,
uint16_t port_index,
uint32_t profile_index,
clap_profile_t *profile);
bool(CLAP_ABI *get)(const clap_plugin_t *plugin,
uint16_t port_index,
uint32_t profile_index,
clap_profile_t *profile);

// Get profile details from profile at channel/num_channels for the specified inquiry_target.
// Returns true if data is written to stream correctly.
Expand All @@ -97,7 +97,7 @@ typedef struct clap_plugin_midici_profiles {
// [main-thread]
bool(CLAP_ABI *get_details)(const clap_plugin_t *plugin,
uint16_t port_index,
const clap_profile_id_t profile,
const clap_profile_id_t profile_id,
uint8_t channel,
uint16_t num_channels,
uint8_t inquiry_target,
Expand All @@ -111,7 +111,7 @@ typedef struct clap_plugin_midici_profiles {
// [main-thread]
bool(CLAP_ABI *set_data)(const clap_plugin_t *plugin,
uint16_t port_index,
const clap_profile_id_t profile,
const clap_profile_id_t profile_id,
uint8_t channel,
uint16_t num_channels,
const uint8_t *buffer,
Expand All @@ -126,7 +126,7 @@ typedef struct clap_plugin_midici_profiles {
// [main-thread]
bool(CLAP_ABI *enable)(const clap_plugin_t *plugin,
uint16_t port_index,
const clap_profile_id_t profile,
const clap_profile_id_t profile_id,
uint8_t channel,
uint16_t num_channels);

Expand All @@ -137,7 +137,7 @@ typedef struct clap_plugin_midici_profiles {
// [main-thread]
bool(CLAP_ABI *disable)(const clap_plugin_t *plugin,
uint16_t port_index,
const clap_profile_id_t profile,
const clap_profile_id_t profile_id,
uint8_t channel,
uint16_t num_channels);
} clap_plugin_midici_profiles_t;
Expand All @@ -152,7 +152,7 @@ typedef struct clap_host_midici_profiles {
// [main-thread]
void(CLAP_ABI *datachanged)(const clap_host_t *host,
uint16_t port_index,
const clap_profile_id_t profile,
const clap_profile_id_t profile_id,
uint8_t channel,
uint16_t num_channels);
} clap_host_midici_profiles_t;
Expand Down

0 comments on commit 6162dca

Please sign in to comment.