Merge branch 'master' of https://github.com/tildearrow/furnace into es5506_alt
This commit is contained in:
commit
7867b59580
85 changed files with 6024 additions and 3108 deletions
|
|
@ -532,23 +532,46 @@ class DivDispatch {
|
|||
|
||||
/**
|
||||
* Get sample memory buffer.
|
||||
* @param index the memory index.
|
||||
* @return a pointer to sample memory, or NULL.
|
||||
*/
|
||||
virtual const void* getSampleMem(int index = 0);
|
||||
|
||||
/**
|
||||
* Get sample memory capacity.
|
||||
* @param index the memory index.
|
||||
* @return memory capacity in bytes, or 0 if memory doesn't exist.
|
||||
*/
|
||||
virtual size_t getSampleMemCapacity(int index = 0);
|
||||
|
||||
/**
|
||||
* get sample memory name.
|
||||
* @param index the memory index.
|
||||
* @return a name, or NULL if it doesn't have any name in particular.
|
||||
*/
|
||||
virtual const char* getSampleMemName(int index=0);
|
||||
|
||||
/**
|
||||
* Get sample memory usage.
|
||||
* @param index the memory index.
|
||||
* @return memory usage in bytes.
|
||||
*/
|
||||
virtual size_t getSampleMemUsage(int index = 0);
|
||||
|
||||
/**
|
||||
* Render samples into sample memory.
|
||||
* check whether sample has been loaded in memory.
|
||||
* @param memory index.
|
||||
* @param sample the sample in question.
|
||||
* @return whether it did.
|
||||
*/
|
||||
virtual void renderSamples();
|
||||
virtual bool isSampleLoaded(int index, int sample);
|
||||
|
||||
|
||||
/**
|
||||
* Render samples into sample memory.
|
||||
* @param sysID the chip's index in the chip list.
|
||||
*/
|
||||
virtual void renderSamples(int sysID);
|
||||
|
||||
/**
|
||||
* initialize this DivDispatch.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue