diff --git a/include/pcm.h b/include/pcm.h index 2fad4c33..0dc992f0 100644 --- a/include/pcm.h +++ b/include/pcm.h @@ -69,6 +69,10 @@ const char *snd_pcm_get_format_name(int format); * PCM Plug-In interface */ +#ifdef __cplusplus +extern "C" { +#endif + typedef struct snd_stru_pcm_plugin snd_pcm_plugin_t; #define snd_pcm_plugin_handle_t snd_pcm_t @@ -217,6 +221,10 @@ int snd_pcm_plugin_build_route(snd_pcm_plugin_handle_t *handle, float *ttable, snd_pcm_plugin_t **r_plugin); +#ifdef __cplusplus +} +#endif + /* * Loopback interface */