GUI: improve sample type conversion
This commit is contained in:
parent
0fd5483b59
commit
c7b24f706f
3 changed files with 42 additions and 2 deletions
|
|
@ -269,6 +269,13 @@ struct DivSample {
|
|||
*/
|
||||
bool resample(double sRate, double tRate, int filter);
|
||||
|
||||
/**
|
||||
* convert sample depth.
|
||||
* @warning do not attempt to do this outside of a synchronized block!
|
||||
* @param newDepth the new depth.
|
||||
*/
|
||||
void convert(DivSampleDepth newDepth);
|
||||
|
||||
/**
|
||||
* initialize the rest of sample formats for this sample.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue