diff options
Diffstat (limited to 'src/pcm_mix.h')
-rw-r--r-- | src/pcm_mix.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pcm_mix.h b/src/pcm_mix.h index 0e58d01e..6be4e4e9 100644 --- a/src/pcm_mix.h +++ b/src/pcm_mix.h @@ -25,6 +25,8 @@ #include <stdbool.h> #include <stddef.h> +#include <libavutil/samplefmt.h> + /* * Linearly mixes two PCM buffers. Both must have the same length and * the same audio format. The formula is: @@ -41,9 +43,7 @@ * * @return true on success, false if the format is not supported */ -G_GNUC_WARN_UNUSED_RESULT -bool -pcm_mix(void *buffer1, const void *buffer2, size_t size, - enum sample_format format, float portion1); +bool pcm_mix(void *buffer1, const void *buffer2, size_t size, + enum AVSampleFormat format, float portion1); #endif |