Re: netmd-dev digest, Vol 1 #332 - 1 msg

Pete Bentley <[email protected]> Tue, 10 Jun 2003 12:44:26 +0100
Newsgroups gmane.comp.audio.netmd.devel
Message-ID <[email protected]>
Indeed... There is a NetMD USB command to get the disk's track count.
It is implemented in libomd as omd_disc_get_track_count() and presumably
exists in the various other libraries too.

The USB data looks like this:-
http://www.marcus-brinkmann.de/files/freemd_4.html#SEC41

Pete.

On Tuesday, June 10, 2003, at 12:34 PM, Andr=E9 Oswald wrote:

> Hello,
>
> IOmgPmTrackList" of the NetMD.dll provides a function called=20
> "GetTrackCount"
> which shows the number of tracks on your md.
>
> Andr=E9
>
> ----- Original Message -----
> From: "ANDRON Eric" <[email protected]>
> Newsgroups: gmane.comp.audio.netmd.devel
> Sent: Tuesday, June 10, 2003 10:23 AM
> Subject: Re: netmd-dev digest, Vol 1 #332 - 1 msg
>
>
>> That's seems to be a quite good way, i just was wondering
>> on my HIFI CD player was working, put the cd read tracks,
>> (i don't think a table/index of tracks exists) and each tracks
>> read time, and show number and timing.
>> Maybe you need a function that can be called "getNumberOfTracks"
>> in
>> wich you can implement your needs. It's not an essentail
>> function....
>> but it's required i think.
>> Eric
>>
>>
>> Hi,
>>>
>>> I was wondering if there is a usb call that can give me the number =
of
> tracks
>>> that's on a MD.
>>>
>>> What I can do now is: try a getTrackName in a for loop from 0-256=20
>>> and if
> one
>>> fails stop,
>>> but it seems to me this could be done better if I can ask for the=20
>>> number
> of
>>> tracks.
>>>
>>> This information is not hidden in the disc name is it? If it is: =
this
> would
>>> be quite stupid don't
>>> you think? Maybe the disc name is corrupt e.g.
>>>
>>> Martijn
>>
>>
>> [email protected] wrote:
>>>
>>> Send netmd-dev mailing list submissions to
>>>         [email protected]
>>>
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>>        =20
>>> http://mail.monochromatic.net/cgi-bin/mailman/listinfo/netmd-dev
>>> or, via email, send a message with subject or body 'help' to
>>>         [email protected]
>>>
>>> You can reach the person managing the list at
>>>         [email protected]
>>>
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of netmd-dev digest..."
>>>
>>> Today's Topics:
>>>
>>>    1. How to get the number of tracks on a disc? (R.M. Morrien)
>>>
>>> --__--__--
>>>
>>> Message: 1
>>> From: "R.M. Morrien" <[email protected]>
>>> To: [email protected]
>>> Subject: How to get the number of tracks on a disc?
>>> Date: Sat, 07 Jun 2003 13:50:14 +0000
>>> Reply-To: [email protected]
>>>
>>> Hi,
>>>
>>> I was wondering if there is a usb call that can give me the number =
of
> tracks
>>> that's on a MD.
>>>
>>> What I can do now is: try a getTrackName in a for loop from 0-256=20
>>> and if
> one
>>> fails stop,
>>> but it seems to me this could be done better if I can ask for the=20
>>> number
> of
>>> tracks.
>>>
>>> This information is not hidden in the disc name is it? If it is: =
this
> would
>>> be quite stupid don't
>>> you think? Maybe the disc name is corrupt e.g.
>>>
>>> Martijn
>>>
>>> _________________________________________________________________
>>> The new MSN 8: advanced junk mail protection and 2 months FREE*
>>> http://join.msn.com/?page=3Dfeatures/junkmail
>>>
>>> --__--__--
>>>
>>> _______________________________________________
>>> netmd-dev mailing list
>>> [email protected]
>>> http://mail.monochromatic.net/cgi-bin/mailman/listinfo/netmd-dev
>>>
>>> End of netmd-dev Digest
>>
>> --=20
>> ANDRON Eric - ae - ipn/uid p015255
>>
>> renault
>> .net <-->
>>
>> Support & Synchronisation
>> DTSI/DTS/18420
>>
>> Mobile:       0603456930
>> Work  : (+33) 0141040429 - 40429
>> mail: [email protected]
>>
>> Site du trapeze TPZD12212
>> Boulogne Billancourt
>> Paris, FRANCE
>
>
> _______________________________________________
> netmd-dev mailing list
> [email protected]
> http://mail.monochromatic.net/cgi-bin/mailman/listinfo/netmd-dev