/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. 380 // 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 | 203 double volume = 1.0; local 206 options->GetDouble(constants::kVolumeKey, &volume)); 207 if (volume < 0.0 || volume > 1.0) { 264 continuous_params.volume = volume;
|
/external/chromium_org/content/renderer/media/ |
media_stream_audio_processor.cc | 157 // Return 1.0 to indicate no volume scaling on the data. 229 base::TimeDelta capture_delay, int volume, bool key_pressed, 237 *new_volume = ProcessData(&capture_frame_, capture_delay, volume, 490 int volume, 517 DCHECK_LE(volume, WebRtcAudioDeviceImpl::kMaxVolumeLevel); 519 int err = agc->set_stream_analog_level(volume); 535 // Return 0 if the volume has not been changed, otherwise return the new 536 // volume. 537 return (agc->stream_analog_level() == volume) ?
|
webrtc_audio_device_impl.h | 72 // suitable microphone volume level will be set. This scheme will affect 91 // this is noticed by a slow increase in volume. Smaller changes in microphone 125 // AgcAudioStream<AudioInputStream>::GetAgcVolume() => get latest mic volume 126 // AudioInputData::OnData(..., volume) 127 // AudioInputController::OnData(..., volume) 128 // AudioInputSyncWriter::Write(..., volume) 130 // [volume | size | data] is sent to the renderer [shared memory] 135 // WebRtcAudioDeviceImpl::Capture(..., volume) 136 // AudioTransport::RecordedDataIsAvailable(...,volume, new_volume) 138 // The AGC now uses the current volume input and computes a suitable ne [all...] |
webrtc_audio_device_not_impl.cc | 124 int32_t WebRtcAudioDeviceNotImpl::SetSpeakerVolume(uint32_t volume) { 128 int32_t WebRtcAudioDeviceNotImpl::SpeakerVolume(uint32_t* volume) const {
|
webrtc_audio_device_not_impl.h | 66 virtual int32_t SetSpeakerVolume(uint32_t volume) OVERRIDE; 67 virtual int32_t SpeakerVolume(uint32_t* volume) const OVERRIDE;
|
webrtc_audio_renderer_unittest.cc | 38 MOCK_METHOD1(SetVolume, void(double volume)); 53 MOCK_METHOD1(SetVolume, bool(double 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/av/services/audiopolicy/ |
AudioPolicyService.h | 150 float volume, 155 virtual status_t setVoiceVolume(float volume, int delayMs = 0); 246 status_t volumeCommand(audio_stream_type_t stream, float volume, 250 status_t voiceVolumeCommand(float volume, int delayMs = 0); 414 // set a stream volume for a particular output. For the same user setting, a given stream type can have different volumes 416 virtual status_t setStreamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs = 0); 431 // set down link audio volume. 432 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
|
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/ |
audio_mixer_manager_mac.cc | 236 int32_t AudioMixerManagerMac::SetSpeakerVolume(uint32_t volume) 239 "AudioMixerManagerMac::SetSpeakerVolume(volume=%u)", volume); 254 // volume range is 0.0 - 1.0, convert from 0 -255 255 const Float32 vol = (Float32)(volume / 255.0); 259 // Does the capture device have a master volume control? 295 " Unable to set a volume on any output channel"); 302 int32_t AudioMixerManagerMac::SpeakerVolume(uint32_t& volume) const 318 // Does the device have a master volume control? 332 volume = static_cast<uint32_t> (vol * 255 + 0.5) [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/avrcp/ |
Avrcp.java | 324 if (DEBUG) Log.v(TAG, "MESSAGE_VOLUME_CHANGED: volume=" + ((byte)msg.arg1 & 0x7f) 343 Log.e(TAG, "percent volume changed: " + pecentVolChanged + "%"); 352 if (DEBUG) Log.w(TAG, "There is already a volume command in progress."); 355 // Wait on verification on volume from device, before changing the volume. 374 if (DEBUG) Log.w(TAG, "There is already a volume command in progress."); 385 if (DEBUG) Log.v(TAG, "MESSAGE_ABS_VOL_TIMEOUT: Volume change cmd timed out."); 776 * This is called from AudioService. It will return whether this device supports abs volume. 792 public void setAbsoluteVolume(int volume) { 793 int avrcpVolume = convertToAvrcpVolume(volume); [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9tex.h | 148 /* Volume Loading/Saving */ 185 /* Texture, cube texture and volume texture creation */ 198 UINT miplevels, DWORD usage, D3DFORMAT format, D3DPOOL pool, struct IDirect3DVolumeTexture9 **volume); 213 const char *srcfile, struct IDirect3DVolumeTexture9 **volume); 215 const WCHAR *srcfile, struct IDirect3DVolumeTexture9 **volume); 231 HMODULE srcmodule, const char *resource, struct IDirect3DVolumeTexture9 **volume); 233 HMODULE srcmodule, const WCHAR *resource, struct IDirect3DVolumeTexture9 **volume); 259 PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); 263 PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); 289 PALETTEENTRY *palette, struct IDirect3DVolumeTexture9 **volume); [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/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/media/audio/alsa/ |
alsa_output.h | 82 virtual void SetVolume(double volume) OVERRIDE; 83 virtual void GetVolume(double* volume) OVERRIDE; 205 float volume_; // Volume level from 0.0 to 1.0.
|
/external/chromium_org/media/audio/win/ |
audio_low_latency_input_win.cc | 223 // The effective volume value is always in the range 0.0 to 1.0, hence 228 void WASAPIAudioInputStream::SetVolume(double volume) { 229 DVLOG(1) << "SetVolume(volume=" << volume << ")"; 231 DCHECK_GE(volume, 0.0); 232 DCHECK_LE(volume, 1.0); 238 // Set a new master volume level. Valid volume levels are in the range 239 // 0.0 to 1.0. Ignore volume-change events. 240 HRESULT hr = simple_audio_volume_->SetMasterVolume(static_cast<float>(volume), 364 double volume = GetVolume(); local [all...] |