diff options
Diffstat (limited to 'src/emu/sound/tiasound.h')
-rw-r--r-- | src/emu/sound/tiasound.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/src/emu/sound/tiasound.h b/src/emu/sound/tiasound.h new file mode 100644 index 00000000000..d53e2dfa543 --- /dev/null +++ b/src/emu/sound/tiasound.h @@ -0,0 +1,44 @@ +/*****************************************************************************/ +/* */ +/* Module: TIA Chip Sound Simulator Includes, V1.1 */ +/* Purpose: Define global function prototypes and structures for the TIA */ +/* Chip Sound Simulator. */ +/* Author: Ron Fries */ +/* */ +/* Revision History: */ +/* 10-Sep-96 - V1.0 - Initial Release */ +/* 14-Jan-97 - V1.1 - Added compiler directives to facilitate compilation */ +/* on a C++ compiler. */ +/* */ +/*****************************************************************************/ +/* */ +/* License Information and Copyright Notice */ +/* ======================================== */ +/* */ +/* TiaSound is Copyright(c) 1997 by Ron Fries */ +/* */ +/* This library is free software; you can redistribute it and/or modify it */ +/* under the terms of version 2 of the GNU Library General Public License */ +/* as published by the Free Software Foundation. */ +/* */ +/* This library is distributed in the hope that it will be useful, but */ +/* WITHOUT ANY WARRANTY; without even the implied warranty of */ +/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library */ +/* General Public License for more details. */ +/* To obtain a copy of the GNU Library General Public License, write to the */ +/* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* */ +/* Any permitted reproduction of these routines, in whole or in part, must */ +/* bear this legend. */ +/* */ +/*****************************************************************************/ +#ifndef TIASOUND_H +#define TIASOUND_H + +void *tia_sound_init(int clock, int sample_rate, int gain); +void tia_sound_free(void *chip); +void tia_process (void *chip, stream_sample_t *buffer, int length); +void tia_write(void *chip, offs_t offset, UINT8 data); + +#endif /* TIASOUND_H */ + |