| |
XTRA dmm_CDExt
© 1992-2007 Studio dmm, all rights reserved
Licencing information
This software is a commercial product. If you are a registred user,
no royalty-fees are required for distribution
of the software with your applications.
By using the software you're agreeing to the terms and conditions
of the Licence Agreement.
Demoversion download
Fully working testing versions of the x32, u32 or dll library,
examples in the languages listed below are enclosed (the demo version
is fully working but the library will show a dialogue window).
Description
The library is to control CD-Audio and to create CD-Extra applications
in Windows. The control is realised by a x32, u32 or a dll library.
The library is compatible with all the MS Windows versions (98,
ME, NT, 2000, XP).
The library supports
Director 7, 8, 8.5, MX, MX2004
Authorware 3, 3.5, 4, 5, 6, 6.5, 7
Delphi 2, 3, 4, 5, 6, 7
Toolbook 6, 6.5, 7, 7.1, 7.2, 8, 8.5
Visual Basic
Language C
NET framework
Other programing languages, which can work with external
dll libraries
History
| 25.02.2007 |
|
Version 1.3 |
|
The functions dmm_CDExtPlayFromMillisec and dmm_CDExtPlayFromToMillisec were added. |
| 27.05.2004 |
|
Version 1.2 |
|
The functions dmm_CDExtAutoDetection, dmm_CDExtOpenDoor and dmm_CDExtCloseDoor were added.
The administration of memory was adjusted. |
| 27.12.2003 |
|
Version 1.1 |
|
Adjustment of the library for Win98. |
| 02.07.2003 |
|
Version 1.0 |
|
Creation of the library. |
Possibilities of use, definition
The library dmm_CDExt enables you to control CD-Audio from your
applications in Windows easily, and to create CD-Extra applications
without the necessity of deeper knowledge of MCI (Media Control
Interface). To explain the term CD-Audio would be of no use, but
let us explain what CD-Extra actually is. CD-Extra is a multisession
disc. In the first session there are audio tracks and in the second
session there are multimedia application dates. It is clear from
this configurance that a CD-Extra must be fully compatible with
CD-Audio as the audio players are singlesession (it means that the
audio player only "sees" the first session). In computers
both, audio and date sessions are accessible, because these days
CD-ROM drivers can read multisession discs. The CD-Extra format
is defined as a joint norm of the companies Sony and Philips, which
is called BLUE BOOK.
Terminology
People often get confused and make mistakes in defining and entitling
the technology CD-Extra,so let us explain several important terms:
CD-Extra is a marketing mark of SONY for a joint norm of
SONY and Philips, which is called BLUE BOOK. The term
CD-Extra can only use those of manufacturers, whose
making methods are in 100% accordance with BLUE BOOK.
CD-Plus is the original (first) marketing name for BLUE BOOK
introduced by SONY. Because CD-Plus had already
been registered, SONY renamed its product to CD-Extra.
Enhanced CD is a term for discs created according to either
BLUE BOOK or "Pre Gap" or "Mixed Mode".
Examples of Cd-Extra technology use
Multimedia music Cd
Cd-Extra allows multimedia combination of audio, video, texts and
other interactive possibilities. Musicians and music fans will certainly
be pleased not only to listen to the music but also to watch the
artists on video, to read the lyrics, biography or interviews. People
can find out about an artist´s work and get other additional information,
for example about musical events. Cd-Extra enlightens a music group
and its production indeed in a much more effective way.
Multimedia company presentantions
Cd-Extra created as a multimedia company presentation gives a general
view about a company, its products or services. Music in the audio
session makes the Cd even more valuable and consequently it can
be offered as a present.
Music publisher catalogue
On every new Cd there can be a catalogue of all titles released
by the publisher. The catalogue keeps its users informed about all
news and furthermore it can include demonstration of music and information
about tracks or artists.
Music projects sponsorship
Cd-Extra is a good opportunity for sponsors of artists and groups
as they can put their advertisements on it. Cd-Extra then becomes
both, a valuable company presentation and a music Cd.
Notes
| |
|
CD-Extra compiling is a very specific thing. At the moment,
when you play a certain track, it is not possible to read other
dates from the disc without interrupting the playing. To prevent
the interrupting, you temporarily save some dates to your hard
disc before opening the audio session or the application. Then
both sessions can be run together. |
| |
|
If we want an application, for example in Director, to be
interactive we have to choose one of this procedures:
a)To save the objects, we want to use ,to hard disc before playing
the audio.
b)To set the feature "Before Frame One" for the whole
cast (all the used libraries).
c)To divide the application into two parts, the one to be run
from hard disc and the one to be run from CD-ROM.
d)To choose "pause" when reading another part of the
application and to choose "resume" after finishing
so. |
List of functions
| dmm_CDExtReg |
|
Registration of dll (u32) |
| dmm_CDExtOpen |
|
Initializing of CD-Audio |
| dmm_CDExtAutoDetection |
|
CD-Audio autodetection and initialization |
| dmm_CDExtClose |
|
CD-Audio work finished |
| dmm_CDExtErrorCode |
|
Detection of error announcement code |
| dmm_CDExtErrorString |
|
Detection of error announcement text |
| dmm_CDExtFormatMSF |
|
Setting of MSF format |
| dmm_CDExtPlayLoop |
|
Adjustment of tracks repetition |
| dmm_CDExtIsLoop |
|
Verifying of the previous function |
| dmm_CDExtPlaySample |
|
Adjustment of sound sample length |
| dmm_CDExtIsSample |
|
Verifying of the previous function |
| dmm_CDExtPlayTrack |
|
Playing of a track, defined by a track number |
| dmm_CDExtPlayList |
|
Playing of a track, defined by play list |
| dmm_CDExtPlayFromToTrack |
|
Playing of tracks from track A to track B |
| dmm_CDExtPlayFromTMSF |
|
Playing of a track, defined by TMSF format |
| dmm_CDExtPlayRandom |
|
Random tracks playing |
| dmm_CDExtPlayAllTrack |
|
All tracks playing |
| dmm_CDExtPlayPreviousTrack |
|
Playing of the previous track |
| dmm_CDExtPlayNextTrack |
|
Playing of the next track |
| dmm_CDExtPlayPreviousPlayListTrack |
|
Playing of the previous track listed in play list |
| dmm_CDExtPlayNextPlayListTrack |
|
Playing of the next track listed in play list |
| dmm_CDExtPlayFromMillisec |
|
CD playing from a position defined in milliseconds. |
| dmm_CDExtPlayFromToMillisec |
|
CD playing between two positions defined in milliseconds. |
| dmm_CDExtStop |
|
Stopping of playing |
| dmm_CDExtPause |
|
A pause in playing |
| dmm_CDExtResume |
|
Resumption of playing |
| dmm_CDExtStatus |
|
Detection of CD-Audio status |
| dmm_CDExtGetPlayList |
|
Detection of the actual play list |
| dmm_CDExtGetTotalTracks |
|
Detection of number of tracks on CD |
| dmm_CDExtGetTotalPlayListTracks |
|
Detection of number of tracks in play list |
| dmm_CDExtGetCurrentTrack |
|
Detection of the actual track |
| dmm_CDExtGetCurrentPlayListTrack |
|
Detection of the actual track in play list |
| dmm_CDExtLengthTrackMSF |
|
Information about the track length, in MSF format |
| dmm_CDExtLengthDiscMSF |
|
Information about CD-Audio length, in MSF format |
| dmm_CDExtLengthTrackMillisec |
|
Information about the track length, in milliseconds |
| dmm_CDExtLengthDiscMillisec |
|
Information about CD-Audio length, in milliseconds |
| dmm_CDExtGetElapsedTrackMSF |
|
Information about the time elapsed from the beginning of the
track ,in MSF format |
| dmm_CDExtGetElapsedDiscMSF |
|
Information about the time elapsed from the beginning of CD-Audio,
in MSF format |
| dmm_CDExtGetRemainTrackMSF |
|
Information about the time remaining to the end of the track,
in MSF format |
| dmm_CDExtGetRemainDiscMSF |
|
Information about the time remaining to the end of CD-Audio,
in MSF format |
| dmm_CDExtGetElapsedTrackMillisec |
|
Information about the time elapsed from the beginning of the
track, in milliseconds |
| dmm_CDExtGetElapsedDiscMillisec |
|
Information about the time elapsed from the beginning of CD-Audio,
in milliseconds |
| dmm_CDExtGetRemainTrackMillisec |
|
Information about the time remaining to the end of the track,
in milliseconds |
| dmm_CDExtGetRemainDiscMillisec |
|
Information about the time remaining to the end of CD-Audio,
in milliseconds |
| dmm_CDExtGetElapsedTrackPercent |
|
Information about the time elapsed of the total track length,
in percents |
| dmm_CDExtGetElapsedDiscPercent |
|
Information about the time elapsed of the total CD-Audio length,
in percents |
| dmm_CDExtGetRemainTrackPercent |
|
Information about the time remaining to the end of the track,
in percents |
| dmm_CDExtGetRemainDiscPercent |
|
Information about the time remaining to the end of CD-Audio,
in percents |
| dmm_CDExtOpenDoor |
|
CD-ROM drive opening |
| dmm_CDExtCloseDoor |
|
CD-ROM drive closure |
Description of functions
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtReg(code:string)
This function has to be called before the first use of the dmm_CDExt
library. Unless the right registration number is inserted, an announcement
"this is a demo version" will appear.
Parametres
Type of code is string (lpcstr), for the demo version code=
"demo". For the commercial version the chain is unique.
Example
dmm_CDExtReg("demo")
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtOpen(DriverLetter:string)
The function initializes CD-Audio and has to be called before we
use other functions of this library.We can call the function dmm_CDExtOpen
only after calling the function dmm_CDExtReg.
Parametres
Type of DriverLetter is string (lpcstr) and is represented by
the name of CD-Audio driver as follows c:\, d:\, e:\ etc.
It is possible to insert even a longer name, the function will adjust
it.
Example
dmm_CDExtOpen("c:\")
dmm_CDExtOpen("d:\disc1")
dmm_CDExtOpen(the pathName)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtAutoDetection()
The function initializes CD-Audio and has to be called before we
use other functions of this library. We can call the function dmm_CDExtAutoDetection
only after calling the function dmm_CDExtReg. This function finds
a driver with an inserted CD automatically unlike the function dmm_CDExtOpen.
Type of CD must either be CD-Audio or CD-Extra. In the application
we either use the function dmm_CDExtOpen or dmm_CDExtAutoDetection.
They can never be used together.
Parametres
There are no parametres in this function.
Example
dmm_CDExtAutoDetection()
if dmm_CDExtErrorCode()<>0 then ...
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtClose()
The function finishes the work with CD-Audio.
Parametres
There are no parametres in this function.
Example
dmm_CDExtClose()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtErrorCode()
The function gives code of the error, which occured when calling
arbitrary function included in this library. Type of the given value
is word. We do not use this function sooner than after calling a
certain function included in this library. By calling the function
dmm_CDExtErrorCode we find out whether the previously called function
ended up as a mistake or not.
Parametres
There are no parametres in this function.
.
Example
dmm_CDExtOpen("e:\")
ErrorCode=dmm_CDExtErrorCode()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtErrorString()
The function works in the same way as dmm_CDExtErrorCode. The function
dmm_CDExtErrorString() only gives a text description of the error.
Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
dmm_CDExtOpen("e:\")
ErrorString=dmm_CDExtErrorString()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtFormatMSF(format:string)
The function is to set the MSF format for all the functions which
gives information in this format.
Parametres
Type of format is string (lpcstr) and it is inserted as a chain
of signs #MM, #SS a #FF. #MM is minutes formatting , #SS is seconds
formatting and #FF is frame formatting.
Note
Frame is 1/75 of a second
Example
dmm_CDExtFormatMSF("#MM : #SS")
The MSF functions will give, for example, values such as 01 : 02,
01 : 22, 27 : 07 etc.
dmm_CDExtFormatMSF("#M - #S")
The MSF functions will give, for example, values such as 1 - 2,
1 - 22, 27 -7 etc.
dmm_CDExtFormatMSF("#M : #SS #FF")
The MSF functions will give, for example, values such as 1 : 02
07, 1 : 22 27, 27 : 07 51 etc.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayLoop(loop: boolean)
The function adjusts repetition of playing for all the functions
of "dmm_CDExtPlay ..." type.
Parametres
Type of Loop is boolean. When setting loop=true the repetition will
take place, when setting loop=false it won´t. The basic setting
is for loop=false.
Note
The function works globally. If we set the repetition, it will be
active until we cancel it.
.
Example
dmm_CDExtPlayLoop(true)
dmm_CDExtPlayTrack(2) -The track 2 will be repeated round .
dmm_CDExtPlayLoop(true)
dmm_CDExtPlayList("1-15-18) - The tracks will be played in
order 1, 15, 18, 1, 15, 18 etc.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtIsLoop()
The function is to detect, whether the track repetition is switched
on or not. It gives "true" in case the function dmm_CDExtPlayLoop(true)
has been set. In case the function dmm_CDExtPlayLoop(false) has
been set, it gives "false".
Parametres
There are no parametres in this function.
Example
if dmm_CDExtIsLoop() then
else
end if
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlaySample(time: word)
The function is to set length of the sample, in seconds.
Parametres
Type of time is word and it sets length of the sample. For time=0
the whole track is played.
Note
The function works globally. If we set length of the sample to,
for example, 10s, all the functions dmm_CDExtPlay ... will play
the first 10s of each track. It will happen until we set dmm_CDExtPlaySample(0).
Example
dmm_CDExtPlaySample(10)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtIsSample()
The function is to detect whether the function dmm_CDExtPlaySample
was previoiusly used or not. The function gives true in case the
parameter time>0 was used in the function dmm_CDExtPlaySample.
Otherwise it gives false.
Parametres
There are no parametres in this function.
Example
if dmm_CDExtIsSample() then
else
end if
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayTrack(track: word)
The function plays the track defined by a number.
Parametres
Type of track is word and it represents number of the CD track which
is to be run.
Example
dmm_CDExtPlayTrack(2)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayList(list: string)
The function plays the chosen tracks in the order listed in play
list.
Parametres
Type of list is string (lpcstr) and it defines the tracks and the
order in which they are to be played. The tracks are divided by
a hyphen (-).
Example
dmm_CDExtPlayList("1-9-4-7")
This function will play the tracks 1, 9, 4, 7 exactly in this order.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayFromToTrack(track1, track2:
word)
The function plays the track defined by an interval between track1
and track2.
Parametres
Type of track1 is word and it represents number of the track from
which the section should be played.
Type of track2 is word and it represents number of the last track
of the section to be played.
Example
dmm_CDExtPlayFromToTrack(9,11)
Gradually the tracks 9, 10, 11 will be played.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayFromTMSF(track, min, sec,
frame: word)
The function plays a certain track from the position defined by
parametres (minutes, seconds, frame).
Parametres
Type of track is word and it represents the track number.
Type of min is word and it represents the position (in minutes),
from which the track should be played.
Type of sec is word and it represents the position (in seconds),
from which the track should be played.
Type of sec is word and it represents the position (in frame), from
which the track should be played.
Example
dmm_CDExtPlayFromTMSF(2, 1, 22, 0)
The track number 2 will be played from position 1:22.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayRandom(countTrack: word)
The function plays the tracks at random.
Parametres
Type of CountTrack is word and it defines number of the tracks which
will be played at random. If countTrack is higher than number of
tracks available on CD, the tracks will be repeated.
Example
dmm_CDExtPlayRandom(10)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayAllTrack()
The function gradually plays all the CD tracks.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPlayAllTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayPreviousTrack()
The function plays the previous track.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPlayPreviousTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayNextTrack()
The function plays the next track.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPlayNextTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayPreviousPlayListTrack()
The function plays the previous track listed in play list.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPlayPreviousPlayListTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayNextPlayListTrack()
The function plays the next track listed in play list.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPlayNextPlayListTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayFromMillisec(position: longInt)
The function starts playing of the CD from the position defined in the parameter of position, which is defined in milliseconds.
Parametres
Type of position is longInt and it represents the position from which the CD is to be played.
Example
dmm_CDExtPlayFromMillisec(7000)
Note
If you choose such a position that it represents the space between two songs the music is not played.
It is not possible to use the function dmm_CDExtPlayLoop here.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPlayFromToMillisec(positionFrom, positionTo: longInt)
The function starts playing of the CD from the positionFrom defined in the parameter of positionFrom. Playing is stopped on a position defined in the parameter positionTo. The parameters are defined in milliseconds.
Parametres
Type of positionFrom is longInt and it represents the position from which the CD is to be played.
Type of position is longInt and it represents the position at which the playing will be stopped.
Example
dmm_CDExtPlayFromToMillisec(7000, 2000)
Note
If you choose such a positionFrom that it represents the space between two songs the music is not played.
It is not possible to use the function dmm_CDExtPlayLoop here.
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtStop()
The function stops track playing.
Parametres
There are no parametres in this function.
Example
dmm_CDExtStop()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtPause()
The function stops track playing. To continue in playing, use the
function dmm_CDExtResume.
Parametres
There are no parametres in this function.
Example
dmm_CDExtPause()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtResume()
Resumption of playing from the position, where it was stopped by
dmm_CDExtPause.
Parametres
There are no parametres in this function.
Example
dmm_CDExtResume()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtStatus()
The function gives a number (type word), which represents the state
of playing.
0=CD-Audio is not ready to play
1=playing is in full swing
2=playing was stopped (state "stop")
3=playing was paused (state "paused")
4=CD driver is open
5=another error has occured
Parametres
There are no parametres in this function.
Example
s=dmm_CDExtStatus()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetPlayList()
The function gives the string value (lpcstr), which represents the
actual play list.The tracks are divided by a hyphen (-).
Parametres
There are no parametres in this function.
Example
pl=dmm_CDExtGetPlayList()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetTotalTracks()
The function gives number of CD-Audio tracks. Type of the given
value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetTotalTracks()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetTotalPlayListTracks()
The function gives number of tracks in play list. Type of the
given value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetTotalListTracks()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetCurrentTrack()
The function gives number of the track, which is being used.
The track can either be switched on or stopped. Type of the given
value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetCurrentTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetCurrentPlayListTrack()
The function gives number of the track in play list, which is
being used. The track can either be switched on or stopped. Type
of the given value is word.
Parametres
There are no parametres in this function.
Note
Dmm_CDExtGetCurrentListTrack() differs from dmm_CDExtGetCurrentTrack()
in the following way: When playing it, for example,using dmm_CDExtPlayList("2-7-11"),the
function dmm_CDExtGetCurrentTrack() will gradually give values 2,
7, 11. On the contrary, the function dmm_CDExtGetCurrentTrack()
will give values 1, 2, 3.
Example
result=dmm_CDExtGetCurrentListTrack()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtLengthTrackMSF(track:
word)
The function gives length of the track, in MSF format. Type of the
given value is string (lpcstr).
Parametres
Type of track is word. We insert number of the track, whose length
we want to get.
Example
dmm_CDExtLengthTrackMSF(7)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtLengthDiscMSF()
The function gives length of the whole disc, in MSF format.
Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtLengthDiscMSF()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtLengthTrackMillisec(track:
word)
The function gives length of the track, in milliseconds. Type
of the given value is word.
Parametres
Type of track is word. We insert number of the track whose length
we want to get.
Example
dmm_CDExtLengthTrackMillisec(11)
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtLengthDiscMillisec()
The function gives length of the whole disc, in milliseconds.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtLengthDiscMillisec()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedTrackMSF()
The function gives the time elapsed from the beginning of the
track, in MSF format. Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedTrackMSF()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedDiscMSF()
The function gives the time elapsed from the beginning of CD-Audio,
in MSF format. Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedDiscMSF()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainTrackMSF()
The function gives the time remaining to the end of the played
track, in MSF format. Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainTrackMSF()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainDiscMSF()
The function gives the time remaining to the end of CD-Audio,
in MSF format. Type of the given value is string (lpcstr).
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainDiscMSF()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedTrackMillisec()
The function gives the time elapsed from the beginning of the
played track, in milliseconds. Type of the given value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedTrackMillisec()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedDiscMillisec()
The function gives the time, elapsed from the beginning of CD-Audio,
in milliseconds. Type of the given value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedDiscMillisec()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainTrackMillisec()
The function gives the time remaining to the end of the played
track, in milliseconds. Type of the given value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainTrackMillisec()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainDiscMillisec()
The function gives the time remaining to the end of CD-Audio,
in milliseconds. Type of the given value is word.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainDiscMillisec()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedTrackPercent()
The function defines how many percents of the total track length
have already been played. Type of the given value is word and it
ranges from 0 to 100.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedTrackPercent()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetElapsedDiscPercent()
The function defines how many percents of the total CD-Audio
length have already been played. Type of the given value is word
and it ranges from 0 to 100.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetElapsedDiscPercent()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainTrackPercent()
The function defines how many percents of the total track length
are left. Type of the given value is word and it ranges from 0 to
100.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainTrackPercent()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
result=dmm_CDExtGetRemainDiscPercent()
The function defines how many percents of the total CD-Audio
length are left. Type of the given value is word and it ranges from
0 to 100.
Parametres
There are no parametres in this function.
Example
result=dmm_CDExtGetRemainDiscPercent()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtOpenDoor()
This function opens door of a CD-ROM drive. Before the door
is open, the function dmm_CDExtStop is called automatically.
Parametres
There are no parametres in this function.
Example
dmm_CDExtOpenDoor()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
void=dmm_CDExtCloseDoor()
This function closes door of a CD-ROM drive.
Parametres
There are no parametres in this function.
Example
ddmm_CDExtCloseDoor()
-----------------------------------------------------------------------------------------------------------------------------------------------------------
|