diff options
Diffstat (limited to '')
-rw-r--r-- | src/pcm_volume.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pcm_volume.h b/src/pcm_volume.h index 4a4a4e45a..c161a72c7 100644 --- a/src/pcm_volume.h +++ b/src/pcm_volume.h @@ -65,6 +65,10 @@ pcm_volume_dither(void) return (r & 511) - ((r >> 9) & 511); } +#ifdef __cplusplus +extern "C" { +#endif + /** * Adjust the volume of the specified PCM buffer. * @@ -79,4 +83,8 @@ pcm_volume(void *buffer, size_t length, enum sample_format format, int volume); +#ifdef __cplusplus +} +#endif + #endif |