Miles Sound System SDK 7.2a

AIL_redbook_open_drive

The function AIL_redbook_open_drive opens a Red Book CD-audio device from a drive letter.

HREDBOOK AIL_redbook_open_drive(
  char drive
);

In Parameters

drive
specifies which CD drive letter to open (A to Z).

Returns

A handle to the Red Book device, or NULL if the device couldn't be opened.

Discussion

This function just opens a channel to the device - it doesn't check to see if an audio CD is inserted. Use AIL_redbook_status to check for audio CDs.

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

This function is not available under MacOS.


Group: CD Audio (Redbook) Services
Related Functions: AIL_redbook_close, AIL_redbook_open, AIL_redbook_open_volume, AIL_redbook_status
Related Basic Types: HREDBOOK, char

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