Is there a simple way to derive from
AudioPlayHead that allows us to set the DAW’s playhead position, while still retaining the DAW’s ability to start/stop playback natively? Ideally, I would like to be able to call something like
setPlaybackPosition once, and the playhead continues moving from that point automatically.
It seems like if I tell the
AudioProcessor to use a custom
AudioPlayHead, I have to fill out the
CurrentPositionInfo myself, without the possibility to get the current playback position provided by the DAW and change it only if I need to. Is this assessment correct? Do I really need to take control of the entire Playhead, incrementing the current sample time etc. myself?