1
0
Fork 0
forked from len0rd/rockbox

Listen to and follow external Android volume changes. (Based on FS#11914 by Maurus Cuelenaere)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29586 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2011-03-14 12:25:48 +00:00
parent 606bed035e
commit e50cc0e3d7
8 changed files with 95 additions and 3 deletions

View file

@ -137,6 +137,10 @@ int get_cpu_boost_counter(void);
#undef htobe32
#endif
#if (CONFIG_PLATFORM & PLATFORM_HOSTED) && defined(PLATFORM_HAS_VOLUME_CHANGE)
int hosted_get_volume(void);
#endif
/* Get the byte offset of a type's member */
#define OFFSETOF(type, membername) ((off_t)&((type *)0)->membername)