ProjectRenderer: fixed bug introduced by 1b91b599b...
There's been a missing evaluation of _os.depth in the 2nd ternary operator which caused depth of filetype always be 24 bit even if 16 bit was selected.
This commit is contained in:
@@ -84,7 +84,8 @@ projectRenderer::projectRenderer( const mixer::qualitySettings & _qs,
|
||||
_os.samplerate, DEFAULT_CHANNELS, success_ful,
|
||||
_out_file, _os.vbr,
|
||||
_os.bitrate, _os.bitrate - 64, _os.bitrate + 64,
|
||||
_os.depth == Depth_32Bit ? 32 : (Depth_24Bit ? 24 : 16),
|
||||
_os.depth == Depth_32Bit ? 32 :
|
||||
( _os.depth == Depth_24Bit ? 24 : 16 ),
|
||||
engine::getMixer() );
|
||||
if( success_ful == FALSE )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user