From 507ff7fa3cb06c2c6a1d3665b325ab6c572a2825 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Mon, 31 Aug 2009 11:20:03 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@28436 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfsound/alsa.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/dfsound/alsa.c b/plugins/dfsound/alsa.c index e9ea0a3b..2050c6ad 100644 --- a/plugins/dfsound/alsa.c +++ b/plugins/dfsound/alsa.c @@ -39,10 +39,8 @@ void SetupSound(void) int pspeed; int pchannels; int format; -#if 0 - int buffer_time = 500000; + int buffer_time = 50000; int period_time = buffer_time / 4; -#endif int err; if (iDisStereo) pchannels = 1; @@ -96,7 +94,6 @@ void SetupSound(void) return; } -#if 0 if((err=snd_pcm_hw_params_set_buffer_time_near(handle, hwparams, &buffer_time, 0))<0) { printf("Buffer time error: %s\n", snd_strerror(err)); @@ -108,7 +105,6 @@ void SetupSound(void) printf("Period time error: %s\n", snd_strerror(err)); return; } -#endif if((err=snd_pcm_hw_params(handle, hwparams))<0) { -- cgit v1.2.3