diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-09-15 09:28:15 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-09-15 09:28:15 +0200 |
commit | 22e8c588324184b777cea9f55ec0fc73b56949b8 (patch) | |
tree | cb75167772447848650d90b01c171b344cdc61e3 /src/audiofile.h | |
parent | 9883fb4fc232ebdea44dcf7b015499d31f999695 (diff) |
New experimental sample selector (enable using --with-experimental argument on ./configure).
Diffstat (limited to 'src/audiofile.h')
-rw-r--r-- | src/audiofile.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/audiofile.h b/src/audiofile.h index 46c9285..20ffdf3 100644 --- a/src/audiofile.h +++ b/src/audiofile.h @@ -67,12 +67,14 @@ #define LAZYLOAD +#define ALL_SAMPLES -1 + class AudioFile { public: AudioFile(std::string filename); ~AudioFile(); - void load(); + void load(int num_samples = ALL_SAMPLES); void unload(); bool isLoaded(); |