NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/50276: [PATCH] Portability fixes for ossaudio.c



>Number:         50276
>Category:       lib
>Synopsis:       [PATCH] Portability fixes for ossaudio.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 24 10:40:00 +0000 2015
>Originator:     Robert Millan
>Release:        HEAD
>Organization:
>Environment:
>Description:
Thanks to Rump, it is now possible to use NetBSD audio drivers on other operating systems. It follows that libossaudio can be used (and is in fact very useful) on those operating systems too.

In order to preserve ABI compatibility with applications that were linked to use OSS using the native <sys/soundcard.h> of those systems, it becomes really useful to build libossaudio using the system-wide <sys/soundcard.h> too.

On GNU/Linux & GNU/Hurd systems this required a few trivial portability adjustments as some of the features are not available there.

As you can see, the patch is very non-intrusive (it just checks for features before attempting to use them).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index