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

Rockbox mail archive

Subject: Proposed Function Additions to Plugins

Proposed Function Additions to Plugins

From: Wilgus William via rockbox-dev <>
Date: Wed, 23 Aug 2017 11:25:30 -0400

Hello Fellow Rockboxers,

Good News Everyone :)

heh, I'd like to add a few functions to the plugin API and lua

First are a few IMO important settings for the plugin API

    *sound_current(int setting)*

* returns the current sound setting from global_settings*
* complements sound_max, sound_min and sound_default*

^This will allow current sound setting to be read consistent with how the
current functions allow min, max and default to be read from a plugin

* set_sleeptimer_duration(int minutes)*
* get_sleep_timer(void)*

^I'd like to add this to allow sleep timer to be read/set/reset from plugins

* set_speaker_mode(int speaker_mode)*
* get_speaker_mode(void)*

I'd also like to get g#1566 Committed for lua to have access to the version


Any suggestions, objections, etc.. I'd like to get these added before too
very much more time passes

Thanks, Bilgus
Received on 2017-08-23

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy