Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dvolume_test.cc29 void SetAndVerifyMicVolume(unsigned int volume) { in SetAndVerifyMicVolume() argument
30 bool success = voe_volume_control_->SetMicVolume(volume) == 0; in SetAndVerifyMicVolume()
35 TEST_LOG("Failed to set microphone volume to %u.\n", volume); in SetAndVerifyMicVolume()
45 EXPECT_EQ(volume, test_volume); in SetAndVerifyMicVolume()
99 unsigned int volume = 1000; in TEST_F() local
100 EXPECT_EQ(0, voe_volume_control_->GetSpeakerVolume(volume)); in TEST_F()
101 EXPECT_LE(volume, 255u); in TEST_F()
112 unsigned int volume; in TEST_F() local
113 EXPECT_EQ(0, voe_volume_control_->GetSpeakerVolume(volume)); in TEST_F()
114 ExpectVolumeNear(200u, volume); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer_unittest.cc32 static uint32_t MakeDtmfPayload(int event, bool end, int volume, int duration) { in MakeDtmfPayload() argument
41 payload |= (volume & 0x003F) << 16; in MakeDtmfPayload()
53 && a.volume == b.volume); in EqualEvents()
65 int volume = 17; in TEST() local
68 uint32_t payload = MakeDtmfPayload(event_no, end_bit, volume, duration); in TEST()
78 EXPECT_EQ(volume, event.volume); in TEST()
87 int volume = 17; in TEST() local
90 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST()
122 int volume = 17; in TEST() local
125 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST()
[all …]
Ddtmf_buffer.cc82 event->volume = (payload[1] & 0x3F); in ParseEvent()
102 event.volume < 0 || event.volume > 36 || in InsertEvent()
151 event->volume = it->volume; in GetEvent()
171 event->volume = it->volume; in GetEvent()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ec2/
Dtest_volume.py5 from boto.ec2.volume import Volume, AttachmentSet, VolumeAttribute
38 volume = Volume()
39 volume.startElement("some name", "some attrs", None)
50 volume = Volume()
51 retval = volume.startElement(None, None, None)
59 volume = Volume()
60 volume.tags = result_set
61 retval = volume.startElement("tagSet", None, None)
62 self.assertEqual(retval, volume.tags)
68 volume = Volume()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/
Dtest_manage.py2 from boto.manage.volume import Volume
6 volume = Volume.create() variable
7 print(volume)
25 volume.make_ready(server)
32 status = server.run('ls -al %s' % volume.mount_point)
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectCollisionSystem.java247 CollisionVolume volume = record.attackVolumes.get(y); in drawDebugVolumes() local
249 position.x + volume.getMinXPosition(sFlip), position.y + volume.getMinYPosition(sFlip), in drawDebugVolumes()
250 volume.getMaxX() - volume.getMinX(), in drawDebugVolumes()
251 volume.getMaxY() - volume.getMinY(), in drawDebugVolumes()
252volume.getClass() == AABoxCollisionVolume.class ? DebugSystem.SHAPE_BOX : DebugSystem.SHAPE_CIRCLE, in drawDebugVolumes()
260 CollisionVolume volume = record.vulnerabilityVolumes.get(y); in drawDebugVolumes() local
262 position.x + volume.getMinXPosition(sFlip), position.y + volume.getMinYPosition(sFlip), in drawDebugVolumes()
263 volume.getMaxX() - volume.getMinX(), in drawDebugVolumes()
264 volume.getMaxY() - volume.getMinY(), in drawDebugVolumes()
265volume.getClass() == AABoxCollisionVolume.class ? DebugSystem.SHAPE_BOX : DebugSystem.SHAPE_CIRCLE, in drawDebugVolumes()
/external/opencv3/doc/
Dopencv.bib20 volume = {34},
29 volume = {2},
39 volume = {74},
49 volume = {35},
59 volume = {20},
69 volume = {13},
79 volume = {34},
88 volume = {5}
129 volume = {2},
156 volume = {9},
[all …]
/external/webrtc/webrtc/sound/
Dnullsoundsystem.cc46 bool GetVolume(int *volume) override { in GetVolume() argument
47 *volume = SoundSystemInterface::kMinVolume; in GetVolume()
51 bool SetVolume(int volume) override { in SetVolume() argument
79 bool GetVolume(int *volume) override { in GetVolume() argument
80 *volume = SoundSystemInterface::kMinVolume; in GetVolume()
84 bool SetVolume(int volume) override { in SetVolume() argument
/external/webrtc/webrtc/voice_engine/
Dvoe_volume_control_impl.cc49 int VoEVolumeControlImpl::SetSpeakerVolume(unsigned int volume) { in SetSpeakerVolume() argument
51 "SetSpeakerVolume(volume=%u)", volume); in SetSpeakerVolume()
57 if (volume > kMaxVolumeLevel) { in SetSpeakerVolume()
73 spkrVol = (uint32_t)((volume * maxVol + (int)(kMaxVolumeLevel / 2)) / in SetSpeakerVolume()
85 int VoEVolumeControlImpl::GetSpeakerVolume(unsigned int& volume) { in GetSpeakerVolume() argument
109 volume = in GetSpeakerVolume()
115 int VoEVolumeControlImpl::SetMicVolume(unsigned int volume) { in SetMicVolume() argument
117 "SetMicVolume(volume=%u)", volume); in SetMicVolume()
123 if (volume > kMaxVolumeLevel) { in SetMicVolume()
139 if (volume == kMaxVolumeLevel) { in SetMicVolume()
[all …]
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;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DTrackMetaData.java30 private float volume; field in TrackMetaData
116 return volume; in getVolume()
119 public void setVolume(float volume) { in setVolume() argument
120 this.volume = volume; in setVolume()
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_pulse_linux.cc238 uint32_t volume) in SetSpeakerVolume() argument
243 volume); in SetSpeakerVolume()
272 LATE(pa_cvolume_set)(&cVolumes, spec->channels, volume); in SetSpeakerVolume()
291 _paSpeakerVolume = volume; in SetSpeakerVolume()
307 AudioMixerManagerLinuxPulse::SpeakerVolume(uint32_t& volume) const in SpeakerVolume()
324 volume = static_cast<uint32_t> (_paVolume); in SpeakerVolume()
328 volume = _paSpeakerVolume; in SpeakerVolume()
333 volume); in SpeakerVolume()
780 AudioMixerManagerLinuxPulse::SetMicrophoneVolume(uint32_t volume) in SetMicrophoneVolume() argument
784 "(volume=%u)", volume); in SetMicrophoneVolume()
[all …]
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;
/external/sonic/
Dmain.c23 float volume, in runSonic() argument
36 sonicSetVolume(stream, volume); in runSonic()
80 float volume = 1.0f; in main() local
114 volume = atof(argv[xArg]); in main()
115 printf("Setting volume to %0.2f\n", volume); in main()
134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
DSonic.java23 private float volume; field in Sonic
79 float volume) in scaleSamples() argument
81 int fixedPointVolume = (int)(volume*4096.0f); in scaleSamples()
166 return volume; in getVolume()
171 float volume) in setVolume() argument
173 this.volume = volume; in setVolume()
206 volume = 1.0f; in Sonic()
901 if(volume != 1.0f) { in processStreamInput()
904 volume); in processStreamInput()
952 float volume, in changeFloatSpeed() argument
[all …]
DMain.java26 float volume, in runSonic() argument
41 sonic.setVolume(volume); in runSonic()
66 float volume = 1.0f; in main() local
79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
/external/webrtc/webrtc/voice_engine/include/
Dvoe_volume_control.h59 virtual int SetSpeakerVolume(unsigned int volume) = 0;
62 virtual int GetSpeakerVolume(unsigned int& volume) = 0;
65 virtual int SetMicVolume(unsigned int volume) = 0;
68 virtual int GetMicVolume(unsigned int& volume) = 0;
/external/sonivox/arm-wt-22k/lib_src/
Deas_math.c157 EAS_I16 EAS_VolumeToGain (EAS_INT volume) in EAS_VolumeToGain() argument
160 if (volume <= 0) in EAS_VolumeToGain()
162 if (volume >= 100) in EAS_VolumeToGain()
166 return (EAS_I16) EAS_Calculate2toX((((volume - EAS_MAX_VOLUME) * 204099) >> 10) - 1); in EAS_VolumeToGain()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DMovieHeaderBox.java41 private float volume = 1.0f; field in MovieHeaderBox
80 return volume; in getVolume()
117 volume = IsoTypeReader.readFixedPoint88(content); in _parseDetails()
177 IsoTypeWriter.writeFixedPont88(byteBuffer, volume); in getContent()
219 public void setVolume(float volume) { in setVolume() argument
220 this.volume = volume; in setVolume()
DTrackHeaderBox.java45 private float volume; field in TrackHeaderBox
81 return volume; in getVolume()
127 volume = IsoTypeReader.readFixedPoint88(content); in _parseDetails()
156 IsoTypeWriter.writeFixedPont88(byteBuffer, volume); in getContent()
217 public void setVolume(float volume) { in setVolume() argument
218 this.volume = volume; in setVolume()
/external/webrtc/webrtc/modules/audio_device/mac/
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/
Daudio_track_jni.cc58 bool AudioTrackJni::JavaAudioTrack::SetStreamVolume(int volume) { in SetStreamVolume() argument
59 return audio_track_->CallBooleanMethod(set_stream_volume_, volume); in SetStreamVolume()
170 int AudioTrackJni::SetSpeakerVolume(uint32_t volume) { in SetSpeakerVolume() argument
171 ALOGD("SetSpeakerVolume(%d)%s", volume, GetThreadInfo().c_str()); in SetSpeakerVolume()
173 return j_audio_track_->SetStreamVolume(volume) ? 0 : -1; in SetSpeakerVolume()
190 int AudioTrackJni::SpeakerVolume(uint32_t& volume) const { in SpeakerVolume()
193 volume = j_audio_track_->GetStreamVolume(); in SpeakerVolume()
/external/autotest/client/cros/audio/
Dcras_utils.py131 def set_system_volume(volume): argument
137 get_cras_control_interface().SetOutputVolume(volume)
140 def set_node_volume(node_id, volume): argument
147 get_cras_control_interface().SetOutputNodeVolume(node_id, volume)
212 def set_selected_output_node_volume(volume): argument
220 set_node_volume(node_id, volume)
/external/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp88 const CVolume &volume = _volumes[volumeIndex]; in Extract() local
89 const CDbEx &db = volume.Database; in Extract()
175 const CVolume &volume = _volumes[efi.VolumeIndex]; in Extract() local
176 const CDbEx &db = volume.Database; in Extract()
189 volume.StartRef2Index, in Extract()
220 volume.Stream, in Extract()
/external/autotest/server/cros/multimedia/
Daudio_facade_adapter.py110 def set_selected_output_volume(self, volume): argument
116 self._audio_proxy.set_selected_output_volume(volume)
199 def set_chrome_active_volume(self, volume): argument
205 self._audio_proxy.set_chrome_active_volume(volume)

12345678910>>...20