'How to use AMediaExtractor_seekTo with ndk

I am writing a mp3 player for android with ndk. Im using AMediaExtractor and AMediaCodec as in ndk example NativeCodec. Now would reposition the stream and I would use AMediaExtractor_seekTo but nothing happens. Can you help me? Thanks Lino



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source