Miles Sound System SDK 7.2a

AIL_redbook_position

The function AIL_redbook_position returns the current position in milliseconds of a playing Red Book device.

U32 AIL_redbook_position(
  HREDBOOK hand
);

In Parameters

hand
specifies which CD device to query.

Returns

The current position of the Red Book device, or 0 if the CD isn't currently playing.

Discussion

You can get the currently playing track with the AIL_redbook_track function.

Under DOS and MacOS 9, this function must not be invoked from an interrupt-based callback function.

Example files that use this function: AudioCD.C


Group: CD Audio (Redbook) Services
Related Functions: AIL_redbook_play, AIL_redbook_track
Related Basic Types: HREDBOOK, U32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.