2
.\" Copyright (c) 2005, 4Front Technologies 2005\&.
3
.TH ossddk_adev_set_magic 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services"
5
ossddk_adev_set_magic \- Set the device magic number
9
#include <sys/soundcard.h>
11
#include <sys/ossddk/ossddk.h>
14
\fBvoid\fR ossddk_adev_set_magic(\fBint \fIdev\fP, \fBint \fImagic\fP);
18
Open Sound System specific (OSS 4.0 DDK)\&.
28
OSS audio device number.
41
Some devices may require use of dedicated configuration or setup tools. In such cases
42
the driver must provide some kind of magic number which the utilities can use
43
to find out the right device (using \fISNDCTL_AUDIOINFO(2oss)\fR).
45
If an magic number is needed for some device driver you must contact support@opensound.com to get a free number. Drivers developers must not use self geterated magic numbers
46
because they may conflict with other devices.
48
Using device specific utilities is not recommended but that method can be used if there
53
\fISNDCTL_AUDIOINFO(2oss)\fR
55
\fIWriting Sound Device Drivers with OSS DDK\fR
57
\fIOpen Sound System Programmer's Guide\fR