1
/*****************************************************************************/
3
/* Module: TIA Chip Sound Simulator Includes, V1.1 */
4
/* Purpose: Define global function prototypes and structures for the TIA */
5
/* Chip Sound Simulator. */
6
/* Author: Ron Fries */
8
/* Revision History: */
9
/* 10-Sep-96 - V1.0 - Initial Release */
10
/* 14-Jan-97 - V1.1 - Added compiler directives to facilitate compilation */
11
/* on a C++ compiler. */
13
/*****************************************************************************/
15
/* License Information and Copyright Notice */
16
/* ======================================== */
18
/* TiaSound is Copyright Ron Fries */
20
/* This library is free software; you can redistribute it and/or modify it */
21
/* under the terms of version 2 of the GNU Library General Public License */
22
/* as published by the Free Software Foundation. */
24
/* This library is distributed in the hope that it will be useful, but */
25
/* WITHOUT ANY WARRANTY; without even the implied warranty of */
26
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library */
27
/* General Public License for more details. */
28
/* To obtain a copy of the GNU Library General Public License, write to the */
29
/* Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
31
/* Any permitted reproduction of these routines, in whole or in part, must */
32
/* bear this legend. */
34
/*****************************************************************************/
37
#ifndef __TIASOUND_H__
38
#define __TIASOUND_H__
40
void *tia_sound_init(int clock, int sample_rate, int gain);
41
void tia_sound_free(void *chip);
42
void tia_process (void *chip, stream_sample_t *buffer, int length);
43
void tia_write(void *chip, offs_t offset, UINT8 data);
45
#endif /* __TIASOUND_H__ */