mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
Fix an error due to inconsistent types.
This commit is contained in:
@@ -1973,7 +1973,7 @@ MA_API ma_result ma_gainer_init(const ma_gainer_config* pConfig, ma_gainer* pGai
|
|||||||
}
|
}
|
||||||
|
|
||||||
pGainer->config = *pConfig;
|
pGainer->config = *pConfig;
|
||||||
pGainer->t = (size_t)-1; /* No interpolation by default. */
|
pGainer->t = (ma_uint32)-1; /* No interpolation by default. */
|
||||||
|
|
||||||
for (iChannel = 0; iChannel < pConfig->channels; iChannel += 1) {
|
for (iChannel = 0; iChannel < pConfig->channels; iChannel += 1) {
|
||||||
pGainer->oldGains[iChannel] = 1;
|
pGainer->oldGains[iChannel] = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user