sample editor workkkkkkk

This commit is contained in:
tildearrow 2022-03-19 03:42:44 -05:00
parent c59c176de2
commit 689ed3bf65
9 changed files with 221 additions and 7 deletions

View file

@ -76,6 +76,14 @@ struct DivSample {
*/
bool init(unsigned int count);
/**
* resize sample data. make sure the sample has been initialized before doing so.
* @warning do not attempt to resize a sample outside of a synchronized block!
* @param count number of samples.
* @return whether it was successful.
*/
bool resize(unsigned int count);
/**
* initialize the rest of sample formats for this sample.
*/