AudioPlayHead::CurrentPositionInfo::timeInSamples can be smaller than zero?


#1

For my understanding, timeInSamples in AudioPlayHead::CurrentPositionInfo can be a negative value and why?

This the time from the start of the project?

Thanks


#2

Usually for pre roll during recording or sync with hardware/software with latency.


#3

That means if it is negative the transport is "not really" started?


#4

I wouldn't say so but it depends how you see things.

In any way, you have to handle this case.


#5

Ok, thanks! Helps!