diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-08-31 11:20:03 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2009-08-31 11:20:03 +0000 |
| commit | 507ff7fa3cb06c2c6a1d3665b325ab6c572a2825 (patch) | |
| tree | 18b489a209c2c46875b78ff15528c89f901a2e6e /plugins | |
| parent | d772714e45f5cb7db70c284a667eb69867a57e86 (diff) | |
| download | pcsxr-507ff7fa3cb06c2c6a1d3665b325ab6c572a2825.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@28436 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dfsound/alsa.c | 6 |
1 files changed, 1 insertions, 5 deletions
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) { |
