Plan 9 from Bell Labs’s /usr/web/sources/extra/9hist/alphapc/audio.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


## diffname alphapc/audio.h 1999/0504
## diff -e /dev/null /n/emeliedump/1999/0504/sys/src/brazil/alphapc/audio.h
0a
enum
{
	Bufsize		= 16*1024,	/* 92 ms each */
	Nbuf		= 16,		/* 1.5 seconds total */
	Dma		= 1,
	IrqAUDIO	= 5,
	SBswab		= 0,
};

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

#define Int0vec			VectorPIC
#define setvec(v, f, a)		intrenable(v, f, a, BUSUNKNOWN)
.
## diffname alphapc/audio.h 1999/0507
## diff -e /n/emeliedump/1999/0504/sys/src/brazil/alphapc/audio.h /n/emeliedump/1999/0507/sys/src/brazil/alphapc/audio.h
5c
	Dma		= 5,
.
## diffname alphapc/audio.h 2000/0401
## diff -e /n/emeliedump/1999/0507/sys/src/brazil/alphapc/audio.h /n/emeliedump/2000/0401/sys/src/9/alphapc/audio.h
15,16c
#define Int0vec
#define setvec(v, f, a)		intrenable(v, f, a, BUSUNKNOWN, "audio")
.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].