id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1792,libswresample mono to stereo conversion is lowering the amplitude,albertzeyer,michael,"I am resampling sound data with libswresample. I have one sample case where I resample

44100Hz, sint16, mono

to

44100Hz, sint16, stereo.

I.e. this is just a mono to stereo conversion.

I was expecting that

{{{leftSample = rightSample = monoSample;}}}

However, I was more getting something mostly like:

{{{leftSample = rightSample = monoSample / 1.41;}}}
(maybe 1.41 ~= sqrt(2) ?)

Is this a bug? Or expected? I don't have profesional audio background but I heard that a normal mono to stereo conversion is as what I would expect. I also have seen many different implementations where it is done like this, e.g. [https://github.com/avuserow/ffmpeg-replaygain/blob/master/gain_analysis.c the main ReplayGain implementation].",defect,closed,normal,swresample,git-master,wontfix,regression,,,,1,0
