home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1995 August / NEBULA.mdf / SourceCode / MiscKit1.2.6 / Palettes / MiscSoundPalette / MiscSoundUtil.subproj / MiscTapper.h < prev    next >
Encoding:
Text File  |  1994-05-27  |  663 b   |  25 lines

  1. #import <objc/Object.h>
  2. #import <appkit/appkit.h>
  3.  
  4.  
  5. @interface MiscTapper:Object
  6.  
  7. {
  8.     NXSoundIn*                tapper_device;
  9.     NXRecordStream*            tapper_stream;
  10.     DPSTimedEntry            teNum;
  11. }
  12.  
  13. - init;                // Spawns the Tapper thread and begins recording.
  14.                     // If another Tapper has been allocated and initialized,
  15.                     // this method does nothing and returns NULL.
  16.  
  17. - free;                // Kills Tapper thread, frees Tapper, and allows another
  18.                     // Tapper to be created and initialized.
  19. - suspend:sender;    // Suspends tapping
  20. - resume:sender;    // Resumes tapping
  21.  
  22. - update;            // Check up on Tapper's progress.  You shouldn't need
  23.                     // to call this, though it won't hurt anything.
  24.  
  25. @end