|
Arduino STK 4.6.2
|
STK in memory File An instance is representing an individual memory array which can be registered with a file name. More...
#include <MemoryFS.h>
Public Member Functions | |
| bool | open (const char *fileName, int bytesPerSample=2) |
| opens the indicated file | |
| size_t | getSize () |
| Returns a descriptor with additional information. | |
| void | close () |
| sets to open flag to false | |
| bool | isOpen () |
| checks if the file has been opened | |
| bool | fileRead (StkFrames &buffer, unsigned long startFrame, bool doNormalize) |
| Reads the data into the buffer at the indicated start frame. | |
STK in memory File An instance is representing an individual memory array which can be registered with a file name.
This functionality is used by the MemoryLoop and MemoryWvIn as compatibility layer for the related file based operations. So that we can use the instruments which are based on recorded samples.
Phil Schatzmann
| size_t stk::MemoryFS::getSize | ( | ) |
Returns a descriptor with additional information.
Determines the size (in samples)