0
0

I have a small problem with the cd function. I have got it to work with the cd commands but I like to use the stream_open. If I can do that I have a lot of things that I have allready done to work.
If I use the CD functions I can get all the tracks there are on a cd and just set the track I want to play. But what shall I use if I use stream_open?
If the cd is not copyprotected I can get the *.cda-file but is it enought?? And if it is protected what can I use to specify the filename?
Are here anyone that have and example??

  • You must to post comments
0
0

I have tried the mediaplayer on a third machine.
I can play file and internetstream but if I click load CD the program crash.
The error is:
Program has made an anlegal operation in FMOD.dll on adress 018F:10024CDF ……

I also have tested the cddatest program and after I have put in the cd and press any key I get the same error, but now in adress 018F:10025AF3

Anyone that have an answer???

  • You must to post comments
0
0

Try checking “Options” -> “Force ASPI” on and see if it works.

If not, run the cddatest program and send me the “fmodcdda.log” file that it produces. Even if it crashes it should still dump out some useful information.

Cheers,

  • You must to post comments
0
0

I have tried both but the problem is about the same.

Here is the dump of fmodcdda.log

FMOD Version: 3.73
OS Version: 4.10 Build 67766446 A
Finding devices:
C:\ = DRIVE_FIXED
D:\ = DRIVE_FIXED
E:\ = DRIVE_FIXED
F:\ = DRIVE_FIXED
G:\ = DRIVE_CDROM
ERROR: FSOUND_CDDA_NtScsi_GetFileHandle(6) failed
H:\ = DRIVE_NO_ROOT_DIR
I:\ = DRIVE_NO_ROOT_DIR
J:\ = DRIVE_NO_ROOT_DIR
K:\ = DRIVE_NO_ROOT_DIR
L:\ = DRIVE_NO_ROOT_DIR
M:\ = DRIVE_NO_ROOT_DIR
N:\ = DRIVE_NO_ROOT_DIR
O:\ = DRIVE_NO_ROOT_DIR
P:\ = DRIVE_NO_ROOT_DIR
Q:\ = DRIVE_NO_ROOT_DIR
R:\ = DRIVE_REMOTE
S:\ = DRIVE_REMOTE
T:\ = DRIVE_REMOTE
U:\ = DRIVE_REMOTE
V:\ = DRIVE_NO_ROOT_DIR
W:\ = DRIVE_NO_ROOT_DIR
X:\ = DRIVE_NO_ROOT_DIR
Y:\ = DRIVE_NO_ROOT_DIR
Z:\ = DRIVE_NO_ROOT_DIR
Using ASPI
00:00:00 = DTYPE_CDROM3


If I use Force ASPI (-a) in the cddatest I get this

Fmod Version 3.73
OS Version 4.10 Bulid 67766446 A
Using ASPI
00:00:00 DTYPE_CDROM6


I´m using Visual Basic 6 with servicepack 5, IE 5.5 and Win98 SE
I have tried it on a Win XP mashine also but the same problem.

I have tried both on a IDE and a SCSI CD-rom, the same thing

I hope this can help you…

  • You must to post comments
0
0

‘ open your whole cd as ‘one stream’
TempPointer = FSOUND_Stream_Open(“X:”, 0&, 0&, 0&)
If not TempPointer = 0& Then
‘ select your track with the setsubstream-function
TempResult = FSOUND_Stream_SetSubStream(TempPointer, TempDrvByte – 1&)
If not TempResult = 0& Then
‘ now access your cd-track as a standart media file (like mp3/wav/ogg)
end if
end if

  • You must to post comments
0
0

Your ASPI layer might be bad. Download Adaptec’s aspichk program here :

[url:35hocjx4]http://www.adaptec.com/worldwide/support/driverdetail.jsp?language=English+US&filekey=aspichk.exe&sess=no[/url:35hocjx4]

Run it and send me the results.

Cheers,

  • You must to post comments
0
0

I shall try it this weekend….
Thankz

  • You must to post comments
0
0

I have run it on one of my machines and this is the answer

WNASPI32.DLL 1.00(1) 05/05/99 36864
WINASPI.DLL 1.00(65) 05/05/99 3536
APIX.VXD 4.00(952) 05/05/99 29497
ASPIENUM.VXD N/A N/A N/A

It also say: “ASPI is not properly installed. One or more components have been replaced with older versions of the software.”

I can´t try it on the machine that I´m using to program but this machine does the same thing. Can it be the same problem in 3 machines??

  • You must to post comments
0
0

I have test it but I can´t get it to work.
I´m using fmod version 3.7.
The only thing I get is that the returnpointer is 0
Have something been changed in 3.73??

I use:
Dim l_Result as Long
l_Result = FSOUND_Stream_Open(“d:”, 0&, 0&, 0&)

l_Result is 0 every time.

  • You must to post comments
0
0

[quote="RadioDJ":urcc7psc]It also say: “ASPI is not properly installed. One or more components have been replaced with older versions of the software.”[/quote:urcc7psc]

You need to fix your ASPI layer. Go here :

[url:urcc7psc]http://aspi.radified.com/[/url:urcc7psc]

…and download “Force ASPI”.

  • You must to post comments
0
0

This is what I use:

SelectedDrive is previously chosen and in my case is “H:” or “I:”

After initialisation Open the CD:

CDHandle = FSOUND_Stream_Open(SelectedDrive, 0, 0, 0)
TotalTracks = FSOUND_Stream_GetNumSubStreams(CDHandle)

To play a track use:
TrackNumber is the track you want to play within the TotalTracks from above.

FSOUND_Stream_SetSubStream CDHandle, TrackNumber

Hope it helps.

TBE

  • You must to post comments
0
0

It works :-)

I shall try this at home to om my programingcomputer.

Thanks alot for all your help.
I hope it´s the same problem at home.

//Bosse

  • You must to post comments
0
0

I have tried all this but the only thing I get back is 0.
I haven´t got any pointer at all.
I have tried it on 2 different computers with the same result.
Some more things I can test with???

  • You must to post comments
0
0

Download the 3.73 media player and try to play some CDs. Make sure “Options” -> “Digital Playback” is checked on.

  • You must to post comments
0
0

Andrew

[quote:2pgjmdh7]Download the 3.73 media player and try to play some CDs. Make sure “Options” -> “Digital Playback” is checked on.[/quote:2pgjmdh7]

Where is this player as I do not remember seeing that option?

TBE

  • You must to post comments
0
0

Ignore my above message as I am being thick, of course the option is there!!

  • You must to post comments
Showing 15 results
Your Answer

Please first to submit.