So I programmed the AHI device interface to play a 16 bit stereo sound. Of about 500KB in length. I found it ended too quickly. I enabled debug output. The device writes were truncated to 8KB.
I checked all the docs and I can see nothing mentioned about any limits on device writes. Given it clearly cut back the writes without even returning an error you'd think this would be mentioned somewhere! :-?
However, I wonder if it is AHI doing it or the driver has limits? Shouldn't matter as AHI is managing the data. In this case it's the HDAudio driver on an X1000.
I tested an 8 bit sample and it played fine. So looks like it may be for 16 bit only which doesn't make sense.
Does AHI device place artificial limits on sample length? And is this documented anywhere?