From f76b2f2046d1eaefae8bf6f46c6388817d8bc284 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 3 Nov 2009 07:58:10 +0000 Subject: Initial recording screen skin support (usable in .sbs skins only for now) new skin tokens: %Rp - does the target have recording? %Rf - samplerate %Re - encoder %Rb - bitrate %Rm - mono/stereo Please put all bugs from these (which very probably dont work 100%) into FS#10755. And someone who knows how the recoding capabilities work please look this over... ideally the same value should be returned for the middle three tags no matter what the capabilities of the target are. CustomWPS on the wiki for more details git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23491 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_tokens.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/gui/skin_engine/skin_tokens.h') diff --git a/apps/gui/skin_engine/skin_tokens.h b/apps/gui/skin_engine/skin_tokens.h index 6d783551e6..31546b8cf6 100644 --- a/apps/gui/skin_engine/skin_tokens.h +++ b/apps/gui/skin_engine/skin_tokens.h @@ -193,6 +193,13 @@ enum wps_token_type { /* Setting option */ WPS_TOKEN_SETTING, WPS_TOKEN_CURRENT_SCREEN, + + /* Recording Tokens */ + WPS_TOKEN_HAVE_RECORDING, + WPS_TOKEN_REC_FREQ, + WPS_TOKEN_REC_ENCODER, + WPS_TOKEN_REC_BITRATE, /* SWCODEC: MP3 bitrate, HWCODEC: MP3 "quality" */ + WPS_TOKEN_REC_MONO, }; struct wps_token { -- cgit v1.2.3