home *** CD-ROM | disk | FTP | other *** search
/ ftp.ee.lbl.gov / 2014.05.ftp.ee.lbl.gov.tar / ftp.ee.lbl.gov / sst.tar.Z / sst.tar / sst / libsst.h < prev    next >
C/C++ Source or Header  |  1990-01-10  |  904b  |  28 lines

  1. /* libsst.h - include file for SPARC sound tools library
  2. **
  3. ** Copyright (C) 1989 by Jef Poskanzer.
  4. **
  5. ** Permission to use, copy, modify, and distribute this software and its
  6. ** documentation for any purpose and without fee is hereby granted, provided
  7. ** that the above copyright notice appear in all copies and that both that
  8. ** copyright notice and this permission notice appear in supporting
  9. ** documentation.  This software is provided "as is" without express or
  10. ** implied warranty.
  11. */
  12.  
  13. #include <sys/ioctl.h>
  14. #include <sbusdev/audioreg.h>
  15. #include <sun/audioio.h>
  16.  
  17. #define SAMPLES_PER_SECOND 8000
  18.  
  19. int sst_open( );
  20. void sst_close( /* int fd */ );
  21.  
  22. void sst_set_ger( /* int fd, value */ );
  23. void sst_set_gr( /* int fd, value */ );
  24. void sst_set_gx( /* int fd, value */ );
  25.  
  26. void sst_tones( /* int fd, dhz1, dhz2, thz, rhz, usec */ );
  27. void sst_dtmf( /* int fd, char *dial, int usecper, usecpause */ );
  28.