Rocket Division Software
http://www.starburnsoftware.com/forum/

how to burn on multiple devices in the same time?
http://www.starburnsoftware.com/forum/starburn-sdk-f3/how-burn-multiple-devices-the-same-time-t259.html
Page 1 of 1

Author:  i110_laurent [ Thu Jan 20, 2005 10:19 am ]
Post subject:  how to burn on multiple devices in the same time?

Hello,

I've already sent this topic on starwind but I was in the wrong forum. So...

I want burn on 2 devices in the same time with STARBURN SDK. how can I do that given we can only give 1 address to create function?

thank you

Author:  anton (staff) [ Thu Jan 20, 2005 8:08 pm ]
Post subject:  Re: how to burn on multiple devices in the same time?

I've already replied to you there. You need to create two (or more) instances or burning device obect with StarBurn_CdvdBurnerGrabber_Create(Ex) and pass different pointers to different file tree (or whatever you burn) objects. And you'll record to multiple burners in parallel.

i110_laurent wrote:
Hello,

I've already sent this topic on starwind but I was in the wrong forum. So...

I want burn on 2 devices in the same time with STARBURN SDK. how can I do that given we can only give 1 address to create function?

thank you

Author:  Layman [ Thu Mar 24, 2005 1:43 pm ]
Post subject:  Re: how to burn on multiple devices in the same time?

I have the same question and more.

If I get it right, the only way to monitor burning status and progress is via the DLL callback. While I don't see there is a parameter indicating burning device in the callback procedure, if I record on multiple burners in parallel and get information returned by the callback, how can I tell which piece of info is for which paticular burning device?

anton (staff) wrote:
You need to create two (or more) instances or burning device obect with StarBurn_CdvdBurnerGrabber_Create(Ex) and pass different pointers to different file tree (or whatever you burn) objects. And you'll record to multiple burners in parallel.

Author:  anton (staff) [ Thu Mar 24, 2005 1:48 pm ]
Post subject:  Re: how to burn on multiple devices in the same time?

You have "context" value. Pass f.e. back pointer to the burner object as context value and you'll differ your multiple burners perfectly.

Layman wrote:
I have the same question and more.

If I get it right, the only way to monitor burning status and progress is via the DLL callback. While I don't see there is a parameter indicating burning device in the callback procedure, if I record on multiple burners in parallel and get information returned by the callback, how can I tell which piece of info is for which paticular burning device?

anton (staff) wrote:
You need to create two (or more) instances or burning device obect with StarBurn_CdvdBurnerGrabber_Create(Ex) and pass different pointers to different file tree (or whatever you burn) objects. And you'll record to multiple burners in parallel.

Author:  Layman [ Thu Mar 24, 2005 2:10 pm ]
Post subject:  Re: how to burn on multiple devices in the same time?

Thanks for all your help. :D

Is the context parameter filled automatically? If so how can I tell it is referring to the burner object? (I use delphi and I see in the unit sampletools.pas that the parameter p__PVOID__CallbackContext is also used for counting number of tree nodes etc.) I find no document for this parameter...

[quote="anton (staff)"]You have "context" value. Pass f.e. back pointer to the burner object as context value and you'll differ your multiple burners perfectly.

Author:  anton (staff) [ Thu Mar 24, 2005 8:52 pm ]
Post subject:  Re: how to burn on multiple devices in the same time?

No, it's not filled automatically. It's just pure context value. You'll get in the callback exactly the one you'll pass to API call during object creation.

You're swapped burner object and file tree. They have different callbacks.

Layman wrote:
Thanks for all your help. :D

Is the context parameter filled automatically? If so how can I tell it is referring to the burner object? (I use delphi and I see in the unit sampletools.pas that the parameter p__PVOID__CallbackContext is also used for counting number of tree nodes etc.) I find no document for this parameter...

anton (staff) wrote:
You have "context" value. Pass f.e. back pointer to the burner object as context value and you'll differ your multiple burners perfectly.

Author:  Layman [ Fri Mar 25, 2005 5:28 am ]
Post subject:  Re: how to burn on multiple devices in the same time?

Got it! Thanks a lot.

anton (staff) wrote:
No, it's not filled automatically. It's just pure context value. You'll get in the callback exactly the one you'll pass to API call during object creation.

Author:  anton (staff) [ Fri Mar 25, 2005 11:07 am ]
Post subject:  Re: how to burn on multiple devices in the same time?

No problem! Let me know if you'll have other questions. Thank you :)

Layman wrote:
Got it! Thanks a lot.

anton (staff) wrote:
No, it's not filled automatically. It's just pure context value. You'll get in the callback exactly the one you'll pass to API call during object creation.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/