Last active
August 29, 2015 14:00
-
-
Save mhroth/11298193 to your computer and use it in GitHub Desktop.
Tannhäuser API: PdTable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - Tannhäuser Table | |
#ifndef _TANNHAUSER_TABLE_H_ | |
#define _TANNHAUSER_TABLE_H_ | |
typedef struct PdTable PdTable; | |
/** | |
* Resizes the table to the given length. Length must be positive. | |
* Existing contents are copied to the new table. Remaining space is cleared. | |
*/ | |
void th_table_resize(PdTable *o, int newLength); | |
/** Returns a pointer to the raw buffer backing this table. DO NOT free it. */ | |
float *th_table_getBuffer(PdTable *o); | |
/** Returns the length of this table in samples. */ | |
int th_table_getLength(PdTable *o); | |
#endif // _TANNHAUSER_TABLE_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment