diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-28 06:07:50 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-12-28 06:07:50 +0000 |
| commit | 402c449811cb93d73bcdd69c5923713f8635411d (patch) | |
| tree | 10e7873792c4affd0227e51a2c948fefde37fca0 /plugins | |
| parent | 9e61a223d6579119901b600be5e40f871d16b22c (diff) | |
| download | pcsxr-402c449811cb93d73bcdd69c5923713f8635411d.tar.gz | |
dfsound
- spu.c: silenced warning.
- (win32) DFSound.rc, resource.h, cfg.c: Added mute option and freqresponse.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61534 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/dfsound/spu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index 44b7763b..7cb81265 100644 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -866,14 +866,14 @@ GOON: ; tmp = -32768;
if (tmp > 32767)
tmp = 32767;
- sl = tmp;
+ sl = (int)tmp;
tmp = avg + rdiff * _interpolation_coefficient;
if (tmp < -32768)
tmp = -32768;
if (tmp > 32767)
tmp = 32767;
- sr = tmp;
+ sr = (int)tmp;
*pS++=sl/voldiv;
|
