/frameworks/av/services/audiopolicy/enginedefault/src/ |
Gains.h | 32 static float volIndexToAmpl(Volume::device_category deviceCategory, 36 static float volIndexToDb(Volume::device_category deviceCategory, 40 // default volume curve 41 static const VolumeCurvePoint sDefaultVolumeCurve[Volume::VOLCNT]; 42 // default volume curve for media strategy 43 static const VolumeCurvePoint sDefaultMediaVolumeCurve[Volume::VOLCNT]; 44 // volume curve for non-media audio on ext media outputs (HDMI, Line, etc) 45 static const VolumeCurvePoint sExtMediaSystemVolumeCurve[Volume::VOLCNT]; 46 // volume curve for media strategy on speakers 47 static const VolumeCurvePoint sSpeakerMediaVolumeCurve[Volume::VOLCNT] [all...] |
Gains.cpp | 28 #include <Volume.h> 36 Gains::sDefaultVolumeCurve[Volume::VOLCNT] = { 42 Gains::sDefaultMediaVolumeCurve[Volume::VOLCNT] = { 47 Gains::sExtMediaSystemVolumeCurve[Volume::VOLCNT] = { 52 Gains::sSpeakerMediaVolumeCurve[Volume::VOLCNT] = { 57 Gains::sSpeakerMediaVolumeCurveDrc[Volume::VOLCNT] = { 62 Gains::sSpeakerSonificationVolumeCurve[Volume::VOLCNT] = { 67 Gains::sSpeakerSonificationVolumeCurveDrc[Volume::VOLCNT] = { 71 // AUDIO_STREAM_SYSTEM, AUDIO_STREAM_ENFORCED_AUDIBLE and AUDIO_STREAM_DTMF volume tracks 77 Gains::sDefaultSystemVolumeCurve[Volume::VOLCNT] = [all...] |
Engine.cpp | 66 float Engine::volIndexToDb(Volume::device_category category, audio_stream_type_t streamType, 92 for (int j = 0; j < Volume::DEVICE_CATEGORY_CNT; j++) { 94 static_cast<Volume::device_category>(j), 101 streams.setVolumeCurvePoint(AUDIO_STREAM_SYSTEM, Volume::DEVICE_CATEGORY_SPEAKER, 103 streams.setVolumeCurvePoint(AUDIO_STREAM_RING, Volume::DEVICE_CATEGORY_SPEAKER, 105 streams.setVolumeCurvePoint(AUDIO_STREAM_ALARM, Volume::DEVICE_CATEGORY_SPEAKER, 107 streams.setVolumeCurvePoint(AUDIO_STREAM_NOTIFICATION, Volume::DEVICE_CATEGORY_SPEAKER, 109 streams.setVolumeCurvePoint(AUDIO_STREAM_MUSIC, Volume::DEVICE_CATEGORY_SPEAKER, 111 streams.setVolumeCurvePoint(AUDIO_STREAM_ACCESSIBILITY, Volume::DEVICE_CATEGORY_SPEAKER, 138 for (int j = 0; j < Volume::DEVICE_CATEGORY_CNT; j++) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
ListenerParam.java | 39 Volume;
|
AudioParam.java | 4 Volume,
|
/frameworks/av/services/audiopolicy/engineconfigurable/include/ |
EngineDefinition.h | 19 #include <Volume.h>
|
/bootable/recovery/ |
roots.h | 26 // Load and parse volume data from /etc/recovery.fstab. 29 // Return the Volume* record for this path (or NULL). 30 Volume* volume_for_path(const char* path); 32 // Make sure that the volume 'path' is on is mounted. Returns 0 on 33 // success (volume is mounted). 36 // Make sure that the volume 'path' is on is mounted. Returns 0 on 37 // success (volume is unmounted); 40 // Reformat the given volume (must be the mount point only, eg 41 // "/cache"), no paths permitted. Attempts to unmount the volume if 43 int format_volume(const char* volume); [all...] |
bootloader.cpp | 29 static int get_bootloader_message_mtd(struct bootloader_message *out, const Volume* v); 30 static int set_bootloader_message_mtd(const struct bootloader_message *in, const Volume* v); 31 static int get_bootloader_message_block(struct bootloader_message *out, const Volume* v); 32 static int set_bootloader_message_block(const struct bootloader_message *in, const Volume* v); 35 Volume* v = volume_for_path("/misc"); 37 LOGE("Cannot load volume /misc!\n"); 50 Volume* v = volume_for_path("/misc"); 52 LOGE("Cannot load volume /misc!\n"); 72 const Volume* v) { 98 const Volume* v) [all...] |
common.h | 44 typedef struct fstab_rec Volume;
|
roots.cpp | 64 Volume* v = &fstab->recs[i]; 71 Volume* volume_for_path(const char* path) { 76 Volume* v = volume_for_path(path); 78 LOGE("unknown volume for path [%s]\n", path); 96 // volume is already mounted 129 Volume* v = volume_for_path(path); 131 LOGE("unknown volume for path [%s]\n", path); 149 // volume is already unmounted 170 int format_volume(const char* volume) { 171 Volume* v = volume_for_path(volume) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
StreamDescriptor.h | 19 #include <Volume.h> 27 // stream descriptor used for volume control 44 void setVolumeCurvePoint(Volume::device_category deviceCategory, const VolumeCurvePoint *point); 45 const VolumeCurvePoint *getVolumeCurvePoint(Volume::device_category deviceCategory) const 51 const VolumeCurvePoint *mVolumeCurve[Volume::DEVICE_CATEGORY_CNT]; 52 KeyedVector<audio_devices_t, int> mIndexCur; /**< current volume index per device. */ 53 int mIndexMin; /**< min volume index. */ 54 int mIndexMax; /**< max volume index. */ 59 * stream descriptors collection for volume control 74 Volume::device_category deviceCategory [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
VolumeProfile.h | 22 #include <Volume.h> 34 /** Volume is using FixedPointParameter until float parameters are available. */ 56 * volume profile identifier, which is in fact a stream type to link with audio.h. 61 Volume::device_category mCategory;
|
VolumeProfile.cpp | 21 #include <Volume.h> 39 if (categoryKey >= Volume::DEVICE_CATEGORY_CNT) { 40 mCategory = Volume::DEVICE_CATEGORY_SPEAKER; 42 mCategory = static_cast<Volume::device_category>(categoryKey);
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
Stream.h | 21 #include <Volume.h> 36 typedef std::map<Volume::device_category, VolumeCurvePoints> VolumeProfiles; 82 status_t setVolumeProfile(Volume::device_category category, const VolumeCurvePoints &points); 84 float volIndexToDb(Volume::device_category deviceCategory, int indexInUi); 99 * Collection of volume profiles indexed by the stream type. 100 * Volume is the only reason why the stream profile was not removed from policy when introducing
|
Stream.cpp | 65 status_t Element<audio_stream_type_t>::setVolumeProfile(Volume::device_category category, 68 ALOGD("%s: adding volume profile for %s for device category %d, points nb =%d", __FUNCTION__, 94 float Element<audio_stream_type_t>::volIndexToDb(Volume::device_category deviceCategory, 104 if (curve.size() != Volume::VOLCNT) { 110 // the volume index in the UI is relative to the min and max volume indices for this stream type 111 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - 112 curve[Volume::VOLMIN].mIndex; 115 ALOGE("%s: Invalid volume indexes Min=Max=%d", __FUNCTION__, mIndexMin); 121 // find what part of the curve this index volume belongs to, or if it's out of bound [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/interface/ |
AudioPolicyPluginInterface.h | 21 #include <Volume.h> 119 Volume::device_category category,
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
AGC.h | 45 LVM_INT32 Volume; /* The current volume setting */ 46 LVM_INT32 Target; /* The target volume setting */ 51 LVM_INT16 VolumeShift; /* Volume shift scaling */ 52 LVM_INT16 VolumeTC; /* Volume update time constant */
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/ |
Droid.java | 25 import com.example.android.rs.vr.engine.Volume; 60 public static Volume buildRSVolume(RenderScript rs, 64 Volume v = new Volume();
|
Mandelbulb.java | 25 import com.example.android.rs.vr.engine.Volume; 53 public static Volume buildRSVolume(RenderScript rs, 57 Volume v = new Volume();
|
VolumeLoader.java | 22 import com.example.android.rs.vr.engine.Volume; 58 public Volume getVolume(RenderScript rs, String name) { 75 Volume v = LoaderDicom.buildRSVolume(rs, new File(baseDir, dir), mListener); 85 Volume v = LoaderRaw.buildRSVolume(rs, new File(baseDir, dir), p, mListener);
|
/frameworks/av/services/audiopolicy/engine/interface/ |
AudioPolicyManagerInterface.h | 21 #include <Volume.h> 137 * Translate a volume index given by the UI to an amplification value in dB for a stream type 146 virtual float volIndexToDb(Volume::device_category deviceCategory, audio_stream_type_t stream, 150 * Initialize the min / max index of volume applicable for a given stream type. These indexes 151 * will be used upon conversion of UI index to volume amplification. 160 * Initialize volume curves for each strategy and device category 163 path to boost soft sounds, used to adjust volume curves accordingly
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
StreamDescriptor.cpp | 43 device = Volume::getDeviceForVolume(device); 71 void StreamDescriptor::setVolumeCurvePoint(Volume::device_category deviceCategory, 121 Volume::device_category deviceCategory, 128 Volume::device_category deviceCategory) const
|
/frameworks/av/media/libeffects/lvm/lib/Bass/src/ |
LVDBE_Control.c | 189 /* Converts the input volume demand from dBs to linear. */ 196 /* 1. The volume should have the following settings: */ 198 /* DBE Vol Control Volume setting */ 213 LVM_INT16 Volume = 0; /* Required volume in dBs */ 216 * Apply the volume if enabled 225 Volume = VOLUME_MAX; 229 Volume = pParams->VolumedB; 237 dBOffset = (LVM_UINT16)(6 + Volume % 6); /* Get the dBs 0-5 */ 238 dBShifts = (LVM_UINT16)(Volume / -6); /* Get the 6dB shifts * [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
AGC_MIX_VOL_2St1Mon_D32_WRA.c | 50 /* MonoSrc -->| AGC |---->| + |----->| Volume |------------------------------+---> */ 91 LVM_INT16 Vol_Mult; /* Short volume */ 103 LVM_INT32 Vol_Current = pInstance->Volume; /* Actual volume setting */ 104 LVM_INT32 Vol_Target = pInstance->Target; /* Target volume setting */ 105 LVM_INT16 Vol_Shift = pInstance->VolumeShift; /* Volume shift scaling */ 119 Vol_Mult = (LVM_INT16)(Vol_Current >> 16); /* Get the short volume gain */ 141 * Apply the volume and write to the output stream 191 pInstance->Volume = Vol_Current; /* Actual volume setting * [all...] |
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/example/ |
Android.mk | 48 PolicySubsystem-Volume.xml \ 64 LOCAL_MODULE := PolicySubsystem-Volume.xml
|