view libmpcodecs/ae_pcm.h @ 29929:49c6bb4f97aa

Fix mangling of 24-bit audio during channel reorder. Only 1/3 of the samples in the buffer passed to reorder_channel_nch() were being reordered. For 8-, 16-, and 32-bit audio, the buffers could be treated as int8_t, int16_t, and int32_t respectively. 24-bit audio was being processed as int8_t, requiring iteration over n_samples*3, not n_samples.
author tack
date Sat, 28 Nov 2009 18:23:26 +0000
parents 4129c8cfa742
children bbb6ebec87a0
line wrap: on
line source

#ifndef MPLAYER_AE_PCM_H
#define MPLAYER_AE_PCM_H

#include "ae.h"

int mpae_init_pcm(audio_encoder_t *encoder);

#endif /* MPLAYER_AE_PCM_H */