2
.\" Copyright (c) 2005, 4Front Technologies 2005\&.
3
.TH ossddk_mixer_get_devc 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services"
5
ossddk_mixer_get_devc \- Get the devc pointer assigned to a mixer device.
9
#include <sys/soundcard.h>
11
#include <sys/ossddk/ossddk.h>
14
\fBvoid*\fR ossddk_mixer_get_devc(\fBint \fIdev\fP);
18
Open Sound System specific (OSS 4.0 DDK)\&.
33
Mixer drivers can give a pointer to their private devc structure when installing
34
the themselves. This function makes it possible to obtain this pointer when
37
CAUTION! Extreme care must be taken in drivers that drive both mixer and audio
38
device files. Both types of devices have different functions for getting
39
the devc pointer. Drivers must use ossddk_adev_get_devc with audio device
40
numbers and ossddk_mixer_get_devc with mixer device numbers.
43
This function returns a poiner to the devc structure created by this driver.
47
\fIWriting Sound Device Drivers with OSS DDK\fR
48
\fIOpen Sound System Programmer's Guide\fR