alfred wrote:
Ive tried doing :
Device.TrackAtOnceFromFile("c:\\audio\\1.wav",false,true);
-Where I assume 1.wav is just in PCM format-
And that doesnt work.
Do I use CDAOLayout class? - i think this isn't implemented.
Or How else should I use the OCX?
Thanks
Alfred
You are right. The code is ok.
I have the same code working:
Code:
{
Device.TestUnitReady();
Device.SetSpeeds(
0xFFFF,
0xFFFF
);
Device.TrackAtOnceFromFile("c:\\audio\\1.wav",false,true);
Device.TrackAtOnceFromFile("c:\\audio\\2.wav",false,true);
Device.TrackAtOnceFromFile("c:\\audio\\3.wav",false,true);
Device.CloseSession();
Device.Eject();
WScript.echo('Finished');
For details I need logs from you. But may be you does not close session?
Or try another file (mp3 for example) to verify may be the file is wrong.
Regards.