From e1490018f9bef516a1230f59b439b5d86a97d9e3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 15 Apr 2000 10:48:49 +0000 Subject: [PATCH] Fixed C++ compilation. --- include/pcm.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 */ -- 2.47.1