[FFmpeg-devel] libavcodec: Add FLAC API test

Ludmila Glinskih lglinskih at gmail.com
Mon Apr 20 02:03:07 CEST 2015


Thank you for your comments!

> > > +        frame_data[channels * j] = 10000 * ((j / 10 * i) % 2);
> > > +        for (k = 1; k < channels; k++)
> >
> > > +            frame_data[channels * j + k] = frame_data[channels * j] * 2;
> >
> > I do not understand the purpose of that "*2".

> i would guess, its intended to generate a signal thats different
> for each of the 2 channels, Ludmila can probably confirm/or correct
> if its not so

> i dont see a problem here, its not the most variied test signal but
> for now that should do. It can be chnaged later

Yes, I want to generate different signal for different channels, my mistake to 
write "*2" instead of "*k".
 
Kind regards,
Ludmila Glinskih



More information about the ffmpeg-devel mailing list