|
Rockbox mail archiveSubject: Re: Proposed Function Additions to PluginsRe: Proposed Function Additions to Plugins
From: Wilgus William via rockbox-dev <rockbox-dev_at_cool.haxx.se>
Date: Thu, 24 Aug 2017 08:17:33 -0400 I split all the functions into their own separate commits, whomever commits them will have to make sure to keep track of the version depending on when if these eventually get added The new commits/ functions in the case of speaker_mode are as follows http://gerrit.rockbox.org/r/#/c/1567/ Add sound_current to plugin api Adds: sound_current(int setting) returns the current sound setting from global_settings complements sound_max, sound_min and sound_default http://gerrit.rockbox.org/r/#/c/1636/ Add Sleep Timer functions to plugin api Adds: set_sleeptimer_duration(int minutes) get_sleep_timer(void) http://gerrit.rockbox.org/r/#/c/1637/ Add speaker mode functions to plugin api Adds: set_speaker_mode(int speaker_mode, bool save_setting) get_speaker_mode(void) /* Do Note if you didn't save the setting you will not get the actual status only the last saved status of the speaker */ I'm not so sure about the save_setting argument as it would allow the setting to get out of sync with the actual status but, I guess you could look at get_speaker as the users desired mode? Received on 2017-08-24 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |