aboutsummaryrefslogtreecommitdiff
path: root/src/audio_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_format.h')
-rw-r--r--src/audio_format.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audio_format.h b/src/audio_format.h
index bf77add3..c6527e6a 100644
--- a/src/audio_format.h
+++ b/src/audio_format.h
@@ -25,6 +25,8 @@
#include <stdbool.h>
#include <assert.h>
+#include <libavutil/samplefmt.h>
+
enum sample_format {
SAMPLE_FORMAT_UNDEFINED = 0,
@@ -304,4 +306,6 @@ const char *
audio_format_to_string(const struct audio_format *af,
struct audio_format_string *s);
+enum AVSampleFormat sample_fmt_native_to_libav(enum sample_format);
+
#endif