colin
1
Hi,
I try to seek to time ci::audio like this :
mVoice ->start();
mVoice = audio::Voice::create(audio::load(loadAsset(“sound.ogg”)));
mVoice ->getSamplePlayerNode()->seekToTime(time);
The audio voice work but seekToTime not.
Any idea or alternative ?
Thanks
rich.e
2
Try:
mVoice = audio::Voice::create(audio::load(loadAsset("sound.ogg")));
mVoice->getSamplePlayerNode()->seekToTime(time);
mVoice->start();
cheers,
Rich
colin
3
No it does not work too !
Cheers
Colin
rich.e
4
Works for me. Tested with the VoiceBasic sample, placing the call to seekToTime( 0.2f )
on this line.
colin
5
Ok thanks !
Sorry perhaps something that me an escape !