diff options
author | Brandon Low <lostlogic@rockbox.org> | 2007-10-27 04:16:41 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2007-10-27 04:16:41 +0000 |
commit | 14b6f437bbaaddaa47e6fb991a57c74e691b8c2b (patch) | |
tree | ff69bc062a12c23f459dc1d67ccd5cae2789fc47 /apps/buffering.h | |
parent | 404c6fbdb288de0e88eeb7484e2ab524ef438871 (diff) | |
download | rockbox-14b6f437bbaaddaa47e6fb991a57c74e691b8c2b.tar.gz rockbox-14b6f437bbaaddaa47e6fb991a57c74e691b8c2b.zip |
Make buffering initialization versus reset separate functions to avoid double initializing threads or mutexes more easily
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15327 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/buffering.h')
-rw-r--r-- | apps/buffering.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/buffering.h b/apps/buffering.h index a5ad1e283b..29771adc1a 100644 --- a/apps/buffering.h +++ b/apps/buffering.h | |||
@@ -37,7 +37,10 @@ enum data_type { | |||
37 | 37 | ||
38 | 38 | ||
39 | /* Initialise the buffering subsystem */ | 39 | /* Initialise the buffering subsystem */ |
40 | bool buffering_init(char *buf, size_t buflen); | 40 | void buffering_init(void); |
41 | |||
42 | /* Reset the buffering system */ | ||
43 | bool buffering_reset(char *buf, size_t buflen); | ||
41 | 44 | ||
42 | 45 | ||
43 | /*************************************************************************** | 46 | /*************************************************************************** |