We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 942 - ALSA driver skips over most frames while "swizzling" channels
Summary: ALSA driver skips over most frames while "swizzling" channels
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 2.0
Hardware: All Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 17:32 UTC by Jānis Rūcis
Modified: 2010-02-12 09:14 UTC (History)
0 users

See Also:


Attachments
Patch against SDL 1.2.14 (602 bytes, patch)
2010-02-05 17:32 UTC, Jānis Rūcis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jānis Rūcis 2010-02-05 17:32:48 UTC
Created attachment 484 [details]
Patch against SDL 1.2.14

I tracked this down trying to find the cause for crackle in the rear speakers in Nexuiz (with a 6 channel configuration).  Looks like the same problem was described in [1].  Attached is a quick patch that seems to work for me; it simply assumes that the SDL nomenclature is confusing (i.e., says samples, means frames).

[1] http://article.gmane.org/gmane.comp.lib.sdl/44406
Comment 1 Jānis Rūcis 2010-02-11 11:11:31 UTC
BTW, while the patch probably doesn't apply to 1.3, the report does.
Comment 2 Ryan C. Gordon 2010-02-12 09:14:53 UTC
This patch is now svn revision #5550 for the 1.2 branch and #5551 for the 1.3 branch.

Thanks!

--ryan.