Hi,
My personal audio player seems to have a little bug: stereo (HE-)AAC files play fine, but mono ones play at double the correct speed!
I'm using ISO AAC files, not MPEG-4. I can think of two workarounds for this:
1. Before encoding, convert the source mono WAV file to stereo, where both channels are exactly the same, and create a stereo AAC file where both channels are the same (if that's possible). That would probably result in larger AAC files.
2. After encoding, patch the sampling rate specified in the AAC file to half the actual rate, e.g. to 22050Hz in the case of 44.1kHz audio. Then the player will hopefully play the mono file at the correct speed.
I'd like to experiment with the second workaround. Is the sampling rate specified at only one point in an ISO AAC file? Or is it repeated in every audio frame (or whatever the correct term is)? If the former, where can I get info on the AAC file header layout, apart from the (expensive) ISO standard document?
-- M