view src/sexypsf/spu/regs.h @ 1465:db616ccdd40c

use tuple_free(x) in place of mowgli_object_unref(x)
author Giacomo Lozito <james@develia.org>
date Sat, 11 Aug 2007 12:21:30 +0200
parents 3da1b8942b8b
children
line wrap: on
line source

/***************************************************************************
                           regs.h  -  description
                             -------------------
    begin                : Wed May 15 2002
    copyright            : (C) 2002 by Pete Bernert
    email                : BlackDove@addcom.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version. See also the license.txt file for *
 *   additional informations.                                              *
 *                                                                         *
 ***************************************************************************/

//*************************************************************************//
// History of changes:
//
// 2002/05/15 - Pete
// - generic cleanup for the Peops release
//
//*************************************************************************//


static void SoundOn(int start,int end,u16 val);
static void SoundOff(int start,int end,u16 val);
static void FModOn(int start,int end,u16 val);
static void NoiseOn(int start,int end,u16 val);
static void SetVolumeLR(int right, u8 ch,s16 vol);
static void SetPitch(int ch,u16 val);
void SPUwriteRegister(u32 reg, u16 val);