home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
back2roots/padua
/
padua.7z
/
padua
/
audio
/
tracker
/
sparc.h
< prev
next >
Wrap
Text File
|
2014-05-19
|
1KB
|
41 lines
/* sparc.h */
/* $Author: espie $
* $Id: sparc.h,v 2.0 1991/11/17 21:42:08 espie Exp espie $
* $Revision: 2.0 $
* $Log: sparc.h,v $
* Revision 2.0 1991/11/17 21:42:08 espie
* New version.
*
* Revision 1.3 1991/11/08 14:25:55 espie
* We now have to return frequency.
*
* Revision 1.2 1991/11/04 08:01:20 espie
* Corrected ruckus with data type of sample.
*
* Revision 1.1 1991/11/03 22:46:23 espie
* Initial revision
*
*
*/
/************************************************************/
/* nS is the number of nSeconds that a sample is played for */
/* the sparc plays at 8000 bytes/sec => */
/* 1 byte = 125000 nSec */
/* VSYNC is the number of bytes played in 1/50 sec */
/* i.e., 8000/50 */
/************************************************************/
#define HZ 8000
/* at some point, we should decide for an oversample rate.
* 2 seems like a good idea.
*/
/* this is the type for storing the samples.
* Warning: char must be signed.
*/
typedef char SAMPLE;