Lines Matching refs:VolumeControl
51 Bind(&VolumeControl::Initialize, this, in Init()
115 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Connect()
123 Bind(&VolumeControl::Connect, in Connect()
124 Unretained(VolumeControl::Get()), address)); in Connect()
128 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Disconnect()
135 Bind(&VolumeControl::Disconnect, in Disconnect()
136 Unretained(VolumeControl::Get()), address)); in Disconnect()
141 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in SetVolume()
148 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::SetVolume, in SetVolume()
149 Unretained(VolumeControl::Get()), in SetVolume()
154 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Mute()
162 FROM_HERE, Bind(&VolumeControl::Mute, Unretained(VolumeControl::Get()), in Mute()
167 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Unmute()
174 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::UnMute, in Unmute()
175 Unretained(VolumeControl::Get()), in Unmute()
180 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in RemoveDevice()
188 if (VolumeControl::IsVolumeControlRunning()) { in RemoveDevice()
190 Bind(&VolumeControl::Remove, in RemoveDevice()
191 Unretained(VolumeControl::Get()), address)); in RemoveDevice()
197 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in GetExtAudioOutVolumeOffset()
206 Bind(&VolumeControl::GetExtAudioOutVolumeOffset, in GetExtAudioOutVolumeOffset()
207 Unretained(VolumeControl::Get()), address, ext_output_id)); in GetExtAudioOutVolumeOffset()
213 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in SetExtAudioOutVolumeOffset()
221 Bind(&VolumeControl::SetExtAudioOutVolumeOffset, in SetExtAudioOutVolumeOffset()
222 Unretained(VolumeControl::Get()), address, in SetExtAudioOutVolumeOffset()
228 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in GetExtAudioOutLocation()
235 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::GetExtAudioOutLocation, in GetExtAudioOutLocation()
236 Unretained(VolumeControl::Get()), address, in GetExtAudioOutLocation()
242 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in SetExtAudioOutLocation()
249 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::SetExtAudioOutLocation, in SetExtAudioOutLocation()
250 Unretained(VolumeControl::Get()), address, in SetExtAudioOutLocation()
256 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in GetExtAudioOutDescription()
263 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::GetExtAudioOutDescription, in GetExtAudioOutDescription()
264 Unretained(VolumeControl::Get()), address, in GetExtAudioOutDescription()
271 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in SetExtAudioOutDescription()
278 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::SetExtAudioOutDescription, in SetExtAudioOutDescription()
279 Unretained(VolumeControl::Get()), address, in SetExtAudioOutDescription()
284 if (!initialized || !VolumeControl::IsVolumeControlRunning()) { in Cleanup()
292 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::CleanUp)); in Cleanup()