Home
last modified time | relevance | path

Searched defs:HapticGeneratorParam (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.h43 struct HapticGeneratorParam { struct
44 uint32_t hapticChannelSource[2]; // The audio channels used to generate haptic channels.
48 uint32_t audioChannelCount;
49 uint32_t hapticChannelCount;
52 std::map<int, os::HapticScale> id2HapticScale;
53 os::HapticScale maxHapticScale; // max haptic scale will be used to scale haptic data.
54 float maxHapticAmplitude; // max amplitude will be used to limit haptic data absolute values.
56 float resonantFrequency;
57 float bpfQ;
58 float slowEnvNormalizationPower;
[all …]
/frameworks/av/media/libeffects/hapticgenerator/aidl/
DHapticGeneratorContext.h35 struct HapticGeneratorParam { struct
39 int mHapticChannelSource[2];
41 int mHapticChannelCount;
42 int mAudioChannelCount;
44 std::map<int, HapticGenerator::VibratorScale> mHapticScales;
46 HapticGenerator::VibratorScale mMaxVibratorScale;
48 HapticGenerator::VibratorInformation mVibratorInfo;