2
.\" Copyright (c) 2005, 4Front Technologies 2005\&.
3
.TH ossddk_adev_set_portnum 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services"
5
ossddk_adev_set_portnum \- Set the audio port number within a device
9
#include <sys/soundcard.h>
11
#include <sys/ossddk/ossddk.h>
14
\fBvoid\fR ossddk_adev_set_portnum(\fBint \fIdev\fP, \fBint \fIportnum\fP);
18
Open Sound System specific (OSS 4.0 DDK)\&.
28
OSS audio device number.
36
Audio port number (0 to N).
41
Some sound cards may have multiple audio devices. In such cases the driver should
42
call this function to set the port number. Port number 0 is the first port and so on.
46
\fIWriting Sound Device Drivers with OSS DDK\fR
48
\fIOpen Sound System Programmer's Guide\fR