i have a multithreaded component and want to control foobar.
play_control::get()->play_stop();
is obviously not the way to go, as play_control is not multithreading-safe.
would
menu_manager::run_command("Playback/Next");
work? is it available in all possible foobar installations? or do i have to do a ShellExecute() which i think would have quite some overhead?