Pedro Ferreira Pedro Ferreira - 1 year ago 108
iOS Question

Set audio current time using Google VR Audio Engine in iOS app

I am using google VR audio engine to play an ambisonic audio in my iOS app

audioEngine = [[GVRAudioEngine alloc] initWithRenderingMode:kRenderingModeBinauralHighQuality];

[audioEngine preloadSoundFile:url];
[audioEngine start];

ambisonicid = [audioEngine createSoundfield:url];

I am able to play/pause the audio and rotate it but I also want to change the audio current time when I change the time of my video.

Is there anyway I could do it with google VR API?

Answer Source

I asked in the github repo and it is not possible yet.

The link for the issue: How to get/set audio current time with GVRAudioEngine?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download