summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-03-22 09:40:26 +0000
committerDave Chapman <dave@dchapman.com>2007-03-22 09:40:26 +0000
commit46cf8805b6cbbc9ad0499f58cf661f80362e2533 (patch)
treeea331f1e4fe26b4aa1d5520a0b86645ecb467095 /apps/plugin.h
parent831084842182c076cbf5e8f7bf089029dbab8ae6 (diff)
downloadrockbox-46cf8805b6cbbc9ad0499f58cf661f80362e2533.zip
rockbox-46cf8805b6cbbc9ad0499f58cf661f80362e2533.tar.gz
rockbox-46cf8805b6cbbc9ad0499f58cf661f80362e2533.tar.bz2
rockbox-46cf8805b6cbbc9ad0499f58cf661f80362e2533.tar.xz
Oops, only swcodec targets have pcm_get_bytes_waiting()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12885 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 087908b..dbe7936 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -603,7 +603,9 @@ struct plugin_api {
int (*playlist_start)(int start_index, int offset);
struct system_status *global_status;
+#if CONFIG_CODEC == SWCODEC
size_t (*pcm_get_bytes_waiting)(void);
+#endif
};
/* plugin header */