~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/emu/sound/tiasound.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*****************************************************************************/
2
 
/*                                                                           */
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                                                        */
7
 
/*                                                                           */
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.                                  */
12
 
/*                                                                           */
13
 
/*****************************************************************************/
14
 
/*                                                                           */
15
 
/*                 License Information and Copyright Notice                  */
16
 
/*                 ========================================                  */
17
 
/*                                                                           */
18
 
/* TiaSound is Copyright Ron Fries                                           */
19
 
/*                                                                           */
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.                             */
23
 
/*                                                                           */
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.   */
30
 
/*                                                                           */
31
 
/* Any permitted reproduction of these routines, in whole or in part, must   */
32
 
/* bear this legend.                                                         */
33
 
/*                                                                           */
34
 
/*****************************************************************************/
35
 
#pragma once
36
 
 
37
 
#ifndef __TIASOUND_H__
38
 
#define __TIASOUND_H__
39
 
 
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);
44
 
 
45
 
#endif  /* __TIASOUND_H__ */
46