Home
last modified time | relevance | path

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

12

/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.cc32 volume_(1.0), in AudioOutputController()
143 stream_->SetVolume(volume_); in DoCreate()
238 volume_ = volume; in DoSetVolume()
244 stream_->SetVolume(volume_); in DoSetVolume()
/external/chromium_org/media/audio/cras/
Dcras_unified.cc58 volume_(1.0), in CrasUnifiedStream()
205 cras_client_set_stream_volume(client_, stream_id_, volume_); in Start()
227 volume_ = static_cast<float>(volume); in SetVolume()
228 cras_client_set_stream_volume(client_, stream_id_, volume_); in SetVolume()
232 *volume = volume_; in GetVolume()
/external/chromium_org/content/renderer/media/
Dwebrtc_audio_renderer.h45 PlayingState() : playing_(false), volume_(1.0f) {} in NON_EXPORTED_BASE()
59 return volume_; in NON_EXPORTED_BASE()
64 volume_ = volume; in NON_EXPORTED_BASE()
69 float volume_; in NON_EXPORTED_BASE() local
Dwebrtc_local_audio_renderer.cc38 if (!playing_ || !volume_ || !loopback_fifo_) { in Render()
71 if (!playing_ || !volume_ || !loopback_fifo_) in OnData()
116 volume_(0.0), in WebRtcLocalAudioRenderer()
211 volume_ = volume; in SetVolume()
247 if (!sink_params_.IsValid() || !playing_ || !volume_ || sink_started_) in MaybeStartSink()
Dwebrtc_audio_capturer.cc243 volume_(0), in WebRtcAudioCapturer()
451 return volume_; in Volume()
489 volume_ = static_cast<int>((volume * MaxVolume()) + 0.5); in Capture()
490 current_volume = volume_ > MaxVolume() ? MaxVolume() : volume_; in Capture()
619 *volume = volume_; in GetAudioProcessingParams()
Dwebmediaplayer_ms.cc91 volume_(1.0f), in WebMediaPlayerMS()
157 audio_renderer_->SetVolume(volume_); in load()
241 volume_ = volume; in setVolume()
243 audio_renderer_->SetVolume(volume_); in setVolume()
Daudio_message_filter_unittest.cc48 volume_ = 0; in Reset()
67 double volume_; member in content::__anon5a9ae6af0111::MockAudioDelegate
/external/chromium_org/media/base/
Daudio_renderer_mixer_input.cc17 volume_(1.0f), in AudioRendererMixerInput()
93 volume_ = volume; in SetVolume()
108 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/media/cast/test/utility/
Daudio_utility.cc24 volume_(volume), in TestAudioBusFactory()
28 CHECK_LE(0.0f, volume_); in TestAudioBusFactory()
29 CHECK_LE(volume_, 1.0f); in TestAudioBusFactory()
40 bus->Scale(volume_); in NextAudioBus()
/external/chromium_org/media/blink/
Dwebaudiosourceprovider_impl.cc53 volume_(1.0), in WebAudioSourceProviderImpl()
86 sink_->SetVolume(volume_); in setClient()
124 bus_wrapper_->Scale(volume_); in provideInput()
160 volume_ = volume; in SetVolume()
/external/chromium_org/media/audio/pulse/
Dpulse_output.cc50 volume_(1.0f), in PulseAudioOutputStream()
146 audio_bus_->Scale(volume_); in FulfillWriteRequest()
228 volume_ = static_cast<float>(volume); in SetVolume()
234 *volume = volume_; in GetVolume()
Dpulse_input.cc29 volume_(0.0), in PulseAudioInputStream()
188 return volume_; in GetVolume()
232 stream->volume_ = static_cast<double>(volume); in VolumeCallback()
280 normalized_volume = volume_ / GetMaxVolume(); in ReadData()
/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/base/android/
Daudio_decoder_job.cc44 volume_(-1.0), in AudioDecoderJob()
66 volume_ = volume; in SetVolume()
145 volume_); in SetVolumeInternal()
Dmedia_player_bridge.cc50 volume_(-1.0), in MediaPlayerBridge()
101 if (volume_ >= 0) in CreateJavaMediaPlayerBridge()
102 SetVolume(volume_); in CreateJavaMediaPlayerBridge()
388 volume_ = volume; in SetVolume()
/external/chromium_org/media/audio/android/
Dopensles_output.cc34 volume_(1.0) { in OpenSLESOutputStream()
172 volume_ = volume_float; in SetVolume()
177 *volume = static_cast<double>(volume_); in GetVolume()
338 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()
Daudio_low_latency_output_win.cc63 volume_(1.0), in WASAPIAudioOutputStream()
327 volume_ = volume_float; in SetVolume()
332 *volume = static_cast<double>(volume_); in GetVolume()
515 audio_bus_->Scale(volume_); in RenderAudioFromSource()
/external/chromium_org/media/audio/mac/
Daudio_auhal_mac.cc51 volume_(1), in AUHALStream()
172 volume_ = static_cast<float>(volume); in SetVolume()
176 *volume = volume_; in GetVolume()
234 dest->Scale(volume_); in ProvideInput()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc46 volume_(-1.0f) { in SpeechRecognizerImplTest()
122 volume_ = volume; in OnAudioLevelsChange()
199 float volume_; member in content::SpeechRecognizerImplTest
486 EXPECT_EQ(-1.0f, volume_); // No audio volume set yet. in TEST_F()
491 EXPECT_FLOAT_EQ(0.74939233f, volume_); in TEST_F()
496 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::__anon42e171f00211::LeakyBucket

12