Audio device output latency

Hi Jules,

I notice that I get negative values for AudioIODevice::getOutputLatencyInSamples, which would be a direct violation of causality ;) 

Is it not implemented, or is it device dependent ?

Edit: Ok, I see the impl. Strange though that it can get negative ?



Yes.. how could it be negative, unless the device is returning a negative buffer size??

I failed to mention, that the device in question is a Bluetooth adapter. So the Bluetooth audio stack on my mobile is a bit screwed up...