faster sample format conversion

don't render in all formats when converting
This commit is contained in:
tildearrow 2024-04-04 14:22:19 -05:00
parent 80fdc706d1
commit 0ddbc56b94
4 changed files with 8 additions and 7 deletions

View file

@ -288,7 +288,7 @@ struct DivSample {
* @warning do not attempt to do this outside of a synchronized block!
* @param newDepth the new depth.
*/
void convert(DivSampleDepth newDepth);
void convert(DivSampleDepth newDepth, unsigned int formatMask=0xffffffff);
/**
* initialize the rest of sample formats for this sample.