faster sample format conversion
don't render in all formats when converting
This commit is contained in:
parent
80fdc706d1
commit
0ddbc56b94
4 changed files with 8 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue