| 118 |
/* champ deja grave */ |
/* champ deja grave */ |
| 119 |
f=f+strlen(CDRDAO_WROTE); |
f=f+strlen(CDRDAO_WROTE); |
| 120 |
Lde = atof(f); |
Lde = atof(f); |
| 121 |
if ((f=next_no_numeric(f))) { |
if ((f=tools_next_no_numeric(f))) { |
| 122 |
*(f++)=0; |
*(f++)=0; |
| 123 |
if ((f=strstr(f, CDRDAO_OF))) { |
if ((f=strstr(f, CDRDAO_OF))) { |
| 124 |
f=f+strlen(CDRDAO_OF); |
f=f+strlen(CDRDAO_OF); |
| 125 |
|
|
| 126 |
La = atof(f); |
La = atof(f); |
| 127 |
|
|
| 128 |
if ((f=next_no_numeric(f))) { |
if ((f=tools_next_no_numeric(f))) { |
| 129 |
*(f++)=0; |
*(f++)=0; |
| 130 |
|
|
| 131 |
if ((f=strstr(f, CDRDAO_BUFFERS))) { |
if ((f=strstr(f, CDRDAO_BUFFERS))) { |
| 132 |
f=f+strlen(CDRDAO_BUFFERS); |
f=f+strlen(CDRDAO_BUFFERS); |
| 133 |
e=ltrim(f); |
e=ltrim(f); |
| 134 |
Lgbuf = atof(e); |
Lgbuf = atof(e); |
| 135 |
if ((f=next_putzero(e, '%'))) { |
if ((f=tools_next_putzero(e, '%'))) { |
| 136 |
e=ltrim(f); |
e=ltrim(f); |
| 137 |
Lfifo = atof(e); |
Lfifo = atof(e); |
| 138 |
if (next_putzero(e, '%')) Lok = TRUE; |
if (tools_next_putzero(e, '%')) Lok = TRUE; |
| 139 |
} |
} |
| 140 |
} |
} |
| 141 |
} |
} |
| 206 |
} else if ((f=strstr(Lbuffer, CDRDAO_ANALYZING))) { |
} else if ((f=strstr(Lbuffer, CDRDAO_ANALYZING))) { |
| 207 |
/* mise a jour du titre analyse de la piste en cours */ |
/* mise a jour du titre analyse de la piste en cours */ |
| 208 |
f=f+strlen(CDRDAO_ANALYZING); |
f=f+strlen(CDRDAO_ANALYZING); |
| 209 |
if ((e=next_no_numeric(f))) { |
if ((e=tools_next_no_numeric(f))) { |
| 210 |
*e=0; |
*e=0; |
| 211 |
g_snprintf(Lsbuf, sizeof(Lsbuf)-1, _("Analyzing track %s at %s..."), f, Latspeed); |
g_snprintf(Lsbuf, sizeof(Lsbuf)-1, _("Analyzing track %s at %s..."), f, Latspeed); |
| 212 |
gtk_label_set_text(Ltitle, Lsbuf); |
gtk_label_set_text(Ltitle, Lsbuf); |
| 214 |
} else if ((f=strstr(Lbuffer, CDRDAO_WRITING_TRACK))) { |
} else if ((f=strstr(Lbuffer, CDRDAO_WRITING_TRACK))) { |
| 215 |
/* mise a jour du titre ecriture de la piste en cours */ |
/* mise a jour du titre ecriture de la piste en cours */ |
| 216 |
f=f+strlen(CDRDAO_WRITING_TRACK); |
f=f+strlen(CDRDAO_WRITING_TRACK); |
| 217 |
if ((e=next_no_numeric(f))) { |
if ((e=tools_next_no_numeric(f))) { |
| 218 |
gboolean *Lsimul = (gboolean *) sc_grave_get_data(Lg, "simul"); /* simulation */ |
gboolean *Lsimul = (gboolean *) sc_grave_get_data(Lg, "simul"); /* simulation */ |
| 219 |
|
|
| 220 |
*e=0; |
*e=0; |
| 230 |
} else if ((f=strstr(Lbuffer, CDRDAO_COPYING_TRACK))) { |
} else if ((f=strstr(Lbuffer, CDRDAO_COPYING_TRACK))) { |
| 231 |
/* mise a jour du titre ecriture de la piste en cours */ |
/* mise a jour du titre ecriture de la piste en cours */ |
| 232 |
f=f+strlen(CDRDAO_COPYING_TRACK); |
f=f+strlen(CDRDAO_COPYING_TRACK); |
| 233 |
if ((e=next_no_numeric(f))) { |
if ((e=tools_next_no_numeric(f))) { |
| 234 |
*e=0; |
*e=0; |
| 235 |
g_snprintf(Llasttrack, _BUF_SIZE-1, "%s", f); |
g_snprintf(Llasttrack, _BUF_SIZE-1, "%s", f); |
| 236 |
g_snprintf(Lsbuf, sizeof(Lsbuf)-1, _("Reading track %s at %s..."), f, Latspeed); |
g_snprintf(Lsbuf, sizeof(Lsbuf)-1, _("Reading track %s at %s..."), f, Latspeed); |
| 265 |
gboolean copycd(Tgrave *Ag, GError **Aerror) { |
gboolean copycd(Tgrave *Ag, GError **Aerror) { |
| 266 |
GtkWindow *Lwindow = GTK_WINDOW(sc_grave_get_data(Ag, "window_burn")); |
GtkWindow *Lwindow = GTK_WINDOW(sc_grave_get_data(Ag, "window_burn")); |
| 267 |
GtkWidget *Lvitesse = sc_grave_get_widget(Ag, "dstcopyspeed"); |
GtkWidget *Lvitesse = sc_grave_get_widget(Ag, "dstcopyspeed"); |
| 268 |
Tdriveinfo *Lsource = get_drive_info(Ag, "srccopycombo"); |
Tdriveinfo *Lsource = matos_get_drive_info(Ag, "srccopycombo"); |
| 269 |
Tdriveinfo *Lgraveur = get_drive_info(Ag, "dstcopycombo"); |
Tdriveinfo *Lgraveur = matos_get_drive_info(Ag, "dstcopycombo"); |
| 270 |
gchar *Lrepertoire = (gchar *)sc_grave_get_data(Ag, "tmpdir"); |
gchar *Lrepertoire = (gchar *)sc_grave_get_data(Ag, "tmpdir"); |
| 271 |
gchar *Liso = (gchar *)sc_grave_get_data(Ag, "iso"); |
gchar *Liso = (gchar *)sc_grave_get_data(Ag, "iso"); |
| 272 |
gboolean *Loperationstatus = (gboolean *)sc_grave_get_data(Ag, "operationstatus"); |
gboolean *Loperationstatus = (gboolean *)sc_grave_get_data(Ag, "operationstatus"); |
| 354 |
* si il faut realiser d'autre gravure sur d'autres CD-R */ |
* si il faut realiser d'autre gravure sur d'autres CD-R */ |
| 355 |
Leject = ((Lcurcd > 1 && (Lwanteject || Lcurcd<Lnbrgravure)) || (Lcurcd == 1 && !Ldosimul && Lwanteject)); |
Leject = ((Lcurcd > 1 && (Lwanteject || Lcurcd<Lnbrgravure)) || (Lcurcd == 1 && !Ldosimul && Lwanteject)); |
| 356 |
|
|
| 357 |
|
/* try to umount device before device access */ |
| 358 |
|
matos_umount_device(Lgraveur, NULL); |
| 359 |
|
|
| 360 |
/* if (Lonfly || Ldosimul || Lcurcd == 1) { |
/* if (Lonfly || Ldosimul || Lcurcd == 1) { |
| 361 |
* copie a la volé, ou simulation, ou cd numero 1, on n'utilise pas l'image sauvé |
* copie a la volé, ou simulation, ou cd numero 1, on n'utilise pas l'image sauvé |
| 362 |
* lors de la precedente operation */ |
* lors de la precedente operation */ |