James, I tried that - didn't have any effect, the problem is still there; see log attached. I still think that there is an extra addref somewhere, so cleanup doesn't happen properly. The first playbacks have this in the log:
Originally Posted by James
and after the playback, cleanup happens (destructors get called):
CReClock refCount=1, m_reclockRunning 0
But after bitstream playback destructor is not called, and the next (PCM) playback starts with this:
So there was an extra reference that prevented a proper cleanup (or so it seems).
CReClock refCount=2, m_reclockRunning 0
Let me know if you need to get more info. Thanks!