OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Jacob Meuser (jakemsrcvs.openbsd.org)
Date: Wed Oct 03 2007 - 16:49:13 CDT


CVSROOT: /cvs
Module name: src
Changes by: jakemsrcvs.openbsd.org 2007/10/03 15:49:13

Modified files:
        share/man/man4 : audio.4
        sys/sys : audioio.h
        sys/dev : audio.c
        regress/sys/dev/audio_rw: Makefile audiotest_rw.1 audiotest_rw.c

Log message:
add two new audio ioctls, AUDIO_GETPRINFO and AUDIO_GETRRINFO, and the
data structure these ioctls use, audio_bufinfo.

these ioctls return information about the play and record buffers
into the audio_bufinfo structure.

these are being added to aid in porting non-native audio applications
and libraries, and to fix issues in our OSS audio emulation. these
ioctls exist only on OpenBSD and should not be used in code intended
for distribution.

ok ratchov