From: Jaroslav Kysela Date: Sat, 15 Apr 2000 10:48:49 +0000 (+0000) Subject: Fixed C++ compilation. X-Git-Tag: android-x86-9.0-r1~3344 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e1490018f9bef516a1230f59b439b5d86a97d9e3;p=android-x86%2Fexternal-alsa-lib.git Fixed C++ compilation. --- 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 */