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 5207 - sndio bug fixes for 1.2 branch
Summary: sndio bug fixes for 1.2 branch
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: audio (show other bugs)
Version: HG 1.2
Hardware: All OpenBSD
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-20 23:07 UTC by Brad Smith
Modified: 2020-06-24 09:21 UTC (History)
1 user (show)

See Also:


Attachments
sndio bug fixes (2.80 KB, text/plain)
2020-06-20 23:07 UTC, Brad Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brad Smith 2020-06-20 23:07:15 UTC
Created attachment 4390 [details]
sndio bug fixes

I see the 1.2 branch is still going. We have a few local patches for OpenBSD.

Attached is a patch with a few fixes for the sndio backend.

- use SIO_DEVANY instead of NULL
- simplify SNDIO_WaitAudio (do as others backends do)
- remove the rate negotiation, which predates sndiod
Comment 1 Ozkan Sezer 2020-06-24 09:21:10 UTC
The patch is in: https://hg.libsdl.org/SDL/rev/d3f74efa82e7
Thanks.