mp3splt-gtk
splt_progres Struct Reference

#include <mp3splt.h>

Collaboration diagram for splt_progres:

Data Fields

int current_split
char filename_shorted [512]
int max_splits
float percent_progress
void(* progress )(struct splt_progres *, void *)
void * progress_cb_data
int progress_text_max_char
int progress_type
float silence_db_level
int silence_found_tracks
int user_data

Detailed Description

The data structure for the progress bar.

The meanings of the values are:

float = fraction in percent char * = string (name on the progress bar)

Definition at line 305 of file mp3splt.h.

Field Documentation

int splt_progres::current_split

the splitpoint we are currently splitting

Definition at line 316 of file mp3splt.h.

char splt_progres::filename_shorted[512]

Name of the file we are currently splitting.

Definition at line 312 of file mp3splt.h.

int splt_progres::max_splits

the maximum number of splits

Definition at line 318 of file mp3splt.h.

float splt_progres::percent_progress

the current percent of the progress

Definition at line 314 of file mp3splt.h.

void(* splt_progres::progress)(struct splt_progres *, void *)

A pointer to the callback function.

Definition at line 338 of file mp3splt.h.

int splt_progres::progress_text_max_char

maximum number of characters for the filename

(without the extension) when displaying the progress warning; default is 40

Definition at line 310 of file mp3splt.h.

int splt_progres::progress_type

the progress bar type

can be:

  • SPLT_PROGRESS_PREPARE
  • SPLT_PROGRESS_CREATE
  • SPLT_PROGRESS_SEARCH_SYNC
  • SPLT_PROGRESS_SCAN_SILENCE

Definition at line 326 of file mp3splt.h.

float splt_progres::silence_db_level

The silence leven in dB.

Definition at line 330 of file mp3splt.h.

int splt_progres::silence_found_tracks

infos for the silence split

Definition at line 328 of file mp3splt.h.

int splt_progres::user_data

use this variable as you wish

this variable will not be modified by the library but it will be 0 at the start

Definition at line 336 of file mp3splt.h.


The documentation for this struct was generated from the following file: