|
|
Hi.
I'm creating a video stream based on framebuffer images and i wan't to connect different audio streams to it. (swapping audio files, or looping them...).
The audio files are all WMA files with the same settings, and basically everything works fine.
The only problem is, that at the beginning of a new audio file, there is a little sound glitch at the beginning...
Basically what i'm doing is, i use the SyncReader to get samples. When i reach the end of the sample, i start reading from the new sample and set the presentation time to the duration of the first audio stream. (or the timestamp of the last sampe + duration of the last sample).
I thing, the most reasonable bug which can cause this behaviour is maybe a wrong timing?
|
|
|