#1 Burning Software

It is currently Tue Dec 24, 2024 1:58 am

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: DiskAtOnceFromFile Questions
PostPosted: Fri Sep 17, 2004 1:19 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I've been looking through the DiskAtOnceFromFile example and I have several questions. This may just be showing my ignorance but I need to ask them anyway.

Why do you do a SetSpeeds then a GetSpeeds?
Why do you do a GetTrackInformation before you write?
Why do you do a GetDiskInformation before you write?
What does the SetCDTextItem do?
How do I set the gap between tracks for an audioCD?


Top
 Profile  
 
 Post subject: DiskAtOnceFromFile Large Integer Question
PostPosted: Fri Sep 17, 2004 2:25 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I'm not really following what you are doing with the long integers. It looks like the values are being passed through the callback. Where does the quadpart come into play? I can't seem to find a structure or anything with that attribute. Is that something native to C++ or something?

How do I translate that in VB? Can I use a double or something?


Top
 Profile  
 
 Post subject: Re: DiskAtOnceFromFile Questions
PostPosted: Fri Sep 17, 2004 7:25 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

bbriggstkd wrote:
Why do you do a SetSpeeds then a GetSpeeds?


To know the current speed.

bbriggstkd wrote:
Why do you do a GetTrackInformation before you write?


To get information about free space on the disc

bbriggstkd wrote:
Why do you do a GetDiskInformation before you write?


To know the status of the last session and the status of the disc.
Disc can be closed.

bbriggstkd wrote:
What does the SetCDTextItem do?


It sets CD-TEXT for audio CD. But, CD-TEXT supported only for
Disc-At-Once raw P-W mode. For other modes it will be ignored.
ps. CD-TEXT - it's a text information about audio tracks. It can be recognized by some players and grabbers. For example, by CDEx.

bbriggstkd wrote:
How do I set the gap between tracks for an audioCD?


Anton will answer you.

bbriggstkd wrote:
I'm not really following what you are doing with the long integers. It looks like the values are being passed through the callback. Where does the quadpart come into play? I can't seem to find a structure or anything with that attribute. Is that something native to C++ or something?

How do I translate that in VB? Can I use a double or something?


LARGE_INTEGER - it's a 64-bits integer type.
quadpart - it's a 64-bits part of LARGE_INTEGER
lowpart - it's a low 32-bits of LARGE_INTEGER
hipart - it's a high 32 bits of LARGE_INTEGER

Bye.


Top
 Profile  
 
 Post subject: More Questions
PostPosted: Fri Sep 17, 2004 9:36 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
So you use GetSpeeds to get the drive speed before writing but I didn't see where you did anything with the information. What do you do with it?

You didn't answer the the question about using large integer with VB.

In the disk layout entry structure you have TrackStartingLBA and TrackSizeinLB. How do I calculate those?


Top
 Profile  
 
 Post subject: Re: More Questions
PostPosted: Fri Sep 17, 2004 10:11 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
So you use GetSpeeds to get the drive speed before writing but I didn't see where you did anything with the information. What do you do with it?


We are just informing the user about current / maximum speeds.

bbriggstkd wrote:
You didn't answer the the question about using large integer with VB.


Please, define the following type:
Code:
Type Large_Integer
      lowpart as long
      highpart as long
End Type


And then convert Lasrge_Integer to Double:
Code:
Dim X As Double
Dim li As Large_Integer
X = li.highpart
X = X * 256 * 256 * 256 * 256
X = X + li.lowpart
MsgBox X


bbriggstkd wrote:
In the disk layout entry structure you have TrackStartingLBA and TrackSizeinLB. How do I calculate those?


You don't need them to initialize or calculate. Just copy only file name and that's all. See our samples. We don't initialize them at all.


Top
 Profile  
 
 Post subject: Large Integer
PostPosted: Fri Sep 17, 2004 2:05 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
Thank you for the information. I was thinking along those lines myself. At least I was on the right track.


Top
 Profile  
 
 Post subject: Re: Large Integer
PostPosted: Fri Sep 17, 2004 9:11 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
BTW, are you writing commercial application or coding just for fun?

bbriggstkd wrote:
Thank you for the information. I was thinking along those lines myself. At least I was on the right track.


Top
 Profile  
 
 Post subject: Program
PostPosted: Mon Sep 20, 2004 1:03 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I'm currently writing a program for my church. One of the steps in the process is to burn an audio CD.


Top
 Profile  
 
 Post subject: Marketing Program
PostPosted: Mon Sep 20, 2004 1:25 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
If the program works well at my church, I may market it to other churches but we'll have to wait and see about that.


Top
 Profile  
 
 Post subject: audio track gap
PostPosted: Tue Sep 21, 2004 11:12 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I still need the question on the audio track gap answered.


Top
 Profile  
 
 Post subject: Re: audio track gap
PostPosted: Wed Sep 22, 2004 5:40 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
I still need the question on the audio track gap answered.


We have looked at our current API of StarBurn SDK and discovered that there is no way to control the gap for audio track for SessionAtOnce mode.

We will provide such function in the one of the next builds of StarBurn.


Top
 Profile  
 
 Post subject: gapless audio disk
PostPosted: Wed Sep 22, 2004 11:41 am 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
Is there another way to burn a gapless audio disk? Can I do it whith TAO or DAO?

What kind of timeframe are you looking at for the update?


Top
 Profile  
 
 Post subject: Re: gapless audio disk
PostPosted: Wed Sep 22, 2004 1:25 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

bbriggstkd wrote:
Is there another way to burn a gapless audio disk? Can I do it whith TAO or DAO?


Gapless audiodisk can be burned only in SAO or DAO mode. (not TAO).
But current version of StarBurn does not provide such interface for the users.

bbriggstkd wrote:
What kind of timeframe are you looking at for the update?


We are planning next release of StarBurn SDK in october.

Bye.


Top
 Profile  
 
 Post subject: October
PostPosted: Wed Sep 22, 2004 2:32 pm 
Offline

Joined: Mon Sep 06, 2004 1:45 pm
Posts: 118
I'm assuming then that gapless audio tracks will be supported when you have the new release in October?


Top
 Profile  
 
 Post subject: Re: October
PostPosted: Wed Sep 22, 2004 2:48 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bbriggstkd wrote:
I'm assuming then that gapless audio tracks will be supported when you have the new release in October?


Yes, you are right.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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