regarding audio glitches in windows media player
We have made an OpenMax IL based Window media player (src-decoder-sink) with including clock component.
For audio play we are using waveout APIs.
After implementing this we are not able to remove the audio glitches.
If any one can suggest some mechanism by which we can remove audio glitches.
It will be appreciated.
Re: regarding audio glitches in windows media player
The first task is to understand why you have audio glitches. The most likely would appear to be data underflow, i.e. you don't have audio samples to output at the required time at the audio renderer (your sink component). It's also possible that you have incorrect data rates, holes or gaps in the real decoded audio.
Is your audio decoder clocked? If so, how much inadvance does your decoder decode audio? How long does it take to decode audio?
How many buffers do you have on each tunnel?