Hm... Subj.
#include "../SDK/config_var.h"
string8 temp;
config_var_string::g_get_value("CORE/Playback flow control",temp);
Thanks for the info, getting flow control works.
I've tried to use
config_var_string::g_set_value("CORE/Playback flow control", "Random");
but it doesn't work. Playback flow control remains the same (Default).
What is the right way to set it?
Weird, I have similar code (in main menu) that works.
static void set_playback_flow(const char * name)
{
config_var_string::g_set_value("CORE/Playback flow control",name);
}
Worked for me as well. Exactly what I needed, too! Thanks!
It was a problem in my conditional statement, works fine now, 10x.
It does not work in 0.7b15!!!
It does not work in 0.7b15!!!
Sure it doesn't. Code displaying the menu does what I posted; if this doesn't work for you, then you have a problem somewhere else.
It worked in previous betas!
Well, we can keep arguing if it works or not, until you finally decide to post your code, and point which part "doesn't work" and what exactly your problem is.
config_var_string::g_set_value( "CORE/Playback flow control", "Random" ) ;
// it worked in previous beta, but now it doesn't
It works! hmmmm
is there any list of available constants?
You can pull list of available public config variables using config_var methods, and names of available shuffle/repeat/etc can be retrieved from playback_flow_control.