Searched refs:volume (Results 26 - 41 of 41) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
H A DMediaVisualizerTest.java50 // Implementor UUID for volume controller effect defined in
236 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC);
242 // creating a volume controller on output mix ensures that ro.audio.silent mutes
299 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
315 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC);
321 // creating a volume controller on output mix ensures that ro.audio.silent mutes
431 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
437 //Test case 2.2: test capture in polling mode with volume scaling
441 // SCALING_MODE_AS_PLAYED mode decreases when lowering the volume
454 // creating a volume controlle
[all...]
/frameworks/base/media/java/android/media/
H A DIAudioService.aidl91 oneway void playSoundEffectVolume(int effectType, float volume);
H A DAudioService.java89 * The implementation of the volume manager service.
92 * asynchronous to external calls. For example, the task of setting a volume
94 * volume and later persist to the database. Similarly, setting the ringer mode
109 /** How long to delay before persisting a change in volume/ringer mode. */
162 // flags for MSG_PERSIST_VOLUME indicating if current and/or last audible volume should be
189 // Internally master volume is a float in the 0.0 - 1.0 range,
193 // Maximum volume adjust steps allowed in a single batch call.
221 /** @hide Maximum volume index values for audio streams */
234 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings
235 * of another stream: This avoids multiplying the volume setting
1021 findVolumeDelta(int direction, int volume) argument
1221 setMasterVolume(int volume, int flags) argument
1230 doSetMasterVolume(float volume, int flags) argument
1585 playSoundEffectVolume(int effectType, float volume) argument
3186 playSoundEffect(int effectType, int volume) argument
[all...]
H A DAudioManager.java42 * AudioManager provides access to volume and ringer mode control.
61 * audio streams may consider pausing, reducing volume or some other action
101 * @hide Broadcast intent when the volume for a particular stream type changes.
102 * Includes the stream, the new volume and previous volumes.
105 * - never used for "remote" volume changes
115 * @hide Broadcast intent when the master volume changes.
116 * Includes the new volume
127 * Includes the the new volume
160 * @hide The stream type for the volume changed intent.
165 * @hide The volume associate
1697 playSoundEffect(int effectType, float volume) argument
[all...]
/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp495 virtual status_t setVoiceVolume(float volume) argument
499 data.writeFloat(volume);
810 float volume = data.readFloat(); local
812 reply->writeInt32( setStreamVolume((audio_stream_type_t) stream, volume, output) );
961 float volume = data.readFloat(); local
962 reply->writeInt32( setVoiceVolume(volume) );
H A DToneGenerator.cpp795 // volume: volume applied to tone (0.0 to 1.0)
801 ToneGenerator::ToneGenerator(audio_stream_type_t streamType, float volume, bool threadCanCallJava) { argument
803 ALOGV("ToneGenerator constructor: streamType=%d, volume=%f", streamType, volume);
813 mVolume = volume;
1148 // If segment, ON -> OFF transition : ramp volume down
1467 // volume: volume (0.0 to 1.0)
1474 unsigned short frequency, float volume) {
1473 WaveGenerator(unsigned short samplingRate, unsigned short frequency, float volume) argument
[all...]
/frameworks/av/include/media/
H A DIAudioFlinger.h157 virtual status_t setVoiceVolume(float volume) = 0;
/frameworks/av/services/audioflinger/
H A DAudioMixer.h62 RAMP_VOLUME = 0x3002, // ramp to new volume
149 int16_t volume[MAX_NUM_CHANNELS]; // [0]3.12 fixed point member in union:android::AudioMixer::track_t::__anon930
H A DAudioFlinger.h175 virtual status_t setVoiceVolume(float volume);
754 : volume(1.0f),
758 float volume; member in struct:android::AudioFlinger::stream_type_t
864 // FILLED state is used for suppressing volume ramp at begin of playing
894 volatile float mCachedVolume; // combined master volume and stream type volume;
1384 // no range check, doesn't check per-thread stream volume, AudioFlinger::mLock held
1386 { return mStreamTypes[stream].volume; }
1606 // reset, enable, disable commands to effect engine and provide volume
1919 int mVolumeCtrlIdx; // index of insert effect having control over volume
[all...]
H A DAudioFlinger.cpp619 // Set master volume in the HALs which support it.
631 // Now set the master volume in each playback thread. Playback threads
632 // assigned to HALs which do not have master volume support will apply
633 // master volume during the mix operation. Threads with HALs which do
634 // support master volume will simply ignore the setting.
792 mStreamTypes[stream].volume = value;
833 float volume; local
839 volume = thread->streamVolume(stream);
841 volume = streamVolume_l(stream);
844 return volume;
8716 uint32_t volume[2]; local
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp1225 // Apply a volume correction to avoid clipping in the EQ based on 2 factors:
1226 // - the maximum EQ band gain: the volume correction is such that the total of volume + max
1269 if (maxGain + pContext->pBundledContext->volume > 0) {
1270 gainCorrection = maxGain + pContext->pBundledContext->volume;
1279 ActiveParams.VC_EffectLevel = pContext->pBundledContext->volume - gainCorrection;
1294 ALOGV("\tLVM_VOLUME: Disabling Smoothing for first volume change to remove spikes/clicks");
1529 pContext->pBundledContext->volume = level / 100;
1552 *level = pContext->pBundledContext->volume * 100;
1573 /* Set appropriate volume leve
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiWatchdogStateMachine.java198 * Minimum volume (converted from pkt/sec) to detect a poor link, to avoid randomness.
823 + df.format(mCurrentLoss.mValue * 100) + "% volume="
1005 * - volume-weighted: each update has its own weight (number of packets)
1079 * @param volume is the volume for this single update
1081 public void updateLoss(int rssi, double value, int volume) { argument
1082 if (volume <= 0) return;
1085 mEntries[index].update(value, volume);
1089 + "% volume=" + df.format(mEntries[index].mVolume));
1190 // don't use a data point if it volume i
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditorImpl.java91 private static final String ATTR_VOLUME = "volume";
1134 final int volume = Integer.parseInt(parser.getAttributeValue("", ATTR_VOLUME));
1139 renderingMode, beginMs, endMs, volume, muted, audioWaveformFilename);
1345 final int volume = Integer.parseInt(parser.getAttributeValue("", ATTR_VOLUME));
1359 volume, muted,
H A DMediaArtistNativeHelper.java1460 int volume; field in class:MediaArtistNativeHelper.AudioSettings
2638 * Sets the volume for current media item in clip properties array
2753 mAudioSettings.volume = 0;
2755 mAudioSettings.volume = mAudioTrack.getVolume();
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL.h1988 XAint32 volume
/frameworks/wilhelm/include/SLES/
H A DOpenSLES.h1354 SLint32 volume

Completed in 361 milliseconds

12