Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbLoadCDMusic

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 25th May 2008 06:09 Edited at: 25th May 2008 06:56
Quote: "dbLoadCDMusic
This command will play CD Audio music stored on your CD. The CD Audio track must be specified and loaded before it can be played. Only one CD Audio track can be loaded and played at any one time. To play a new track, you must delete a previously loaded track before loading the new one.

Syntax
void dbLoadCDMusic ( int iTrack, int iMusic )


MUSIC


dbLoadMusic : void dbLoadMusic ( char* szFilename, int iMusic )
dbLoadCDMusic : void dbLoadCDMusic ( int iTrack, int iMusic )
dbDeleteMusic : void dbDeleteMusic ( int iMusic )
dbPlayMusic : void dbPlayMusic ( int iMusic )
dbLoopMusic : void dbLoopMusic ( int iMusic )
dbStopMusic : void dbStopMusic ( int iMusic )
dbPauseMusic : void dbPauseMusic ( int iMusic )
dbResumeMusic : void dbResumeMusic ( int iMusic )
dbSetMusicSpeed : void dbSetMusicSpeed ( int iMusic, int iSpeed )
dbSetMusicVolume : void dbSetMusicVolume ( int iMusic, int iVolume )

dbMusicExist : int dbMusicExist ( int iMusic )
dbMusicPlaying : int dbMusicPlaying ( int iMusic )
dbMusicLooping : int dbMusicLooping ( int iMusic )
dbMusicPaused : int dbMusicPaused ( int iMusic )
dbMusicSpeed : int dbMusicSpeed ( int iMusic )
dbMusicVolume : int dbMusicVolume ( int iMusic )
dbGetNumberOfCDTracks : int dbGetNumberOfCDTracks ( void )


"


Ok first making the assumption thats it plays audio that is put in to a c++ stack or array, and not actually playing from a CD.

If thats true I would assume dbLoadCDMusic (1,1) would QUE track 1 with music id 1, and not play it? If it plays it is the same thing as dbPlayMusic (1). If it does Que it where is the play commend? Or next, or previews...

If this does actually load from some CD, does it just load that track in to the id you specify?



I found nothing in the samples nor in the forums? Does it even do anything?

Login to post a reply

Server time is: 2024-11-20 11:41:03
Your offset time is: 2024-11-20 11:41:03