/external/chromium_org/media/base/ |
audio_bus.cc | 327 void AudioBus::Scale(float volume) { 328 if (volume > 0 && volume != 1) { 330 vector_math::FMUL(channel(i), volume, frames(), channel(i)); local 331 } else if (volume == 0) {
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioManagerTest.java | 84 float volume = 13; local 91 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); 92 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); 93 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); 94 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); 104 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_UP, volume); 105 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_DOWN, volume); 106 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_LEFT, volume); 107 mAudioManager.playSoundEffect(AudioManager.FX_FOCUS_NAVIGATION_RIGHT, volume); 328 // set ringer mode to back normal to not interfere with volume test [all...] |
/external/chromium_org/ash/system/chromeos/audio/ |
tray_audio.cc | 58 // four are used for ascending volume levels. 243 // Sets volume level on slider_, |percent| is ranged from [0.00] to [1.00]. 245 // Slider's value is in finer granularity than audio volume level(0.01), 246 // there will be a small discrepancy between slider's value and volume level 251 // The change in volume will be reflected via accessibility system events, 255 // It is possible that the volume was (un)muted, but the actual volume level 293 void HandleVolumeUp(int volume) { 295 audio_handler->SetOutputVolumePercent(volume); 301 void HandleVolumeDown(int volume) { 378 int volume = value * 100.0f; variable 389 HandleVolumeUp(volume); variable 391 HandleVolumeDown(volume); variable [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/talking_alarm_clock/ |
popup.js | 341 var volumeElement = $('volume'); 343 var volume = localStorage['volume'] || DEFAULT_VOLUME; 345 volumeElement.value = volume; 349 volume = volumeElement.value; 350 localStorage['volume'] = volume;
|
/external/bluetooth/bluedroid/btif/src/ |
btif_rc.c | 166 * IOP issues of absolute volume feature 167 * We encoutered A2DP headsets/carkits advertising absolute volume but buggy. 374 // Register for volume change on connect [all...] |
/external/sonivox/jet_tools/JetCreator/ |
eas.py | 176 ('volume', c_ubyte),
223 def SetVolume (self, volume):
224 """Set the stream volume"""
225 eas_logger.debug('Call EAS_SetVolume: volume=%d' % volume)
227 result = eas_dll.EAS_SetVolume(self.eas.handle, self.handle, volume)
232 """Get the stream volume."""
235 volume = eas_dll.EAS_GetVolume(self.eas.handle, self.handle)
236 if volume < 0:
237 raise EAS_Exception(volume, 'EAS_GetVolume error %d on file %s' % (volume, self.path), 'EAS_GetVolume') [all...] |
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_extension_api.cc | 204 double volume = 1.0; local 207 options->GetDouble(constants::kVolumeKey, &volume)); 208 if (volume < 0.0 || volume > 1.0) { 265 continuous_params.volume = volume;
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zHandlerOut.cpp | 196 const CVolume *volume = 0;
local 199 volume = &_volumes.Front();
200 db = &volume->Database;
399 volume ? volume->Stream: 0,
400 volume ? db : 0,
|
/external/svox/pico/tts/ |
svox_ssml_parser.cpp | 322 else if (strcmp(element, "prosody") == 0) /* only pitch, rate and volume attributes are supported */ 412 else if (strcmp(attributes[i], "volume") == 0) 425 char* volume = new char[18 + strlen(svoxvol)]; local 426 if (!volume) 431 sprintf(volume, "<volume level='%s'>", svoxvol); 432 if (strlen(m_data) + strlen(volume) + 1 > (size_t)m_datasize) 440 strcat(m_data, volume); 446 strcat(m_appendix, "</volume>"); 448 delete [] volume; [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
SystemMediaRouteProvider.java | 160 public void onSetVolume(int volume) { 161 mAudioManager.setStreamVolume(PLAYBACK_STREAM, volume, 0); 167 int volume = mAudioManager.getStreamVolume(PLAYBACK_STREAM); local 169 int newVolume = Math.min(maxVolume, Math.max(0, volume + delta)); 170 if (newVolume != volume) { 171 mAudioManager.setStreamVolume(PLAYBACK_STREAM, volume, 0); 191 final int volume = intent.getIntExtra(EXTRA_VOLUME_STREAM_VALUE, -1); local 192 if (volume >= 0 && volume != mLastReportedVolume) { 433 public void onVolumeSetRequest(Object routeObj, int volume) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
Avrcp.java | 340 if (DEBUG) Log.v(TAG, "MESSAGE_VOLUME_CHANGED: volume=" + msg.arg1 + 365 if (DEBUG) Log.w(TAG, "There is already a volume command in progress."); 368 // Wait on verification on volume from device, before changing the volume. 387 if (DEBUG) Log.w(TAG, "There is already a volume command in progress."); 398 if (DEBUG) Log.v(TAG, "MESSAGE_ABS_VOL_TIMEOUT: Volume change cmd timed out."); 769 * This is called from AudioService. It will return whether this device supports abs volume. 785 public void setAbsoluteVolume(int volume) { 786 int avrcpVolume = convertToAvrcpVolume(volume); 794 /* Called in the native layer as a btrc_callback to return the volume set on the carkit in th [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_ArtistsTest.java | 50 // can not accept any other volume names 51 String volume = "fakeVolume"; local 52 assertNull(mContentResolver.query(Artists.getContentUri(volume), null, null, null, null));
|
MediaStore_Audio_Artists_AlbumsTest.java | 53 // can not accept any other volume names 54 String volume = "fakeVolume"; local 55 assertNull(mContentResolver.query(MediaStore.Audio.Artists.Albums.getContentUri(volume, 1),
|
MediaStore_Audio_GenresTest.java | 57 // can not accept any other volume names 58 String volume = "fakeVolume"; local 59 assertNull(mContentResolver.query(Genres.getContentUri(volume), null, null, null, null));
|
MediaStore_Audio_PlaylistsTest.java | 48 // can not accept any other volume names 59 String volume = "fakeVolume"; local 60 assertNull(mContentResolver.query(Playlists.getContentUri(volume), null, null, null,
|
/device/asus/flo/ |
audio_effects.conf | 64 volume {
|
/device/lge/hammerhead/ |
audio_effects.conf | 89 volume {
|
/device/lge/mako/ |
audio_effects.conf | 57 volume {
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_ct.c | 68 ** Description This function builds the Set Absolute Volume command. 82 /* add fixed lenth 1 - volume (1) */ 84 UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); 93 ** Description This function builds the register notification for volume change. 228 status = avrc_bld_set_abs_volume_cmd(&p_cmd->volume, p_pkt);
|
/external/chromium_org/chrome/browser/speech/ |
tts_message_filter.cc | 88 params.volume = request.volume;
|
/external/chromium_org/content/renderer/media/ |
webrtc_audio_device_impl.h | 71 // suitable microphone volume level will be set. This scheme will affect 90 // this is noticed by a slow increase in volume. Smaller changes in microphone 124 // AgcAudioStream<AudioInputStream>::GetAgcVolume() => get latest mic volume 125 // AudioInputData::OnData(..., volume) 126 // AudioInputController::OnData(..., volume) 127 // AudioInputSyncWriter::Write(..., volume) 129 // [volume | size | data] is sent to the renderer [shared memory] 134 // WebRtcAudioDeviceImpl::Capture(..., volume) 135 // AudioTransport::RecordedDataIsAvailable(...,volume, new_volume) 137 // The AGC now uses the current volume input and computes a suitable ne [all...] |
webrtc_audio_device_not_impl.cc | 132 int32_t WebRtcAudioDeviceNotImpl::SetSpeakerVolume(uint32_t volume) { 136 int32_t WebRtcAudioDeviceNotImpl::SpeakerVolume(uint32_t* volume) const {
|
webrtc_audio_device_not_impl.h | 68 virtual int32_t SetSpeakerVolume(uint32_t volume) OVERRIDE; 69 virtual int32_t SpeakerVolume(uint32_t* volume) const OVERRIDE;
|
/external/chromium_org/media/audio/alsa/ |
alsa_output.h | 82 virtual void SetVolume(double volume) OVERRIDE; 83 virtual void GetVolume(double* volume) OVERRIDE; 209 float volume_; // Volume level from 0.0 to 1.0.
|
/external/chromium_org/media/audio/cras/ |
cras_input.cc | 223 // Update the AGC volume level once every second. Note that, |volume| is 250 void CrasInputStream::SetVolume(double volume) { 253 // Convert from the passed volume ratio, to dB * 100. 254 double dB = GetDecibelsFromVolumeRatio(volume); 257 // Update the AGC volume level based on the last setting above. Note that, 258 // the volume-level resolution is not infinite and it is therefore not 259 // possible to assume that the volume provided as input parameter can be
|