Audio device output latency


#1

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 ?

/R

 


#2

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


#3

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...