diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-11-09 20:49:54 +0000 |
| commit | 4d55a8b8254dff61fdc7b1959f6aef7eafbd9439 (patch) | |
| tree | fb5e56131a7c8b729641c70e7a87883ebaea5186 /plugins/dfsound/xa.c | |
| parent | 71d6c56271e2650b1a2f5149521a5b1896084710 (diff) | |
| download | pcsxr-4d55a8b8254dff61fdc7b1959f6aef7eafbd9439.tar.gz | |
Patch 10767 (Durandal_1707).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfsound/xa.c')
| -rw-r--r-- | plugins/dfsound/xa.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index 20b6802a..4f78eb00 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -45,6 +45,7 @@ uint32_t * CDDAEnd = NULL; int iLeftXAVol = 0x8000;
int iRightXAVol = 0x8000;
+#if 0
static int gauss_ptr = 0;
static int gauss_window[8] = {0, 0, 0, 0, 0, 0, 0, 0};
@@ -52,6 +53,7 @@ static int gauss_window[8] = {0, 0, 0, 0, 0, 0, 0, 0}; #define gvall(x) gauss_window[(gauss_ptr+x)&3]
#define gvalr0 gauss_window[4+gauss_ptr]
#define gvalr(x) gauss_window[4+((gauss_ptr+x)&3)]
+#endif
long cdxa_dbuf_ptr;
@@ -62,7 +64,7 @@ long cdxa_dbuf_ptr; static int lastxa_lc, lastxa_rc;
static int lastcd_lc, lastcd_rc;
-INLINE void MixXA(void)
+void MixXA(void)
{
int ns;
int lc,rc;
@@ -260,7 +262,7 @@ unsigned long timeGetTime_spu() // FEED XA
////////////////////////////////////////////////////////////////////////
-INLINE void FeedXA(xa_decode_t *xap)
+void FeedXA(xa_decode_t *xap)
{
int sinc,spos,i,iSize,iPlace;
@@ -451,7 +453,7 @@ INLINE void FeedXA(xa_decode_t *xap) unsigned int cdda_ptr;
-INLINE void FeedCDDA(unsigned char *pcm, int nBytes)
+void FeedCDDA(unsigned char *pcm, int nBytes)
{
while(nBytes>0)
{
|
