GUI: sample editor keybinds

works
This commit is contained in:
tildearrow 2022-03-22 04:54:01 -05:00
parent f4f91ca49e
commit 705ba4273b
9 changed files with 629 additions and 208 deletions

View file

@ -120,6 +120,15 @@ struct DivSample {
*/
bool trim(unsigned int begin, unsigned int end);
/**
* insert silence at specified position.
* @warning do not attempt to do this outside of a synchronized block!
* @param pos the beginning.
* @param length how many samples to insert.
* @return whether it was successful.
*/
bool insert(unsigned int pos, unsigned int length);
/**
* change the sample rate.
* @warning do not attempt to resample outside of a synchronized block!