diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-22 21:29:49 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-02-20 08:56:00 +0100 |
commit | 4be49546e16eb5d7aa783285e1f0c2c5ed179d1a (patch) | |
tree | b7bd98978651fe8fe017cd207f42b6484d585ed6 /src/audio_format.h | |
parent | 3756812cbc334d41421a33e54f7fa3ea6e46808c (diff) |
decoder api: use AVFrame for passing data to the decoder.
Switch to libavresample for format conversion.
Diffstat (limited to 'src/audio_format.h')
-rw-r--r-- | src/audio_format.h | 4 |
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 |