AVAudioPlayerNode wont play with host time

Can anyone think of a reason why AVAudioPlayerNode doesn't like atTime values with host time? The completionHandler is called but no audio is heard on the other side unless atTime is nil. No errors are seen in the console.


In short, this works:


[_player scheduleBuffer:buffer

atTime:nil

options:0

completionHandler:^() {

}];

But this doesnt.


[_player scheduleBuffer:buffer

atTime:[AVAudioTime timeWithHostTime:CVGetCurrentHostTime()]

options:0

completionHandler:^() {

}];

AVAudioPlayerNode wont play with host time
 
 
Q