Minor renames

This commit is contained in:
bnnm 2020-07-30 23:50:56 +02:00
parent 5daf36fbc8
commit 30eef7ed43
5 changed files with 10 additions and 10 deletions

View File

@ -486,8 +486,8 @@ void input_vgmstream::apply_config(VGMSTREAM* vgmstream) {
vcfg.allow_play_forever = 1;
vcfg.play_forever = loop_forever;
vcfg.loop_times = loop_count;
vcfg.fade_period = fade_seconds;
vcfg.loop_count = loop_count;
vcfg.fade_time = fade_seconds;
vcfg.fade_delay = fade_delay_seconds;
vcfg.ignore_loop = ignore_loop;

View File

@ -129,11 +129,11 @@ static void load_player_config(play_config_t* def, vgmstream_cfg_t* vcfg) {
def->really_force_loop = vcfg->really_force_loop;
def->ignore_fade = vcfg->ignore_fade;
def->loop_count = vcfg->loop_times; //todo loop times
def->loop_count = vcfg->loop_count;
def->loop_count_set = 1;
def->fade_delay = vcfg->fade_delay;
def->fade_delay_set = 1;
def->fade_time = vcfg->fade_period; //todo loop period
def->fade_time = vcfg->fade_time;
def->fade_time_set = 1;
}

View File

@ -53,9 +53,9 @@ typedef struct {
int ignore_fade; /* don't fade after N loops */
/* song processing */
double loop_times; /* target loops */
double loop_count; /* target loops */
double fade_delay; /* fade delay after target loops */
double fade_period; /* fade time after target loops */
double fade_time; /* fade period after target loops */
//int downmix; /* max number of channels allowed (0=disable downmix) */

View File

@ -936,8 +936,8 @@ static void apply_config(VGMSTREAM* vgmstream, winamp_settings_t* settings) {
vcfg.allow_play_forever = 1;
vcfg.play_forever = settings->loop_forever;
vcfg.loop_times = settings->loop_count;
vcfg.fade_period = settings->fade_time;
vcfg.loop_count = settings->loop_count;
vcfg.fade_time = settings->fade_time;
vcfg.fade_delay = settings->fade_delay;
vcfg.ignore_loop = settings->ignore_loop;

View File

@ -173,8 +173,8 @@ static void apply_config(VGMSTREAM* vgmstream) {
vcfg.allow_play_forever = 0;
//vcfg.play_forever = loop_forever;
vcfg.loop_times = loop_count;
vcfg.fade_period = fade_seconds;
vcfg.loop_count = loop_count;
vcfg.fade_time = fade_seconds;
vcfg.fade_delay = fade_delay;
vcfg.ignore_loop = ignore_loop;