Board index » delphi » Audio Cd

Audio Cd


2003-07-23 03:52:35 AM
delphi85
Hi,
I`m writing a CD grabber application but I have some little problems. First:
how can I decide if the disc inserted to the drive contains audio tracks?
Second: how can I get the lengths of the tracks exactly?
I have downloaded TLame from www.torry.ru but this component has some bugs:
it says all of the tracks are 0 seconds long, and all of the (audio) tracks
are marked as data tracks... Does anybody know how to get these information?
Thanks for helping!
MikKi
 
 

Re:Audio Cd

"Kiss Miklós" <XXXX@XXXXX.COM>writes
Quote
Hi,

I`m writing a CD grabber application but I have some little problems.
First:
how can I decide if the disc inserted to the drive contains audio tracks?
if an audio cd has been written to twice, not all delphi comps will know
it's an audio cd. the best way I have found is to get the name/type of cd
from windows "Audio CD" so you know it is one for sure.
Quote
Second: how can I get the lengths of the tracks exactly?
use this comp www.torry.net/vcl/mmedia/audio/mcdp.zip. it has some
redundent cddb code that u can modify yourself. i use it in conjuntion with
the lame cd ripper and encoder, make life a lot easyer.
Quote
I have downloaded TLame from www.torry.ru but this component has some
bugs:
it says all of the tracks are 0 seconds long, and all of the (audio)
tracks
are marked as data tracks... Does anybody know how to get these
information?

Thanks for helping!
MikKi


hope this helps
S