| Summary: | SDL does not set minimum samples count to ALSA | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Paul Cercueil <paul> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | jspradlin |
| Version: | 1.2.14 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Attachments: | Patch to fix the bug on my system | ||
|
Description
Paul Cercueil
2011-03-16 10:53:46 UTC
(In reply to comment #0) > Attached is a patch that fixes this bug on my system. The patch wasn't attached; I'd like to get this into revision control if you can attach it to this bug. Thanks! --ryan. Thank you for your bug report! We're busy working on getting SDL 1.3 ready for a high quality release, and want to make sure as many things are fixed there as possible. Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot? http://www.libsdl.org/tmp/SDL-1.3.zip Thanks! Created attachment 601 [details]
Patch to fix the bug on my system
Hi, I don't know why it wasn't attached. Since then I had a SSD crash so I had to redo it. I didn't try SDL 1.3 currently, I will test it soon to see if the bug has been fixed. The diff file I attached shows how I fixed the bug on my system. I lack knowledge on both ALSA and SDL, I'm not sure I did it the right way. Feel free to modify it as needed. This patch is now hg changeset 8b2b7f4009e5 for the 1.2 branch, and hg changeset 08e941dad8e9 for the 1.3 branch, thanks! --ryan. |