mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
48 lines
3.0 KiB
C
48 lines
3.0 KiB
C
// license:GPL-2.0+
|
|
// copyright-holders:Ron Fries,Dan Boris
|
|
/*****************************************************************************/
|
|
/* */
|
|
/* 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 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 MAME_SOUND_TIASOUND_H
|
|
#define MAME_SOUND_TIASOUND_H
|
|
|
|
#pragma once
|
|
|
|
void *tia_sound_init(device_t *device, int clock, int sample_rate, int gain);
|
|
void tia_sound_free(void *chip);
|
|
void tia_process(void *chip, write_stream_view &buffer);
|
|
void tia_write(void *chip, offs_t offset, uint8_t data);
|
|
|
|
#endif // MAME_SOUND_TIASOUND_H
|