Help With Rounding Number of Samples

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Rammschnev
Posts: 6
Joined: Wed Dec 13, 2017 2:03 am
Operating System: Windows 8 or 8.1

Re: Help With Rounding Number of Samples

Post by Rammschnev » Wed Dec 13, 2017 8:12 pm

I think we've got it now. I can't post as much detail as I'd like, because the solution ended up being in a part of the code I'd not been shown. It wasn't our rounding exactly that was the issue, but rather, when the rounding was occurring, the total number of bytes the file was expecting was not adjusted for the rounded value, so the total number of bytes was too great/few. Really could not have done it without you, Steve. A very tired and frustrated engineer (not me) now gets to rest easy.

Post Reply