Calculating audio duration without WMP control

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
 
T

Teemu

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top