~kris/9p

9hist

ref: b0e93d4b1a61d19d99de24b2c18922a5c9502679 9hist/pc/audio.h -rw-r--r-- 304 bytes
b0e93d4b — David du Colombier Plan 9 from Bell Labs 1997-05-08 29 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
enum
{
	Bufsize		= 16*1024,	/* 92 ms each */
	Nbuf		= 16,		/* 1.5 seconds total */
	Dma		= 6,
	SBswab		= 0,
};

#define seteisadma(a, b)	dmainit(a);
#define CACHELINESZ		8
#define UNCACHED(type, v)	(type*)((ulong)(v))

#define Int0vec			VectorPIC
#define setvec(v, f, a)		intrenable(v, f, a, BUSUNKNOWN)