diff options
Diffstat (limited to 'src/pcm_buffer.h')
-rw-r--r-- | src/pcm_buffer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pcm_buffer.h b/src/pcm_buffer.h index 4502976f6..5d6382d5e 100644 --- a/src/pcm_buffer.h +++ b/src/pcm_buffer.h @@ -62,6 +62,10 @@ pcm_buffer_deinit(struct pcm_buffer *buffer) buffer->buffer = NULL; } +#ifdef __cplusplus +extern "C" { +#endif + /** * Get the buffer, and guarantee a minimum size. This buffer becomes * invalid with the next pcm_buffer_get() call. @@ -74,4 +78,8 @@ G_GNUC_MALLOC void * pcm_buffer_get(struct pcm_buffer *buffer, size_t size); +#ifdef __cplusplus +} +#endif + #endif |