How can I take the metadata from the audio track in the android application (with ++), if I use Android Ndk to build?

I know that in java for android applications there is a MediaMetadataRetriever, but I did not find such a class in the ndk folder. Maybe there is an alternative? And how to do it right?

  • Here is [here] [1] look. [1]: hashcode.ru/questions/327011/… - Garf1eld
  • Garfield, According to your link, it was necessary to calculate the duration of mp3, having all the necessary constants. In my case, I can find out the number of channels and the sample, but I do not know the Duration. Those. At the moment I would like to know if it is possible to extract the value of Duration by means of android ndc. - Maksym

0