Home
last modified time | relevance | path

Searched refs:new_volume (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/media/audio/
Daudio_input_volume_unittest.cc154 double new_volume = 0.0; in TEST_F() local
155 ais->SetVolume(new_volume); in TEST_F()
157 current_volume = GetVolumeAfterSetVolumeOnLinux(ais, new_volume); in TEST_F()
161 EXPECT_EQ(new_volume, current_volume); in TEST_F()
165 new_volume = max_volume / 2; in TEST_F()
166 ais->SetVolume(new_volume); in TEST_F()
168 current_volume = GetVolumeAfterSetVolumeOnLinux(ais, new_volume); in TEST_F()
174 EXPECT_NEAR(current_volume, new_volume, 0.25 * max_volume); in TEST_F()
/external/chromium_org/ash/system/audio/
Dvolume_view.cc303 float new_volume = value * 100.0f; in SliderValueChanged() local
307 if (std::abs(new_volume - current_volume) < 1.0f) in SliderValueChanged()
313 if (new_volume > current_volume) in SliderValueChanged()
314 HandleVolumeUp(new_volume); in SliderValueChanged()
316 HandleVolumeDown(new_volume); in SliderValueChanged()
/external/chromium_org/media/audio/cras/
Dcras_input_unittest.cc182 double new_volume = test_stream->GetVolume(); in TEST_F() local
184 EXPECT_GE(new_volume, 0.0); in TEST_F()
185 EXPECT_LE(new_volume, max_volume); in TEST_F()
/external/chromium_org/content/renderer/media/
Dwebrtc_local_audio_track.cc81 int new_volume = (*it)->OnData(audio_data, in Capture() local
90 if (new_volume != 0 && capturer.get() && !webaudio_source_.get()) { in Capture()
93 capturer->SetVolume(new_volume); in Capture()
Dwebrtc_audio_capturer.cc545 int new_volume = 0; in Capture() local
547 audio_delay, current_volume, key_pressed, &new_volume, &output)) { in Capture()
555 if (new_volume) { in Capture()
556 SetVolume(new_volume); in Capture()
559 current_volume = new_volume; in Capture()
Dmedia_stream_audio_processor_unittest.cc102 int new_volume = 0; in ProcessDataAndVerifyFormat() local
104 base::TimeDelta::FromMilliseconds(10), 255, false, &new_volume, in ProcessDataAndVerifyFormat()
458 int new_volume = 0; in TEST_F() local
460 base::TimeDelta::FromMilliseconds(0), 0, false, &new_volume, &output)); in TEST_F()
Dwebrtc_audio_device_impl.cc86 uint32_t new_volume = 0; in OnData() local
116 new_volume = new_mic_level; in OnData()
119 return new_volume; in OnData()
Dmedia_stream_audio_processor.cc234 int* new_volume, int16** out) { in ProcessAndConsumeData() argument
244 *new_volume = 0; in ProcessAndConsumeData()
247 *new_volume = ProcessData(process_bus->channel_ptrs(), in ProcessAndConsumeData()
Dmedia_stream_audio_processor.h93 int* new_volume, in NON_EXPORTED_BASE()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamhandler_unittest.cc315 double new_volume = 0.8; in TEST_F() local
316 EXPECT_CALL(audio_provider_, SetAudioPlayoutVolume(kAudioSsrc, new_volume)); in TEST_F()
317 audio_track_->GetSource()->SetVolume(new_volume); in TEST_F()