Voice: Fix -Wmaybe-uninitialized with GCC9

This commit is contained in:
Luke Street 2021-03-01 18:47:03 -05:00
parent 454424b8b3
commit df7136d265
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ static T ApplyVolume(float vol, T samp) {
} }
void Voice::_procSamplePre(int16_t& samp) { void Voice::_procSamplePre(int16_t& samp) {
double dt; double dt = 0.0;
/* Block linearized will use a larger `dt` for amplitude sampling; /* Block linearized will use a larger `dt` for amplitude sampling;
* significantly reducing the processing expense */ * significantly reducing the processing expense */