mp3splt-gtk
splt_struct Struct Reference

#include <mp3splt.h>

Collaboration diagram for splt_struct:

Data Fields

int allocated_splitnumber
int current_split
int current_split_file_number
void(* file_split )(const char *, int, void *)
void * file_split_cb_data
void(* get_silence_level )(long time, float level, void *user_data)
splt_progressp_bar
splt_pointpoints
void(* put_message )(const char *, splt_message_type, void *)
void * put_message_cb_data
int real_splitnumber
int real_tagsnumber
void * silence_level_client_data
int splitnumber
splt_tagstags
splt_tags tags_like_x
long total_time

Detailed Description

The data libmp3splt keeps all its internal data in.

Definition at line 371 of file mp3splt.h.

Field Documentation

int splt_struct::allocated_splitnumber

allocated space for the number of splitpoints

Definition at line 389 of file mp3splt.h.

int splt_struct::current_split

When splitting: the number of the last splitpoint we arrived at.

Definition at line 375 of file mp3splt.h.

int splt_struct::current_split_file_number

for user feedback: the number of the file we are splitting

Definition at line 377 of file mp3splt.h.

void(* splt_struct::file_split)(const char *, int, void *)

Pointer to the fallback function that is called when the library starts to split a new file.

the char* is the filename that is currently being split.

Definition at line 397 of file mp3splt.h.

void(* splt_struct::get_silence_level)(long time, float level, void *user_data)

callback for sending the silence level to the client

Definition at line 403 of file mp3splt.h.

splt_progress* splt_struct::p_bar

All infos for the progress bar.

Definition at line 401 of file mp3splt.h.

splt_point* splt_struct::points

structure in which we have all the splitpoints

Definition at line 410 of file mp3splt.h.

void(* splt_struct::put_message)(const char *, splt_message_type, void *)

sends a message to the main program to tell what we are doing

Definition at line 407 of file mp3splt.h.

int splt_struct::real_splitnumber

how many splitpoints do we have?

Definition at line 387 of file mp3splt.h.

int splt_struct::real_tagsnumber

how many tags do we have?

Definition at line 412 of file mp3splt.h.

void* splt_struct::silence_level_client_data

user data set by the client for the 'get_silence_level' function

Definition at line 405 of file mp3splt.h.

int splt_struct::splitnumber

how many split points do we have?

this is updated only by check_splitpts_inf_song_length() If this function has not been called look at real_splitnumber instead.

Definition at line 385 of file mp3splt.h.

splt_tags* splt_struct::tags

structure in which we have all the tags

Definition at line 414 of file mp3splt.h.

long splt_struct::total_time

total time of the song

Definition at line 373 of file mp3splt.h.


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