Skip to content

Instantly share code, notes, and snippets.

@diplojocus
Created February 2, 2015 00:04
Show Gist options
  • Save diplojocus/c10045a9c67e5c7476eb to your computer and use it in GitHub Desktop.
Save diplojocus/c10045a9c67e5c7476eb to your computer and use it in GitHub Desktop.
Table specific Heavy API methods
/**
* Resizes the table to the given length. Length must be positive.
* Existing contents are copied to the new table. Remaining space is cleared.
*/
void hv_table_resize(PdTable *o, hv_uint32_t newLength);
/** Returns a pointer to the raw buffer backing this table. DO NOT free it. */
float *hv_table_getBuffer(PdTable *o);
/** Returns the length of this table in samples. */
int hv_table_getLength(PdTable *o);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment