I use resample_soxr with a param-file to set the volume in real time. Due to buffering I have unwanted volume changes usually in the last few seconds of the song because of my replay gain process picking up the next song while the current song is still in the buffer. Passing the replay gain correction separately by running resample_soxr or volrace twice would solve the problem. I assume adjusting volume twice, even at 64 bit precision is a compromise? Any suggestions?
Thanks again, Mike