Calculating audio duration without WMP control

  • Thread starter Thread starter kimiraikkonen
  • Start date Start date
K

kimiraikkonen

Hi,
I'd like to know if there's another way of calcuting an MP3's duration
in seconds without being forced to use WMP control. Because i need
this info for a class library that i cannot use WMP control in a class
library (dll) project. Is there a native .NET way to determine?

Thanks
 
kimiraikkonen said:
Hi,
I'd like to know if there's another way of calcuting an MP3's duration
in seconds without being forced to use WMP control. Because i need
this info for a class library that i cannot use WMP control in a class
library (dll) project. Is there a native .NET way to determine?

Something I found quickly with Google:

http://www.codeguru.com/vb/gen/vb_multimedia/mp3s/article.php/c4267/

It might work directly or at least it shows how to approach the problem.

-Teemu
 
Back
Top