| Summary: | Manual coding mistake in recompute_amp function | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Nitz <nitin.j4> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Patch | ||
Fixed, thanks! https://hg.libsdl.org/SDL_mixer/rev/30ff0c742ac7 |
Created attachment 2143 [details] Patch In recompute_amp(int v) function: under if condition: if (note>0 && drumpanpot[chan][note]>=0) panning = drumvolume[chan][note]; This should be panning = drumpanpot[chan][note] instead of drumvolume. Patch is attached. Thanks!!!