commit | f97b682f0e4a08bb6211f230a789a80981a7111c | [log] [tgz] |
---|---|---|
author | Krystian Turczyn <krystian.turczyn@sonymobile.com> | Fri Jul 31 16:59:12 2015 +0200 |
committer | Zoran Jovanovic <zoran.jovanovic@sonymobile.com> | Thu Mar 31 15:18:39 2016 +0200 |
tree | 3aa78f33d7f9446d85ff13dbc72787156dae32d4 | |
parent | bf1e74ed393c8282e7e673e0b150df8905ebdfaf [diff] |
Fix for tone glitch produced in ToneGenerator Delay line samples of ToneGenerator::WaveGenerator are saved between getSamples() calls. The value of such sample may overflow short integer range due to amplitude fluctuation. Therefore long field must be used to store those samples in order to prevent tone corruption. Change-Id: I987058ca4615ea64deedcbd8167e75393ecaf2de