summaryrefslogtreecommitdiff
path: root/plugins/dfsound/adsr.c
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-16 02:22:49 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-12-16 02:22:49 +0000
commitb205e6323f8b10c9dcbfb9fd21e7cb896b3805ef (patch)
tree67c7b5cc41efee2a270d1ce5d079354691589a8a /plugins/dfsound/adsr.c
parent528874bff76f12643d898cca70fd0960217b1ae9 (diff)
downloadpcsxr-b205e6323f8b10c9dcbfb9fd21e7cb896b3805ef.tar.gz
DFSound: change extern inlines to static inlines.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73330 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfsound/adsr.c')
-rw-r--r--plugins/dfsound/adsr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfsound/adsr.c b/plugins/dfsound/adsr.c
index e13b2827..1aacfcd0 100644
--- a/plugins/dfsound/adsr.c
+++ b/plugins/dfsound/adsr.c
@@ -142,7 +142,7 @@ void InitADSR(void) // INIT ADSR
////////////////////////////////////////////////////////////////////////
-extern INLINE void StartADSR(int ch) // MIX ADSR
+static INLINE void StartADSR(int ch) // MIX ADSR
{
s_chan[ch].ADSRX.lVolume=1; // and init some adsr vars
s_chan[ch].ADSRX.State=0;
@@ -152,7 +152,7 @@ extern INLINE void StartADSR(int ch) // MIX ADSR
////////////////////////////////////////////////////////////////////////
-extern INLINE int MixADSR(int ch) // MIX ADSR
+static INLINE int MixADSR(int ch) // MIX ADSR
{
int EnvelopeVol = s_chan[ch].ADSRX.EnvelopeVol;
int EnvelopeVol_f = s_chan[ch].ADSRX.EnvelopeVol_f;