I'm currently looking for the solution of my problem since my audio file (.wav) is in the resources of my solution. I need to detect how long it would play.
How can I calculate the duration of the audio in my resources?
Is there a way to detect how long will it take to play a certain audio file in my resource?