diff options
Diffstat (limited to 'misc/man9ossddk/ossddk_adev_set_portnum.9ossddk')
-rw-r--r-- | misc/man9ossddk/ossddk_adev_set_portnum.9ossddk | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/misc/man9ossddk/ossddk_adev_set_portnum.9ossddk b/misc/man9ossddk/ossddk_adev_set_portnum.9ossddk new file mode 100644 index 0000000..33e5c68 --- /dev/null +++ b/misc/man9ossddk/ossddk_adev_set_portnum.9ossddk @@ -0,0 +1,48 @@ +'\" te +.\" Copyright (c) 2005, 4Front Technologies 2005\&. +.TH ossddk_adev_set_portnum 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services" +.SH "NAME" +ossddk_adev_set_portnum \- Set the audio port number within a device +.PP +.SH "SYNOPSIS" +.nf +#include <sys/soundcard.h> +.LP +#include <sys/ossddk/ossddk.h> +.fi +.LP +\fBvoid\fR ossddk_adev_set_portnum(\fBint \fIdev\fP, \fBint \fIportnum\fP); +.PP +.SH "INTERFACE LEVEL" +.PP +Open Sound System specific (OSS 4.0 DDK)\&. +.PP +.SH "ARGUMENTS" +.PP +.sp +.ne 2 +.mk +\fB\fIdev\fR +.in +16n +.rt +OSS audio device number. +.in -16n +.sp +.ne 2 +.mk +\fB\fIportnum\fR +.in +16n +.rt +Audio port number (0 to N). +.in -16n +.PP +.SH "DESCRIPTION" +.PP +Some sound cards may have multiple audio devices. In such cases the driver should +call this function to set the port number. Port number 0 is the first port and so on. +.PP +.SH "SEE ALSO" +.PP +\fIWriting Sound Device Drivers with OSS DDK\fR +.LP +\fIOpen Sound System Programmer's Guide\fR |