view src/libsst.h @ 4413:dc84ec90b463

Fix build problems on Windows. Also: regenerate dependencies, update ignored files 2008-01-24 Mike Sperber <mike@xemacs.org> * config.inc.samp: Fix URL for optional libraries. * xemacs.mak (PATH_PREFIX): Set PATH_PREFIX to the value of INSTALL_DIR. * xemacs.mak (PATH_DEFINES): Fix setting of PATH_DEFINES. * xemacs.mak (DEBUG_FLAG_COMPILE_DEBUG): Comment out -RTC1: it even crashes with VC 8. * xemacs.mak: Comment out echo line that leads to command-line-too-long error on some Windowses. 2008-01-24 Mike Sperber <mike@xemacs.org> * make-src-depend (PrintDeps): Fix Perl code that no longer works with Perl 5.10.
author Mike Sperber <sperber@deinprogramm.de>
date Mon, 28 Jan 2008 08:13:37 +0100
parents 183866b06e0b
children aa5ed11f473b
line wrap: on
line source

/* libsst.h - include file for SPARC sound tools library
**
** Copyright (C) 1989 by Jef Poskanzer.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright notice appear in all copies and that both that
** copyright notice and this permission notice appear in supporting
** documentation.  This software is provided "as is" without express or
** implied warranty.
*/

/* Synched up with: Not in FSF. */

/* This file Mule-ized by Ben Wing, 5-15-01. */

#ifndef INCLUDED_libsst_h_
#define INCLUDED_libsst_h_

#include <sys/ioctl.h>
#ifndef SUNOS4_0_3
#define AUDIO_4_0_3_COMPAT
#define AUDIO_CHIP
#define AMD_CHIP               /* SparcStation 1, 2, IPC, and IPX */
#include <sbusdev/audio_79C30.h>
#include <multimedia/libaudio.h>
#include <multimedia/audio_device.h>
#else
#include <sbusdev/audioreg.h>
#endif
#include <sun/audioio.h>

#define SAMPLES_PER_SECOND 8192

int sst_open( );
void sst_close( /* int fd */ );

void sst_set_ger( /* int fd, value */ );
void sst_set_gr( /* int fd, value */ );
void sst_set_gx( /* int fd, value */ );

void sst_tones( /* int fd, dhz1, dhz2, thz, rhz, usec */ );
void sst_dtmf( /* int fd, char *dial, int usecper, usecpause */ );

#endif /* INCLUDED_libsst_h_ */