~kris/9p

9hist

ref: 9f9f12b3fa4f2c529ed1e00a8b85fe1dce3f155c 9hist/pc/audio.h -rw-r--r-- 208 bytes
9f9f12b3 — David du Colombier Plan 9 from Bell Labs 1996-08-08 30 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
enum
{
	Bufsize		= 16*1024,	/* 92 ms each */
	Nbuf		= 16,		/* 1.5 seconds total */
	Dma		= 6,
	SBswab		= 0,
};

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