summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-09-08 16:06:18 -0700
committerEric Laurent <elaurent@google.com>2010-09-08 16:06:18 -0700
commit54c38fdcff502ab3502c55dd314a954dd60c0183 (patch)
tree262ae2c34f5eb7e695994ccc3d79c8da097d12d5 /include
parentf9c0ae8474dc7180a561ed1e7a8ba3d0d31f6d38 (diff)
downloadframeworks_av-54c38fdcff502ab3502c55dd314a954dd60c0183.zip
frameworks_av-54c38fdcff502ab3502c55dd314a954dd60c0183.tar.gz
frameworks_av-54c38fdcff502ab3502c55dd314a954dd60c0183.tar.bz2
Modify type of some environmental reverb parameters
Changed type of decay time, reverb delay and reflections delay parameters from signed to unsigned int to match OpenSL ES interface definition. Also fixed some type casts in lvm reverb wrapper. Change-Id: I5ca5e76a87c2590f01f031f3168355586ef22556
Diffstat (limited to 'include')
-rw-r--r--include/media/EffectEnvironmentalReverbApi.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/media/EffectEnvironmentalReverbApi.h b/include/media/EffectEnvironmentalReverbApi.h
index 2233e3f..36accd8 100644
--- a/include/media/EffectEnvironmentalReverbApi.h
+++ b/include/media/EffectEnvironmentalReverbApi.h
@@ -48,16 +48,16 @@ typedef enum
//t_reverb_settings is equal to SLEnvironmentalReverbSettings defined in OpenSL ES specification.
typedef struct s_reverb_settings {
- int16_t roomLevel;
- int16_t roomHFLevel;
- int32_t decayTime;
- int16_t decayHFRatio;
- int16_t reflectionsLevel;
- int32_t reflectionsDelay;
- int16_t reverbLevel;
- int32_t reverbDelay;
- int16_t diffusion;
- int16_t density;
+ int16_t roomLevel;
+ int16_t roomHFLevel;
+ uint32_t decayTime;
+ int16_t decayHFRatio;
+ int16_t reflectionsLevel;
+ uint32_t reflectionsDelay;
+ int16_t reverbLevel;
+ uint32_t reverbDelay;
+ int16_t diffusion;
+ int16_t density;
} __attribute__((packed)) t_reverb_settings;