Home
last modified time | relevance | path

Searched refs:volume_ (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/media/audio/
Dvirtual_audio_output_stream.cc16 after_close_cb_(after_close_cb), callback_(NULL), volume_(1.0f) { in VirtualAudioOutputStream()
66 volume_ = volume; in SetVolume()
71 *volume = volume_; in GetVolume()
84 return frames > 0 ? volume_ : 0; in ProvideInput()
Daudio_output_proxy.cc17 volume_(1.0) { in AudioOutputProxy()
65 volume_ = volume; in SetVolume()
71 *volume = volume_; in GetVolume()
Daudio_output_controller.cc50 volume_(1.0), in AudioOutputController()
167 stream_->SetVolume(volume_); in DoCreate()
292 volume_ = volume; in DoSetVolume()
298 stream_->SetVolume(volume_); in DoSetVolume()
/external/chromium_org/media/cast/test/
Daudio_utility.cc20 volume_(volume), in TestAudioBusFactory()
24 CHECK_LE(0.0f, volume_); in TestAudioBusFactory()
25 CHECK_LE(volume_, 1.0f); in TestAudioBusFactory()
36 bus->Scale(volume_); in NextAudioBus()
/external/chromium_org/media/base/
Daudio_renderer_mixer_input.cc17 volume_(1.0f), in AudioRendererMixerInput()
78 volume_ = volume; in SetVolume()
93 return frames_filled > 0 ? volume_ : 0; in ProvideInput()
Dfake_audio_render_callback.h48 void set_volume(double volume) { volume_ = volume; } in set_volume()
55 double volume_; variable
Dfake_audio_render_callback.cc18 volume_(1) { in FakeAudioRenderCallback()
47 return volume_; in ProvideInput()
/external/chromium_org/content/renderer/media/
Dwebrtc_local_audio_renderer.cc36 if (!playing_ || !volume_ || !loopback_fifo_) { in Render()
67 if (!playing_ || !volume_ || !loopback_fifo_) in OnData()
154 volume_(0.0), in WebRtcLocalAudioRenderer()
248 volume_ = volume; in SetVolume()
283 if (!sink_params_.IsValid() || !playing_ || !volume_ || sink_started_) in MaybeStartSink()
Dwebaudiosourceprovider_impl.cc54 volume_(1.0), in WebAudioSourceProviderImpl()
88 sink_->SetVolume(volume_); in setClient()
120 bus_wrapper_->Scale(volume_); in provideInput()
156 volume_ = volume; in SetVolume()
Dwebrtc_audio_capturer.cc224 volume_(0), in WebRtcAudioCapturer()
406 return volume_; in Volume()
443 volume_ = static_cast<int>((volume * MaxVolume()) + 0.5); in Capture()
444 current_volume = volume_; in Capture()
522 *volume = volume_; in GetAudioProcessingParams()
Daudio_message_filter_unittest.cc47 volume_ = 0; in Reset()
66 double volume_; member in content::__anon1191ef020111::MockAudioDelegate
/external/chromium_org/media/audio/pulse/
Dpulse_output.cc48 volume_(1.0f), in PulseAudioOutputStream()
144 audio_bus_->Scale(volume_); in FulfillWriteRequest()
207 volume_ = static_cast<float>(volume); in SetVolume()
213 *volume = volume_; in GetVolume()
Dpulse_input.cc29 volume_(0.0), in PulseAudioInputStream()
194 return volume_; in GetVolume()
232 stream->volume_ = static_cast<double>(volume); in VolumeCallback()
259 normalized_volume = volume_ / GetMaxVolume(); in ReadData()
Dpulse_unified.cc55 volume_(1.0f), in PulseAudioUnifiedStream()
178 output_bus_->Scale(volume_); in WriteData()
283 volume_ = static_cast<float>(volume); in SetVolume()
289 *volume = volume_; in GetVolume()
/external/chromium_org/media/audio/cras/
Dcras_unified.cc86 volume_(1.0), in CrasUnifiedStream()
245 cras_client_set_stream_volume(client_, stream_id_, volume_); in Start()
267 volume_ = static_cast<float>(volume); in SetVolume()
268 cras_client_set_stream_volume(client_, stream_id_, volume_); in SetVolume()
272 *volume = volume_; in GetVolume()
/external/chromium/chrome/browser/extensions/
Dextension_tts_api.cc62 volume_(-1.0), in Utterance()
92 if (util::ReadNumberByKey(options, util::kVolumeKey, &volume_)) { in Utterance()
93 if (!base::IsFinite(volume_) || volume_ < 0.0 || volume_ > 1.0) in Utterance()
94 volume_ = -1.0; in Utterance()
Dextension_tts_api.h88 double volume() { return volume_; } in volume()
121 double volume_; variable
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvoe.h101 rtp_(engine_), sync_(engine_), volume_(engine_) { in VoEWrapper()
127 volume_(volume) { in VoEWrapper()
142 webrtc::VoEVolumeControl* volume() const { return volume_.get(); } in volume()
158 scoped_voe_ptr<webrtc::VoEVolumeControl> volume_; variable
/external/chromium_org/media/audio/mac/
Daudio_low_latency_output_mac.cc57 volume_(1), in AUAudioOutputStream()
234 volume_ = static_cast<float>(volume); in SetVolume()
242 *volume = volume_; in GetVolume()
289 audio_bus_->Scale(volume_); in Render()
Daudio_auhal_mac.cc57 volume_(1), in AUHALStream()
183 volume_ = static_cast<float>(volume); in SetVolume()
187 *volume = volume_; in GetVolume()
264 dest->Scale(volume_); in ProvideInput()
Daudio_unified_mac.cc25 volume_(1.0f), in AudioHardwareUnifiedStream()
290 volume_ = static_cast<float>(volume); in SetVolume()
295 *volume = volume_; in GetVolume()
/external/chromium_org/media/audio/android/
Dopensles_output.cc32 volume_(1.0) { in OpenSLESOutputStream()
169 volume_ = volume_float; in SetVolume()
174 *volume = static_cast<double>(volume_); in GetVolume()
335 audio_bus_->Scale(muted_ ? 0.0f : volume_); in FillBufferQueueNoLock()
/external/chromium_org/media/audio/win/
Dwaveout_output_win.cc89 volume_(1), in PCMWaveOutAudioOutputStream()
307 volume_ = static_cast<float>(volume); in SetVolume()
313 *volume = volume_; in GetVolume()
337 audio_bus_->Scale(volume_); in QueueNextPacket()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc45 volume_(-1.0f) { in SpeechRecognizerImplTest()
115 volume_ = volume; in OnAudioLevelsChange()
182 float volume_; member in content::SpeechRecognizerImplTest
476 EXPECT_EQ(-1.0f, volume_); // No audio volume set yet. in TEST_F()
482 EXPECT_FLOAT_EQ(0.74939233f, volume_); in TEST_F()
488 EXPECT_NEAR(0.89926866f, volume_, 0.00001f); in TEST_F()
/external/chromium_org/jingle/glue/
Dpseudotcp_adapter_unittest.cc46 : volume_(volume), in LeakyBucket()
59 if (level_ > volume_) { in DropNextPacket()
60 level_ = volume_; in DropNextPacket()
69 double volume_; member in jingle_glue::__anon62aa15030211::LeakyBucket

123