2006-08-15 20:37:04 +00:00
|
|
|
/* -*- indent-tabs-mode: t; tab-width: 8; c-basic-offset: 8; -*- */
|
|
|
|
|
2010-02-14 08:45:14 +00:00
|
|
|
/* Copyright (c) 2004 - 2006 Derek Foreman, Ben Jansens
|
|
|
|
Copyright (c) 2006 - 2010 Thomas Schmitt <scdbackup@gmx.net>
|
|
|
|
Provided under GPL version 2 or later.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
#ifndef BURN__WRITE_H
|
|
|
|
#define BURN__WRITE_H
|
|
|
|
|
|
|
|
struct cue_sheet;
|
|
|
|
struct burn_session;
|
|
|
|
struct burn_write_opts;
|
|
|
|
struct burn_disc;
|
|
|
|
|
|
|
|
struct cue_sheet *burn_create_toc_entries(struct burn_write_opts *o,
|
2006-11-15 09:05:06 +00:00
|
|
|
struct burn_session *session,
|
|
|
|
int nwa);
|
2006-08-15 20:37:04 +00:00
|
|
|
int burn_sector_length(int trackmode);
|
|
|
|
int burn_subcode_length(int trackmode);
|
2006-10-10 11:26:46 +00:00
|
|
|
|
|
|
|
/* ts A61009 */
|
2007-02-19 22:51:39 +00:00
|
|
|
int burn_disc_write_is_ok(struct burn_write_opts *o, struct burn_disc *disc,
|
|
|
|
int flag);
|
2006-10-10 11:26:46 +00:00
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
void burn_disc_write_sync(struct burn_write_opts *o, struct burn_disc *disc);
|
|
|
|
int burn_write_leadin(struct burn_write_opts *o,
|
|
|
|
struct burn_session *s, int first);
|
|
|
|
int burn_write_leadout(struct burn_write_opts *o,
|
|
|
|
int first, unsigned char control, int mode);
|
|
|
|
int burn_write_session(struct burn_write_opts *o, struct burn_session *s);
|
|
|
|
int burn_write_track(struct burn_write_opts *o, struct burn_session *s,
|
|
|
|
int tnum);
|
2006-11-01 16:39:07 +00:00
|
|
|
int burn_write_flush(struct burn_write_opts *o, struct burn_track *track);
|
2006-08-15 20:37:04 +00:00
|
|
|
|
2006-10-31 11:55:51 +00:00
|
|
|
/* ts A61030 : necessary for TAO */
|
2006-11-03 15:10:24 +00:00
|
|
|
int burn_write_close_track(struct burn_write_opts *o, struct burn_session *s,
|
|
|
|
int tnum);
|
2011-05-31 10:32:21 +00:00
|
|
|
int burn_write_close_session(struct burn_write_opts *o);
|
2006-10-31 11:55:51 +00:00
|
|
|
|
2007-02-25 11:26:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* mmc5r03c.pdf 6.3.3.3.3: DVD-R DL: Close Function 010b: Close Session
|
|
|
|
"When the recording mode is Incremental Recording,
|
|
|
|
the disc is single session."
|
|
|
|
Enable this macro to get away from growisofs which uses Close Session
|
|
|
|
but also states "// DVD-R DL Seq has no notion of multi-session".
|
|
|
|
|
|
|
|
#define Libburn_dvd_r_dl_multi_no_close_sessioN 1
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2006-08-15 20:37:04 +00:00
|
|
|
#endif /* BURN__WRITE_H */
|