| Summary: | Couldn't set hardware audio parameters: Success | ||
|---|---|---|---|
| Product: | SDL | Reporter: | romain145 |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | minor | ||
| Priority: | P2 | CC: | philipp.wiesemann |
| Version: | 2.0.4 | ||
| Hardware: | ARM | ||
| OS: | Linux | ||
| Attachments: | Diff | ||
This patch is now https://hg.libsdl.org/SDL/rev/30ca8e64db6a, thanks! |
Created attachment 2499 [details] Diff Just found a small omission where the status sent back after error "Couldn't set hardware audio parameters" is rather optimistic: "Success". The reason is the missing return status value after the call to ALSA_set_period_size. Before: A failure in the init returns: "Couldn't set hardware audio parameters: Success" After: A failure in the init returns: "Couldn't set hardware audio parameters: Operation not permitted" Please see attached diff file. Thanks