// ----------------------------------------------------------------------------------------------
// MySfx.h
//
// Header for MySfx.c
//
// COPYRIGHT (C) SEGA OF AMERICA, INC. 1998
// All rights reserved.
//
// Information and source code samples contained herein are 
// provided "as-is", without representations or warranties, and 
// are subject to change without notice.
//
// SEGA OF AMERICA, INC. cannot support modifications or 
// derivative works created from the sample source code provided. 
// Developers may use, reproduce, and modify portions or entire 
// sections of the sample source code for the purposes of creating
// Dreamcast applications.  
//
// Sample source code contained herein may not be appropriate 
// for use under all circumstances.  Please consult Developer 
// documentation provided along with your Dreamcast unit for
// additional information and suggestions.
//
//
// Author: Ralph "Cooksey" Thomas
//
// Tabs: 	4
//
// Rev:		04/07/99	Added this header
// ----------------------------------------------------------------------------------------------

#ifndef _MYSFX_H
#define _MYSFX_H

#ifdef __cplusplus
extern "C" {
#endif

extern KTU32 gQSoundChannel;

AM_SOUND_PTR MyPlaySoundEffect		(AM_BANK_PTR theBank,KTU32 soundNumber,KTU32 volume,KTU32 pan);
AM_SOUND_PTR MyPlaySoundEffectFx	(AM_BANK_PTR theBank,KTU32 soundNumber,KTU32 volume,KTU32 pan,KTU32 effectSourceMix,KTBOOL qSoundOnOrOff);  
AM_BANK_PTR  MyLoadBank				(char *bankFileName);
KTBOOL 		 MyStopSoundEffect		(AM_SOUND_PTR theSound);
KTBOOL 		 MyInstallEffectsPatch	(AM_BANK_PTR theBank, KTU32 effectsProgramBankIndex,KTU32 effectsOutputBankIndex);
KTBOOL 		 MySoundEffectIsPlaying	(AM_SOUND_PTR theSound);
KTBOOL 		 MyAllocateSfxInstance	(AM_SOUND_PTR *theSound);

#define MY_SFX_REVERB_CHANNEL			0
#define MY_SFX_QSOUND_CHANNEL			12
#define MY_SFX_NUMBER_OF_Q_CHANNELS		4

#ifdef __cplusplus
}
#endif

#endif
