#1 Burning Software

It is currently Fri Mar 07, 2025 10:16 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Setting the Drive-Speeds
PostPosted: Thu Jul 08, 2004 4:21 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany
Hi again.
I'm having trouble setting a DVD-ROM's Read-Speed.
The situation:
DVD-Drive: RED/RED/RED (RED/RED/RED)

I can create the object and get device-information via:
GREEN,
GREEN,
GREEN and
GREEN.
After the call to these functions, all Read-Values are true/all Write-Values are false (naturally)

The call to GREEN is also successfull (GREEN), but the returned values are:
MaxRead = 8448 (OK)
CurRead = 0 !!!! (Why this?)
Both Write-Speeds are 0 (OK with me)

Every attempt to call GREEN with whatever ReadSpeed will fail! I even tried to set the read-speed to 8448 (the max value) with the write-speed set to 0 or to -1 (0xFFFFFFFF) or 65535 (0xFFFF).
Does this function try to set the Write-Speed even if it's a reader???

Another thing is: How can I determine the possible Read/Write speeds for a Drive? I thought, a good idea would be to set all known speeds (1x, 2x, 4x a.s.o.) and trigger for the return value, but it seems, that my CD-Writer has it's own defaults, eg: setting the Read-Speed to 1400 (8x) will succeed (GREEN) but actually set the Read-Speed to 1058 (says GREEN).
I want to provide a choice (combobox) to the enduser with all possible speeds...any idea?

thankfull for every help

SpinDoctor


Top
 Profile  
 
 Post subject: Re: Setting the Drive-Speeds
PostPosted: Thu Jul 08, 2004 4:57 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 08, 2004 5:49 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany
Hi Anton.

thanks, once again. so...

1) I have feared, THIS will be the answer :? , so I have to learn to live with it :D .. it's OK with me...

2) without having a view in DbgViews online help now (I've just downloaded it 2 minutes ago...), do I have to attach it with a process??? I have just startet it, ran my program and let it call ...SetSpeeds with failure...nothing in DbgViews Window!?!?!?!? Ok, a bit more info now (I missed it in my last post)...SetSpeeds returns GREEN and the GREEN-structure looks like:
- stCDB_FAILURE_INFORMATION {...} _CDB_FAILURE_INFORMATION
m__BOOLEAN__IsValid 1 '␁' unsigned char
m__UCHAR__CDBSizeInUCHARs 12 '␌' unsigned char
+ m__UCHAR__CDB 0x0012ef96 "╗" unsigned char [16]
m__UCHAR__SenseSizeInUCHARs 14 '␎' unsigned char
+ m__UCHAR__Sense 0x0012efa7 "p" unsigned char [32]
m__UCHAR__TransportStatus 4 '␄' unsigned char
m__UCHAR__TargetStatus 2 '␂' unsigned char
m__UCHAR__HostAdapterStatus 0 unsigned char

the output-window in VisualStudio shows:

GREEN

What would DbgView print in such a case??? more information?

Anyway, I don't know, how to interprete this all...sorry
Hope, you know what happend there and that you can tell me, where my fault is.

finally 3) OK, it's a good idea, to do so.

thanks alot for all
Spin


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 08, 2004 6:01 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
 Post subject: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1
PostPosted: Thu Jul 08, 2004 6:22 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany


Top
 Profile  
 
 Post subject: Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1
PostPosted: Thu Jul 08, 2004 6:31 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
 Post subject: Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1
PostPosted: Thu Jul 08, 2004 7:02 pm 
Offline

Joined: Thu Jul 08, 2004 8:25 am
Posts: 51
Location: Germany
[quote=anton (staff)"]...
I'm sorry but 1:1 copy of the audio CDs would not appear soon. MP3 and WMA direct decompression -- YES, compression WAV -> WMA -- YES (no MP3 compression b/s of the licensing limitations). But no 1:1 DIRECT copy (w/o intermediate imge on the hard disk) for now.
...[/quote]
with this reply, you answered a question I posted, while you were writing it...
(that's weired, for sure)
after sending the last post (actually, between sending 2 posts) I added GREEN to my code :wink:

thanks and bye for today
Spin


Top
 Profile  
 
 Post subject: Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1
PostPosted: Thu Jul 08, 2004 7:44 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group