Page MenuHomeFreeBSD

audio/rsynth: Fix audio output
ClosedPublic

Authored by tobik on May 20 2017, 5:02 AM.

Details

Summary
- Add Sndio backend from [1] and fix it
  - Remove dead code
  - Fix format selection and playback with raw devices
- Fix OSS backend
  - Remove dead code
  - Don't open the device in non-blocking mode.  There is no error
    handling for short writes and looking at how audio_play() is used in say.c
    it is expected to block.
  - Fix format selection
  - Let the kernel handle sample conversion instead of doing it in the backend
- Make NAS support optional
- Make installing dictionary database tools optional
- Add LICENSE

Obtained from:	OpenBSD [1] (based on)
Approved by:	??? (mentor)
Differential Revision:	https://reviews.freebsd.org/D?????
Test Plan

poudriere testport 11.0/amd64 ok

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

tobik created this revision.May 20 2017, 5:02 AM
tobik edited the summary of this revision. (Show Details)May 20 2017, 5:03 AM
tobik edited the summary of this revision. (Show Details)May 20 2017, 7:37 AM
lme accepted this revision.May 30 2017, 3:01 PM
This revision is now accepted and ready to land.May 30 2017, 3:01 PM
This revision was automatically updated to reflect the committed changes.