How read the *.amr files length?

Has anyone found a way to show the length of * .amr files?

The “Duration” property in exoplayer does not work.

In order to get the music duration you need to start playing it. And maybe there is a component which is able to work with metadata. In this case it would be easier.


Thank you. I didn’t think about that.
I did it slightly differently, but this solution is enough.
Thank you again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.