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 >
C/C++ Source or Header  |  1992-04-06  |  690b  |  44 lines

  1. #include <exec/types.h>
  2. #include <exec/exec.h>
  3. #include <intuition/intuition.h>
  4. #include <graphics/gfxmacros.h>
  5. #include <graphics/gfxbase.h>
  6. #include <devices/audio.h>
  7. #include <devices/input.h>
  8. #include <devices/inputevent.h>
  9. #include <libraries/dos.h>
  10. #include <libraries/dosextens.h>
  11. #include <functions.h>
  12. #include <stdio.h>
  13.  
  14. struct SampleInfo
  15. {
  16.   ULONG OneShotHiSamples,
  17.     RepeatHiSamples,
  18.     SamplesPerHiCycle;
  19.   UWORD SampleRate;
  20.   UBYTE Octave,
  21.     Compression;
  22.   LONG Volume;
  23. };
  24.  
  25. struct SoundInfo
  26. {
  27.   int Volume,
  28.       SamplePeriod,
  29.       Length;
  30.   UBYTE *Buffer;
  31. };
  32.  
  33. struct IFFHeader
  34. {
  35.   ULONG Name,
  36.     Length;
  37. };
  38.  
  39. struct MyInputEvent
  40. {
  41.   struct Message Mess;
  42.   struct InputEvent IE;
  43. };
  44.