diff options
Diffstat (limited to 'src/mixer_control.h')
-rw-r--r-- | src/mixer_control.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mixer_control.h b/src/mixer_control.h index 307298e47..46219e5dd 100644 --- a/src/mixer_control.h +++ b/src/mixer_control.h @@ -33,6 +33,10 @@ struct mixer; struct mixer_plugin; struct config_param; +#ifdef __cplusplus +extern "C" { +#endif + struct mixer * mixer_new(const struct mixer_plugin *plugin, void *ao, const struct config_param *param, @@ -60,4 +64,8 @@ mixer_get_volume(struct mixer *mixer, GError **error_r); bool mixer_set_volume(struct mixer *mixer, unsigned volume, GError **error_r); +#ifdef __cplusplus +} +#endif + #endif |