OSDN Git Service

Fixed C++ compilation.
authorJaroslav Kysela <perex@perex.cz>
Sat, 15 Apr 2000 10:48:49 +0000 (10:48 +0000)
committerJaroslav Kysela <perex@perex.cz>
Sat, 15 Apr 2000 10:48:49 +0000 (10:48 +0000)
include/pcm.h

index 2fad4c3..0dc992f 100644 (file)
@@ -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
  */