”Global” sample counter

Hi,

Is there something like a constantly-increasing global (or per-device) sample counter that is available from the audioDeviceIOCallback?

(Of course I could just add a counter to my class and increment it with numSamples in the callback. However, if I have registered multiple audio callbacks, that would give me multiple counters and potential synchronization problems)

Thanks
Erik