| Summary: | Resampling of certain sounds adds popping noise | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dávid Nagy <nagydavid91> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | sezeroz |
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: |
Testcase
Recording of the testcase with bug |
||
|
Description
Dávid Nagy
2017-09-24 19:36:21 UTC
(In reply to Ozkan Sezer from comment #1) > Does the patch in bug #3851 fix this? I assume this is a duplicate of Bug #3851, which should now be fixed. --ryan. *** This bug has been marked as a duplicate of bug 3851 *** Created attachment 2983 [details]
Recording of the testcase with bug
I tried revision c48ab2c208a2, but my problem is still present.
I attached a recording of what my testcase sounds like with the bug.
When I examined the recording with Audacity, I noticed that when the waveform reaches -1.0, it repeatedly jumps to +1.0 and back, and this causes the popping.
This looks like an overflow.
Reopening bug. The fix for bug #3876 fixed this bug as well: https://hg.libsdl.org/SDL/rev/37aca00967db Closing bug. Thanks! |