Hi, To enable stereo in celtenc do I need to change anything other than #define CHANNELS 1 to #define CHANNELS 2 The reason is after I do this the audio sounds distorted. Please let me know if I need to do anything else or whether I need to investigate what's happening at my end further. Paul.
Hi Paul, I think the size of both audio data buffers buffer_in_to_encoder and buffer_out_from_decoder should change according to CHANNELS * FRAME_SIZE. Other than that I don't know of any additional change. Best, Pablo Paul Sykes wrote:> Hi, > > To enable stereo in celtenc do I need to change anything other than > > #define CHANNELS 1 > to > #define CHANNELS 2 > > The reason is after I do this the audio sounds distorted. Please let me > know if I need to do anything else or whether I need to investigate > what's happening at my end further. > > Paul. > > > _______________________________________________ > celt-dev mailing list > celt-dev at xiph.org > lists.xiph.org/mailman/listinfo/celt-dev >-- Pablo F. Hoffmann PostDoc Acoustics Dept. of Electronic Systems Aalborg University Fredrik Bajers Vej 7 B5 DK-9220 Aalborg ?, Denmark Phone: +45 9940 8710 Phone: +45 9940 8728 (direct) Fax: +45 9815 2140 e-mail: pfh at es.aau.dk (direct) e-mail: acoustics at es.aau.dk acoustics.aau.dk
Hi Paul, Paul Sykes a ?crit :> Hi, > > To enable stereo in celtenc do I need to change anything other than > > #define CHANNELS 1 > to > #define CHANNELS 2celtenc doesn't need any change to work in stereo, but celtclient indeeds needs the change you mention above. Jean-Marc