Sampler not returning partial buffers with a-law

In my experience, if I use the sampler class to sample from a microphone, and I have a buffer of, say 2000 bytes, the last buffer I will get after calling sampler.stop() is typically a partial buffer (as I would expect). However, if I enable a-law compression, then the last buffer is dropped and not returned. It seems to return only full buffers. Is this expected behavior?

No, this is not. Filing a bug - thanks