PLAY_AUDIO_CD@

Platform

Win32, x64

Purpose

To play the audio CD from the current position.

Syntax

INTEGER FUNCTION PLAY_AUDIO_CD( DURATION )
INTEGER DURATION

Description

Plays an audio CD starting at the current location which can be set with a call to SET_CD_POSITION@. If duration is any valid number greater than 0 it will play for that amount of time in milliseconds. If the duration is less than 0 it will play that number of tracks i.e. a value of -4 will play the next four tracks.

Return value

Always returns 1.

See also

CLOSE_CD_TRAY@, OPEN_CD_TRAY@, SET_CD_POSITION@, STOP_AUDIO_CD@,
GET_TRACK_LENGTH@

Example

call set_cd_position@( 1, 0 )
call play_audio_cd@( -1 )

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited