| Miles Sound System SDK 7.2a |
The function AIL_redbook_track_info returns the starting and ending millisecond offsets for a given track.
void AIL_redbook_track_info( HREDBOOK hand, U32 tracknum, U32 *startmsec, U32 *endmsec ); |
You can then use these offsets to play a specific track.
Note that the first track on the CD is number 1 - not zero!
You can pass in NULL for any parameters that you aren't interested in.
Under DOS and MacOS 9, this function must not be invoked from an interrupt-based callback function.
Example files that use this function: Demo.C, AudioCD.C
Group:
CD Audio (Redbook) Services
Related Functions:
AIL_redbook_id, AIL_redbook_play, AIL_redbook_tracks
Related Basic Types:
HREDBOOK, U32, void
Related FAQs:
How do I loop a track off a CD?, How do I play a track off a CD?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.