diff options
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/ym2612.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index 067f23b354..130168459e 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -333,9 +333,9 @@ void Operator2612::nextTick(const int *phasebuf, int *outbuf, int buflen) { _state = _s_decaying; } - int32 levelIncrement; - int32 target; - State next_state; + int32 levelIncrement = 0; + int32 target = 0; + State next_state = _s_ready; const int32 zero_level = ((int32)0x7f << 15); const int phaseIncrement = (_multiple > 0) ? (_frequency * _multiple) : (_frequency / 2); |