summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_tokens.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-03 07:58:10 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-03 07:58:10 +0000
commitf76b2f2046d1eaefae8bf6f46c6388817d8bc284 (patch)
treeed2fcefe7b595664f4bbaf6bcf4cf0b068e0a15a /apps/gui/skin_engine/skin_tokens.h
parentd06aafc03a594ed7ad8833babf78d31b091c72ee (diff)
downloadrockbox-f76b2f2046d1eaefae8bf6f46c6388817d8bc284.tar.gz
rockbox-f76b2f2046d1eaefae8bf6f46c6388817d8bc284.zip
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
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.h')
-rw-r--r--apps/gui/skin_engine/skin_tokens.h7
1 files changed, 7 insertions, 0 deletions
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 {
193 /* Setting option */ 193 /* Setting option */
194 WPS_TOKEN_SETTING, 194 WPS_TOKEN_SETTING,
195 WPS_TOKEN_CURRENT_SCREEN, 195 WPS_TOKEN_CURRENT_SCREEN,
196
197 /* Recording Tokens */
198 WPS_TOKEN_HAVE_RECORDING,
199 WPS_TOKEN_REC_FREQ,
200 WPS_TOKEN_REC_ENCODER,
201 WPS_TOKEN_REC_BITRATE, /* SWCODEC: MP3 bitrate, HWCODEC: MP3 "quality" */
202 WPS_TOKEN_REC_MONO,
196}; 203};
197 204
198struct wps_token { 205struct wps_token {