summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-30 02:11:41 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-30 02:11:41 +0000
commit4731f0049c58e98e286d1b9fb349b07b37ecb930 (patch)
tree931959508b3c67e7ac237911940b2c2ccd8ae268 /plugins
parenta10e3dc15207327e6c055ad3eb7f96873b448aba (diff)
downloadpcsxr-4731f0049c58e98e286d1b9fb349b07b37ecb930.tar.gz
hopkat
-dfsound- try adjust output buffer quality (test) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61592 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/externals.h13
-rw-r--r--plugins/dfsound/sdl.c2
2 files changed, 14 insertions, 1 deletions
diff --git a/plugins/dfsound/externals.h b/plugins/dfsound/externals.h
index 50c0f277..4966f2c0 100644
--- a/plugins/dfsound/externals.h
+++ b/plugins/dfsound/externals.h
@@ -59,7 +59,20 @@
#define NSSIZE 10
#define APU_CYCLES_UPDATE NSSIZE
+
+
+// update times
+#if 0
+// PEOPS DSound 1.09a - good sound cards
#define LATENCY 10
+#elif defined (_WINDOWS)
+// work on most cards
+#define LATENCY 25
+#else
+// work on most cards
+#define LATENCY 25
+#endif
+
// make sure this is bigger than cpu action - no glitchy
#define INTERVAL_TIME 5000
diff --git a/plugins/dfsound/sdl.c b/plugins/dfsound/sdl.c
index 45ccba2d..06acd686 100644
--- a/plugins/dfsound/sdl.c
+++ b/plugins/dfsound/sdl.c
@@ -71,7 +71,7 @@ void SetupSound(void) {
spec.freq = 44100;
spec.format = AUDIO_S16SYS;
spec.channels = iDisStereo ? 1 : 2;
- spec.samples = 512;
+ spec.samples = 1024;
spec.callback = SOUND_FillAudio;
if (SDL_OpenAudio(&spec, NULL) < 0) {