2
.\" Copyright (c) 2005, 4Front Technologies 2005\&.
3
.TH ossddk_dmap_get_dmabuf 9ossddk "12 Sep 2005" "SunOS 5.10" "OSS DDK Services"
5
ossddk_dmap_get_dmabuf \- Get (kernel) address of the DMA buffer
9
#include <sys/soundcard.h>
11
#include <sys/ossddk/ossddk.h>
14
\fBunsigned char*\fR ossddk_dmap_get_dmabuf(\fBdmap_t *\fIdmap\fP);
18
Open Sound System specific (OSS 4.0 DDK)\&.
33
This function returns the kernel virtual address of the DMA buffer allocated
34
for this dmap, However in most drivers this value has no use. Instead they
35
should use \fIossddk_dmap_set_phys(9ossddk)\fR to get the memory/bus address
39
Kernel virtual address of the DMA buffer (first byte) or NULL if no buffer
40
is currently allocated.
44
\fIWriting Sound Device Drivers with OSS DDK\fR
46
\fIOpen Sound System Programmer's Guide\fR