aboutsummaryrefslogtreecommitdiff
path: root/plugins/spunull
diff options
context:
space:
mode:
authornotaz2011-10-05 02:11:18 +0300
committernotaz2011-10-08 03:29:24 +0300
commit983a7cfdccceaa612267a1b045110b4f831d1495 (patch)
tree9db370d4f7a553f078d8ab4793324ca220a90bc5 /plugins/spunull
parent4600ba0381ea86bdfdcba8f4f762c89f5c51af5b (diff)
downloadpcsx_rearmed-983a7cfdccceaa612267a1b045110b4f831d1495.tar.gz
pcsx_rearmed-983a7cfdccceaa612267a1b045110b4f831d1495.tar.bz2
pcsx_rearmed-983a7cfdccceaa612267a1b045110b4f831d1495.zip
spu/cdda: sync cdda to spu playback
this will probably make cdrom/vsync timing desync situation worse (those were never in sync anyway) but fix some cdda related sound stuttering. Those magic values are used trying to preserve other SPU plugin compatibility.
Diffstat (limited to 'plugins/spunull')
-rw-r--r--plugins/spunull/spunull.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/spunull/spunull.c b/plugins/spunull/spunull.c
index be798c5..4390be3 100644
--- a/plugins/spunull/spunull.c
+++ b/plugins/spunull/spunull.c
@@ -347,8 +347,9 @@ void SPUasync(unsigned int cycle)
{
}
-void SPUplayCDDAchannel(short *pcm, int nbytes)
+int SPUplayCDDAchannel(short *pcm, int nbytes)
{
+ return -1;
}
////////////////////////////////////////////////////////////////////////