As I had impression before that LockForProcess and UnLockForProcess are
called once for each start and stop of audio media i.e before/after
APOProcess is called. But while debugging I got that after audio media stop
LockForProcess is getting called once again.
Is there any way to stop this i.e to stop LockForProcess to called again
after audio stopped playing.