simplify
This commit is contained in:
@@ -535,8 +535,7 @@ int RageSoundReader_MP3::FindOffsetFix()
|
|||||||
|
|
||||||
void RageSoundReader_MP3::synth_output()
|
void RageSoundReader_MP3::synth_output()
|
||||||
{
|
{
|
||||||
if(this->Channels != 0 &&
|
if( MAD_NCHANNELS(&mad->Frame.header) != this->Channels )
|
||||||
MAD_NCHANNELS(&mad->Frame.header) != this->Channels)
|
|
||||||
{
|
{
|
||||||
/* This frame contains a different number of channels than the first.
|
/* This frame contains a different number of channels than the first.
|
||||||
* I've never actually seen this--it's just to prevent exploding if
|
* I've never actually seen this--it's just to prevent exploding if
|
||||||
|
|||||||
Reference in New Issue
Block a user