mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-08 21:17:49 +00:00
Voice: Fix -Wmaybe-uninitialized with GCC9
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user