dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Proposed Function Additions to Plugins

Re: Proposed Function Additions to Plugins

From: Wilgus William via rockbox-dev <>
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
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
Add Sleep Timer functions to plugin api Adds: set_sleeptimer_duration(int
minutes) get_sleep_timer(void)
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