diff options
author | Rodeo <[email protected]> | 2012-11-21 18:29:34 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-11-21 18:29:34 +0000 |
commit | 282ddc84776683667e417a62186be57b97be3eab (patch) | |
tree | fa4f2bd306b5eb06aa28af2bbe507a3f9b8b091b /libhb/audio_resample.h | |
parent | 8612b1b6ab0a60a9b9cca384ca62f8a12d3cbb5b (diff) |
Improve support for planar audio.
- encavcodecaudio: use libavresample directly (instead of via the hb_audio_resample wrapper), and add support for planar output
- hb_audio_resample: add support for planar input
- hb_audio_remap: add support for planar input
- deca52: output planar float samples (no re-interleaving)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5073 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/audio_resample.h')
-rw-r--r-- | libhb/audio_resample.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libhb/audio_resample.h b/libhb/audio_resample.h index baee471a6..62a536d61 100644 --- a/libhb/audio_resample.h +++ b/libhb/audio_resample.h @@ -27,7 +27,6 @@ typedef struct { - int do_remix; int dual_mono_downmix; int dual_mono_right_only; @@ -67,12 +66,9 @@ typedef struct * * Also sets the default audio input characteristics, so that they are the same * as the output characteristics (no conversion needed). - * - * If do_remix is 0, it will be assumed that any remixing was *already* done. */ hb_audio_resample_t* hb_audio_resample_init(enum AVSampleFormat sample_fmt, - int hb_amixdown, int do_remix, - int normalize_mix_level); + int hb_amixdown, int normalize_mix); /* The following functions set the audio input characteristics. * @@ -110,6 +106,6 @@ void hb_audio_resample_free(hb_audio_resample_t *resample); * resampling is only done when necessary. */ hb_buffer_t* hb_audio_resample(hb_audio_resample_t *resample, - void *samples, int nsamples); + uint8_t **samples, int nsamples); #endif /* AUDIO_RESAMPLE_H */ |