From 1b8649c2ce95da0a12d90f6acf7171b4fc6580db Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Mon, 4 Dec 2017 06:36:42 +0000 Subject: opus: add an option to toggle intensity stereo phase inversion Due to a somewhat high volume of complains, phase inversion has been made optional with RFC8251. This allows for better bass frequency response when partially downmixing to play on systems with an LFE speaker. Signed-off-by: Rostislav Pehlivanov --- libavcodec/opus.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/opus.h') diff --git a/libavcodec/opus.h b/libavcodec/opus.h index c3cbaec35d..90b87ba5c4 100644 --- a/libavcodec/opus.h +++ b/libavcodec/opus.h @@ -150,7 +150,9 @@ typedef struct ChannelMap { } ChannelMap; typedef struct OpusContext { + AVClass *av_class; OpusStreamContext *streams; + int apply_phase_inv; /* current output buffers for each streams */ float **out; -- cgit v1.2.3