libmp3splt
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 *)
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 297 of file mp3splt.h.


Field Documentation

the splitpoint we are currently splitting

Definition at line 308 of file mp3splt.h.

Name of the file we are currently splitting.

Definition at line 304 of file mp3splt.h.

the maximum number of splits

Definition at line 310 of file mp3splt.h.

the current percent of the progress

Definition at line 306 of file mp3splt.h.

A pointer to the callback function.

Definition at line 330 of file mp3splt.h.

Referenced by mp3splt_set_progress_function().

maximum number of characters for the filename

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

Definition at line 302 of file mp3splt.h.

the progress bar type

can be:

  • SPLT_PROGRESS_PREPARE
  • SPLT_PROGRESS_CREATE
  • SPLT_PROGRESS_SEARCH_SYNC
  • SPLT_PROGRESS_SCAN_SILENCE

Definition at line 318 of file mp3splt.h.

The silence leven in dB.

Definition at line 322 of file mp3splt.h.

infos for the silence split

Definition at line 320 of file mp3splt.h.

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 328 of file mp3splt.h.


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