diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-10 17:42:56 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2015-04-10 17:42:56 +0200 |
commit | 379f0fec9247a74f05fef6538198898af02ce8e2 (patch) | |
tree | 89684e985b74f2ca507ac242f83d5c539590a98c /src/cachemanager.h | |
parent | 483d4a25ee529f0f577ea1ff26c570ecd88c2a63 (diff) |
Changed size of parameter from int to size_t.
Diffstat (limited to 'src/cachemanager.h')
-rw-r--r-- | src/cachemanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cachemanager.h b/src/cachemanager.h index 6a14429..4b5c64d 100644 --- a/src/cachemanager.h +++ b/src/cachemanager.h @@ -58,7 +58,7 @@ public: // returns the first buffer and its size in &size. // get id from "free stack" and store pointers to buffers in id vector. // event: open sndfile handle (if not already open) and increase refcount - sample_t *open(AudioFile *file, int initial_samples_needed, int channel, cacheid_t &new_id); + sample_t *open(AudioFile *file, size_t initial_samples_needed, int channel, cacheid_t &new_id); // Return which ever buffer is the front, swap them and add event to load the // next chunk. |