With reference to this thread, I believe there might be a problem with foo_ac3.
In the 2nd post of the linked thread, I mentioned that I repeated my test on another PC and had no problems. However, I recently had the chance to test with a 3rd PC and encountered the problem mentioned in my first post. The most obvious similarity between the 2 affected PCs is that they both use Intel's 945G chipset.
I have tried this with both 2 and 6 channels AC3 files, and both tests yield the same problem. Additionally, as mentioned previously, I don't face this problem with MP3 or FLAC files, leading me to believe the problem lies with foo_ac3.
Another possibly related problem is when I transcode AC3 files. When batch transcoding an album, some tracks have sudden 'spikes'. Trying this a few times, I noticed that the 'spikes' occur at seemingly random positions. Thus I am guessing that the problem I have (ReplayGaining AC3 files as albums) is related to these spikes i.e. ReplayGain fails for a certain track when foo_ac3 somehow renders a 'spike' as output.
For a sample of this 'spike', please see this upload.
