PRECISION_DOUBLE,
};
+enum ReplayGainType {
+ REPLAYGAIN_DROP,
+ REPLAYGAIN_IGNORE,
+ REPLAYGAIN_TRACK,
+ REPLAYGAIN_ALBUM,
+};
+
typedef struct VolumeContext {
const AVClass *class;
AVFloatDSPContext fdsp;
enum PrecisionType precision;
+ enum ReplayGainType replaygain;
+ double replaygain_preamp;
+ int replaygain_noclip;
double volume;
int volume_i;
int channels;
int samples_align;
} VolumeContext;
+void ff_volume_init_x86(VolumeContext *vol);
+
#endif /* AVFILTER_AF_VOLUME_H */