[Cin] attempt at fixing too loud sound with raw pcm output

Andrew Randrianasulu randrianasulu at gmail.com
Fri Jan 19 19:43:52 CET 2024


Oh, it sounds like we have some race somewhere ..:( adding condition
(that never fired!) to int FileSndFile::write_samples() fixed 24 bit
RAW PCM

Note - I set whole thing to write to ramdisk (/dev/shm) so may be it
exposes some races ... or we need to update libsndfile ..(

On Fri, Jan 19, 2024 at 8:16 PM Andrew Randrianasulu
<randrianasulu at gmail.com> wrote:
>
> argh, may be better to just divide by 100 instead of 104 ...
>
> still not sure WHY it needed?
>
> 24-bit raw PCM still broken ..:(
>
> On Fri, Jan 19, 2024 at 6:32 PM Andrew Randrianasulu
> <randrianasulu at gmail.com> wrote:
> >
> > try andy dv test file, render only audio as Big Endian, Signed, 16 bits.
> >
> > Load it back and watch too loud audio.
> >
> > note: wav file not tested
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-For-some-reason-putting-condition-printf-prevent-24-.patch
Type: text/x-patch
Size: 1200 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240119/9082370f/attachment.patch>


More information about the Cin mailing list