summaryrefslogtreecommitdiff
path: root/firmware/export/audio.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-09-01 21:29:34 +0000
committerThomas Martitz <kugel@rockbox.org>2010-09-01 21:29:34 +0000
commit6eaab4d00446c070c655f0e6c9a872532a776b6f (patch)
tree69610996dd0a6092459b14e164d4e48e03b1e5bb /firmware/export/audio.h
parent8e0a0babc57db3e9edc06f3e269fb47c27292ed5 (diff)
downloadrockbox-6eaab4d00446c070c655f0e6c9a872532a776b6f.tar.gz
rockbox-6eaab4d00446c070c655f0e6c9a872532a776b6f.zip
Ged rid of uisimulator/common/io.c for android builds.
Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants. Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know). For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one, the values can be retrieved via the new dir_get_info(). Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/audio.h')
-rw-r--r--firmware/export/audio.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index b81597a892..34bcfb6b8f 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -35,11 +35,6 @@
35#endif /* HAVE_RECORDING */ 35#endif /* HAVE_RECORDING */
36#endif /* CONFIG_CODEC == SWCODEC */ 36#endif /* CONFIG_CODEC == SWCODEC */
37 37
38
39#if (CONFIG_PLATFORM & PLATFORM_HOSTED)
40#define audio_play(x) sim_audio_play(x)
41#endif
42
43#define AUDIO_STATUS_PLAY 0x0001 38#define AUDIO_STATUS_PLAY 0x0001
44#define AUDIO_STATUS_PAUSE 0x0002 39#define AUDIO_STATUS_PAUSE 0x0002
45#define AUDIO_STATUS_RECORD 0x0004 40#define AUDIO_STATUS_RECORD 0x0004