The Play() and Stop() functions work fine.
But when iMdaAudioPlayerUtility->Duration() called, it seems like the function raises a CMdaAudioPlayerUtility 1 panic and my program get closed.
I want to display the duration like a clock, example 01:12.
I saw sound example but it not giving the duration example.
what sound format do you speak about? AMR? If the Duration() method not works you could compute it from file lenght. First you need to detect which amr encoding type is used. Because amr has fixed length for given time period you could easily compute the duration of sound clip.