It appears for some reason I am getting more decoded audio written wav file then the normal output to the C client app.
Perhaps from awhile ago the elastic buffer introduced this issue? maybe a buffer is not being fully consumed or something.
I can post example if needed but it seems pretty easy to reproduce.
Take a short I/Q file and compare the normal program audio output vs the output you get written into a wav file.