GUI: implement sample sel operations
plenty of them
This commit is contained in:
parent
a68dbed760
commit
2df7658fd0
3 changed files with 313 additions and 16 deletions
|
|
@ -102,6 +102,24 @@ struct DivSample {
|
|||
*/
|
||||
bool resize(unsigned int count);
|
||||
|
||||
/**
|
||||
* remove part of the sample data.
|
||||
* @warning do not attempt to strip a sample outside of a synchronized block!
|
||||
* @param start the beginning.
|
||||
* @param end the end.
|
||||
* @return whether it was successful.
|
||||
*/
|
||||
bool strip(unsigned int begin, unsigned int end);
|
||||
|
||||
/**
|
||||
* clip the sample data to specified boundaries.
|
||||
* @warning do not attempt to trim a sample outside of a synchronized block!
|
||||
* @param start the beginning.
|
||||
* @param end the end.
|
||||
* @return whether it was successful.
|
||||
*/
|
||||
bool trim(unsigned int begin, unsigned int end);
|
||||
|
||||
/**
|
||||
* change the sample rate.
|
||||
* @warning do not attempt to resample outside of a synchronized block!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue