Searched refs:volume (Results 1 - 25 of 161) sorted by relevance

1234567

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
H A Dtest_manage.py2 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 Dvoe_volume_control.h13 // - 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 Dvolume_test.cc16 // 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 Dvoe_volume_control_impl.h22 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 Dvoe_volume_control_impl.cc49 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 Dsoundinputstreaminterface.h31 // 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 Dsoundoutputstreaminterface.h36 // 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 Dnullsoundsystem.cc46 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 DTrackMetaData.java30 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 Dtest_volume.py5 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 Deas_math.c148 * 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 Deas_tcdata.h54 EAS_U8 volume; /* volume */ member in struct:__anon17177
H A Deas_imelodydata.h66 EAS_U8 volume; /* current volume */ member in struct:__anon17157
/external/webrtc/webrtc/modules/audio_coding/neteq/
H A Ddtmf_buffer_unittest.cc32 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 Ddtmf_buffer.h25 int volume; member in struct:webrtc::DtmfEvent
33 volume(0),
40 volume(vol),
H A Ddtmf_buffer.cc42 // | 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 Dmain.c6 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 Dsonic.h116 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 DMain.java26 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 Daudio_mixer_manager_alsa_linux.h29 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 Daudio_mixer_manager_pulse_linux.h37 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 Daudio_mixer_manager_mac.h26 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 Daudio_track_jni.h51 bool SetStreamVolume(int volume);
79 int SetSpeakerVolume(uint32_t volume);
80 int SpeakerVolume(uint32_t& volume) const;
/external/autotest/server/cros/multimedia/
H A Daudio_facade_adapter.py110 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 DGameObjectCollisionSystem.java29 * 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...]

Completed in 537 milliseconds

1234567