mirror of
https://github.com/AxioDL/amuse.git
synced 2025-06-05 06:03:39 +00:00
Voice: Fix -Wmaybe-uninitialized with GCC9
This commit is contained in:
parent
454424b8b3
commit
df7136d265
@ -186,7 +186,7 @@ static T ApplyVolume(float vol, T samp) {
|
||||
}
|
||||
|
||||
void Voice::_procSamplePre(int16_t& samp) {
|
||||
double dt;
|
||||
double dt = 0.0;
|
||||
|
||||
/* Block linearized will use a larger `dt` for amplitude sampling;
|
||||
* significantly reducing the processing expense */
|
||||
|
Loading…
x
Reference in New Issue
Block a user