home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
600-699
/
ff631.lha
/
KeyBang
/
Source
/
KeyBang.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-06
|
690b
|
44 lines
#include <exec/types.h>
#include <exec/exec.h>
#include <intuition/intuition.h>
#include <graphics/gfxmacros.h>
#include <graphics/gfxbase.h>
#include <devices/audio.h>
#include <devices/input.h>
#include <devices/inputevent.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
#include <functions.h>
#include <stdio.h>
struct SampleInfo
{
ULONG OneShotHiSamples,
RepeatHiSamples,
SamplesPerHiCycle;
UWORD SampleRate;
UBYTE Octave,
Compression;
LONG Volume;
};
struct SoundInfo
{
int Volume,
SamplePeriod,
Length;
UBYTE *Buffer;
};
struct IFFHeader
{
ULONG Name,
Length;
};
struct MyInputEvent
{
struct Message Mess;
struct InputEvent IE;
};