/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
H A D | test_manage.py | 2 from boto.manage.volume import Volume 6 volume = Volume.create() variable 7 print(volume) 24 print('--> Now run volume.make_ready to make the volume ready to use on server') 25 volume.make_ready(server) 32 status = server.run('ls -al %s' % volume.mount_point)
|
/external/webrtc/webrtc/voice_engine/include/ |
H A D | voe_volume_control.h | 13 // - Speaker volume controls. 14 // - Microphone volume control. 24 // VoEVolumeControl* volume = VoEVolumeControl::GetInterface(voe); 28 // volume->SetInputMute(ch, true); 33 // volume->Release(); 58 // Sets the speaker |volume| level. Valid range is [0,255]. 59 virtual int SetSpeakerVolume(unsigned int volume) = 0; 61 // Gets the speaker |volume| level. 62 virtual int GetSpeakerVolume(unsigned int& volume) = 0; 64 // Sets the microphone volume leve [all...] |
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
H A D | volume_test.cc | 16 // The hardware volume may be more coarsely quantized than [0, 255], so 29 void SetAndVerifyMicVolume(unsigned int volume) { argument 30 bool success = voe_volume_control_->SetMicVolume(volume) == 0; 35 TEST_LOG("Failed to set microphone volume to %u.\n", volume); 45 EXPECT_EQ(volume, test_volume); 47 TEST_LOG("Failed to get the microphone volume."); 87 // Valid volume range: [0, 255] 99 unsigned int volume = 1000; local 100 EXPECT_EQ(0, voe_volume_control_->GetSpeakerVolume(volume)); 112 unsigned int volume; local 139 unsigned int volume; local 163 unsigned int volume = 1000; local [all...] |
/external/webrtc/webrtc/voice_engine/ |
H A D | voe_volume_control_impl.h | 22 int SetSpeakerVolume(unsigned int volume) override; 24 int GetSpeakerVolume(unsigned int& volume) override; 26 int SetMicVolume(unsigned int volume) override; 28 int GetMicVolume(unsigned int& volume) override;
|
H A D | voe_volume_control_impl.cc | 49 int VoEVolumeControlImpl::SetSpeakerVolume(unsigned int volume) { argument 51 "SetSpeakerVolume(volume=%u)", volume); 57 if (volume > kMaxVolumeLevel) { 69 "SetSpeakerVolume() failed to get max volume"); 73 spkrVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / 76 // set the actual volume using the audio mixer 79 "SetSpeakerVolume() failed to set speaker volume"); 85 int VoEVolumeControlImpl::GetSpeakerVolume(unsigned int& volume) { argument 97 "GetSpeakerVolume() unable to get speaker volume"); 115 SetMicVolume(unsigned int volume) argument 167 GetMicVolume(unsigned int& volume) argument [all...] |
/external/webrtc/webrtc/sound/ |
H A D | soundinputstreaminterface.h | 31 // Retrieves the current input volume for this stream. Nominal range is 34 // volume currently in use by the OS, not a cached value from a previous 36 virtual bool GetVolume(int *volume) = 0; 38 // Changes the input volume for this stream. Nominal range is defined by 41 virtual bool SetVolume(int volume) = 0;
|
H A D | soundoutputstreaminterface.h | 36 // Retrieves the current output volume for this stream. Nominal range is 39 // volume currently in use by the OS, not a cached value from a previous 41 virtual bool GetVolume(int *volume) = 0; 43 // Changes the output volume for this stream. Nominal range is defined by 46 virtual bool SetVolume(int volume) = 0;
|
H A D | nullsoundsystem.cc | 46 bool GetVolume(int *volume) override { 47 *volume = SoundSystemInterface::kMinVolume; 51 bool SetVolume(int volume) override { 79 bool GetVolume(int *volume) override { 80 *volume = SoundSystemInterface::kMinVolume; 84 bool SetVolume(int volume) override {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
H A D | TrackMetaData.java | 30 private float volume; field in class:TrackMetaData 116 return volume; 119 public void setVolume(float volume) { argument 120 this.volume = volume;
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/ |
H A D | test_volume.py | 5 from boto.ec2.volume import Volume, AttachmentSet, VolumeAttribute 36 @mock.patch("boto.ec2.volume.TaggedEC2Object.startElement") 38 volume = Volume() 39 volume.startElement("some name", "some attrs", None) 46 @mock.patch("boto.ec2.volume.TaggedEC2Object.startElement") 50 volume = Volume() 51 retval = volume.startElement(None, None, None) 54 @mock.patch("boto.ec2.volume.TaggedEC2Object.startElement") 59 volume = Volume() 60 volume [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_math.c | 148 * Transform volume control in 1dB increments to gain multiplier 151 * volume - 100 = 0dB, 99 = -1dB, 0 = -inf 157 EAS_I16 EAS_VolumeToGain (EAS_INT volume) argument 160 if (volume <= 0) 162 if (volume >= 100) 166 return (EAS_I16) EAS_Calculate2toX((((volume - EAS_MAX_VOLUME) * 204099) >> 10) - 1);
|
H A D | eas_tcdata.h | 54 EAS_U8 volume; /* volume */ member in struct:__anon17177
|
H A D | eas_imelodydata.h | 66 EAS_U8 volume; /* current volume */ member in struct:__anon17157
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
H A D | dtmf_buffer_unittest.cc | 32 static uint32_t MakeDtmfPayload(int event, bool end, int volume, int duration) { argument 37 // | event |E|R| volume | duration | 41 payload |= (volume & 0x003F) << 16; 53 && a.volume == b.volume); 65 int volume = 17; local 68 uint32_t payload = MakeDtmfPayload(event_no, end_bit, volume, duration); 78 EXPECT_EQ(volume, event.volume); 87 int volume local 122 int volume = 17; local 148 int volume = 1; local 192 int volume = 1; local 233 int volume = 1; local 269 int volume = 1; local [all...] |
H A D | dtmf_buffer.h | 25 int volume; member in struct:webrtc::DtmfEvent 33 volume(0), 40 volume(vol),
|
H A D | dtmf_buffer.cc | 42 // | event |E|R| volume | duration | 54 // - volume: For DTMF digits and other events representable as tones, this 57 // Thus, larger values denote lower volume. The buffer discards 82 event->volume = (payload[1] & 0x3F); 102 event.volume < 0 || event.volume > 36 || 151 event->volume = it->volume; 171 event->volume = it->volume; [all...] |
/external/sonic/ |
H A D | main.c | 6 pitch, and scale volume. */ 23 float volume, 36 sonicSetVolume(stream, volume); 67 " -v volume -- Scale volume by a constant factor.\n"); 80 float volume = 1.0f; local 114 volume = atof(argv[xArg]); 115 printf("Setting volume to %0.2f\n", volume); 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitc 17 runSonic( waveFile inFile, waveFile outFile, float speed, float pitch, float rate, float volume, int emulateChordPitch, int quality, int sampleRate, int numChannels) argument [all...] |
H A D | sonic.h | 116 void sonicSetVolume(sonicStream stream, float volume); 138 float rate, float volume, int useChordPitch, int sampleRate, int numChannels); 143 float rate, float volume, int useChordPitch, int sampleRate, int numChannels);
|
H A D | Main.java | 26 float volume, 41 sonic.setVolume(volume); 66 float volume = 1.0f; 79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality, 20 runSonic( AudioInputStream audioStream, SourceDataLine line, float speed, float pitch, float rate, float volume, boolean emulateChordPitch, int quality, int sampleRate, int numChannels) argument
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
H A D | audio_mixer_manager_alsa_linux.h | 29 int32_t SetSpeakerVolume(uint32_t volume); 30 int32_t SpeakerVolume(uint32_t& volume) const; 45 int32_t SetMicrophoneVolume(uint32_t volume); 46 int32_t MicrophoneVolume(uint32_t& volume) const;
|
H A D | audio_mixer_manager_pulse_linux.h | 37 int32_t SetSpeakerVolume(uint32_t volume); 38 int32_t SpeakerVolume(uint32_t& volume) const; 55 int32_t SetMicrophoneVolume(uint32_t volume); 56 int32_t MicrophoneVolume(uint32_t& volume) const;
|
/external/webrtc/webrtc/modules/audio_device/mac/ |
H A D | audio_mixer_manager_mac.h | 26 int32_t SetSpeakerVolume(uint32_t volume); 27 int32_t SpeakerVolume(uint32_t& volume) const; 44 int32_t SetMicrophoneVolume(uint32_t volume); 45 int32_t MicrophoneVolume(uint32_t& volume) const;
|
/external/webrtc/webrtc/modules/audio_device/android/ |
H A D | audio_track_jni.h | 51 bool SetStreamVolume(int volume); 79 int SetSpeakerVolume(uint32_t volume); 80 int SpeakerVolume(uint32_t& volume) const;
|
/external/autotest/server/cros/multimedia/ |
H A D | audio_facade_adapter.py | 110 def set_selected_output_volume(self, volume): 111 """Sets the selected output volume on DUT. 113 @param volume: the volume to be set(0-100). 116 self._audio_proxy.set_selected_output_volume(volume) 199 def set_chrome_active_volume(self, volume): 200 """Sets the active audio output volume using chrome.audio API. 202 @param volume: Volume to set (0~100). 205 self._audio_proxy.set_chrome_active_volume(volume) 218 """Gets the volume stat [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | GameObjectCollisionSystem.java | 29 * overlaps. A bounding volume that encompasses all attack and vulnerability volumes is used for 76 * @param boundingVolume A volume that describes the game object in space. It should encompass 195 * @return The hit type of the first attacking volume that intersects a vulnerability volume, 247 CollisionVolume volume = record.attackVolumes.get(y); 249 position.x + volume.getMinXPosition(sFlip), position.y + volume.getMinYPosition(sFlip), 250 volume.getMaxX() - volume.getMinX(), 251 volume [all...] |