Rocket Division Software https://www.starburnsoftware.com/forum/ |
|
Setting the Drive-Speeds http://www.starburnsoftware.com/forum/starburn-sdk-f3/setting-the-drive-speeds-t41.html |
Page 1 of 1 |
Author: | SpinDoctor [ Thu Jul 08, 2004 4:21 pm ] |
Post subject: | Setting the Drive-Speeds |
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 |
Author: | anton (staff) [ Thu Jul 08, 2004 4:57 pm ] |
Post subject: | Re: Setting the Drive-Speeds |
Author: | SpinDoctor [ Thu Jul 08, 2004 5:49 pm ] |
Post subject: | |
Hi Anton. thanks, once again. so... 1) I have feared, THIS will be the answer ![]() ![]() 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 |
Author: | anton (staff) [ Thu Jul 08, 2004 6:01 pm ] |
Post subject: | |
Author: | SpinDoctor [ Thu Jul 08, 2004 6:22 pm ] |
Post subject: | geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1 |
Author: | anton (staff) [ Thu Jul 08, 2004 6:31 pm ] |
Post subject: | Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1 |
Author: | SpinDoctor [ Thu Jul 08, 2004 7:02 pm ] |
Post subject: | Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1 |
[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 ![]() thanks and bye for today Spin |
Author: | anton (staff) [ Thu Jul 08, 2004 7:44 pm ] |
Post subject: | Re: geeeeeee, this is great!!!!!!!!!!!!!!!!!!!!!1 |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |