mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 08:44:04 +02:00
Fix some warnings in ma_mixing.h.
This commit is contained in:
@@ -951,7 +951,7 @@ static ma_effect* ma_effect_get_root(ma_effect* pEffect)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Should never hit this. */
|
/* Should never hit this. */
|
||||||
return NULL;
|
/*return NULL;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1239,7 +1239,10 @@ MA_API ma_result ma_effect_init(const ma_effect_config* pConfig, ma_effect* pEff
|
|||||||
result = ma_effect_init__lpf(pConfig, pEffect);
|
result = ma_effect_init__lpf(pConfig, pEffect);
|
||||||
} break;
|
} break;
|
||||||
|
|
||||||
default: break;
|
default:
|
||||||
|
{
|
||||||
|
result = MA_INVALID_ARGS; /* Unknown effect type. */
|
||||||
|
} break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user