HomeSort by relevance Sort by last modified time
    Searched refs:volume (Results 351 - 375 of 783) sorted by null

<<11121314151617181920>>

  /external/chromium_org/media/audio/win/
waveout_output_win.cc 304 void PCMWaveOutAudioOutputStream::SetVolume(double volume) {
307 volume_ = static_cast<float>(volume);
310 void PCMWaveOutAudioOutputStream::GetVolume(double* volume) {
313 *volume = volume_;
audio_low_latency_output_win.cc 347 void WASAPIAudioOutputStream::SetVolume(double volume) {
348 VLOG(1) << "SetVolume(volume=" << volume << ")";
349 float volume_float = static_cast<float>(volume);
356 void WASAPIAudioOutputStream::GetVolume(double* volume) {
358 *volume = static_cast<double>(volume_);
audio_unified_win.cc 506 void WASAPIUnifiedStream::SetVolume(double volume) {
507 DVLOG(1) << "SetVolume(volume=" << volume << ")";
508 if (volume < 0 || volume > 1)
510 volume_ = volume;
513 void WASAPIUnifiedStream::GetVolume(double* volume) {
515 *volume = static_cast<double>(volume_);
    [all...]
  /external/chromium_org/media/base/
audio_bus.h 103 // Scale internal channel values by |volume| >= 0. If an invalid value
105 void Scale(float volume);
  /external/chromium_org/third_party/WebKit/Source/core/html/
MediaController.h 77 virtual double volume() const { return m_volume; } function in class:WebCore::MediaController
  /frameworks/av/services/audioflinger/
AudioPolicyService.h 134 float volume,
139 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
187 status_t volumeCommand(audio_stream_type_t stream, float volume,
191 status_t voiceVolumeCommand(float volume, int delayMs = 0);
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
MediaPresetReverbTest.java 47 // Implementor UUID for volume controller effect defined in
203 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
210 // creating a volume controller on output mix ensures that ro.audio.silent mutes
258 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
276 int volume = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); local
281 // creating a volume controller on output mix ensures that ro.audio.silent mutes
343 am.setStreamVolume(AudioManager.STREAM_MUSIC, volume, 0);
  /frameworks/base/services/java/com/android/server/media/
MediaRouterService.java 220 public void requestSetVolume(IMediaRouterClient client, String routeId, int volume) {
231 requestSetVolumeLocked(client, routeId, volume);
413 String routeId, int volume) {
418 UserHandler.MSG_REQUEST_SET_VOLUME, volume, 0, routeId).sendToTarget();
811 private void requestSetVolume(String routeId, int volume) {
814 mGloballySelectedRouteRecord.getProvider().setDisplayVolume(volume);
1294 final int volume = computeVolume(descriptor); local
1389 final int volume = descriptor.volume; local
    [all...]
  /hardware/libhardware_legacy/audio/
AudioHardwareInterface.cpp 132 status_t AudioHardwareBase::getMasterVolume(float *volume)
  /hardware/qcom/msm8960/kernel-headers/linux/mfd/
msm-adie-codec.h 104 u32 volume);
  /hardware/qcom/msm8x74/kernel-headers/linux/mfd/
msm-adie-codec.h 104 u32 volume);
  /external/chromium/chrome/browser/speech/
speech_input_bubble_gtk.cc 232 SkBitmap* volume = ResourceBundle::GetSharedInstance().GetBitmapNamed( local
234 int desired_width = std::max(volume->width(), cancel_size.width) +
236 int desired_height = volume->height() + label_size.height +
  /external/chromium_org/chrome/browser/chromeos/audio/
audio_devices_pref_handler_impl.cc 184 double volume = kDefaultOutputVolume; local
185 bool success = it.value().GetAsDouble(&volume);
187 dict_update->SetDouble(it.key(), volume);
  /external/chromium_org/chrome/browser/ui/gtk/
speech_recognition_bubble_gtk.cc 255 gfx::ImageSkia* volume = ResourceBundle::GetSharedInstance(). local
257 int desired_width = std::max(volume->width(), cancel_size.width) +
259 int desired_height = volume->height() + label_size.height +
  /external/chromium_org/content/browser/media/
media_internals.cc 48 virtual void OnSetVolume(int component_id, double volume) OVERRIDE;
114 void AudioLogImpl::OnSetVolume(int component_id, double volume) {
117 dict.SetDouble("volume", volume);
  /external/chromium_org/content/renderer/media/
audio_message_filter.cc 35 virtual void SetVolume(double volume) OVERRIDE;
109 void AudioMessageFilter::AudioOutputIPCImpl::SetVolume(double volume) {
111 filter_->Send(new AudioHostMsg_SetVolume(stream_id_, volume));
  /external/chromium_org/third_party/libjingle/source/talk/sound/
pulseaudiosoundsystem.cc 100 static pa_volume_t CricketVolumeToPulseVolume(int volume) {
101 // PA's volume space goes from 0% at PA_VOLUME_MUTED (value 0) to 100% at
108 volume / SoundSystemInterface::kMaxVolume;
270 virtual bool GetVolume(int *volume) {
275 // Unlike output streams, input streams have no concept of a stream volume,
276 // only a device volume. So we have to retrieve the volume of the device
302 // We now have the volume for each channel. Each channel could have a
303 // different volume if, e.g., the user went and changed the volumes in the
304 // PA UI. To get a single volume for SoundSystemInterface we just take th
    [all...]
  /frameworks/base/media/lib/java/com/android/media/remotedisplay/
RemoteDisplayProvider.java 198 * Called when the system would like to set the volume of a display.
201 * @param volume The desired volume.
203 public void onSetVolume(RemoteDisplay display, int volume) {
207 * Called when the system would like to adjust the volume of a display.
210 * @param delta An increment to add to the current volume, such as +1 or -1.
350 public void setVolume(String id, int volume) {
351 mHandler.obtainMessage(MSG_SET_VOLUME, volume, 0, id).sendToTarget();
  /hardware/libhardware/include/hardware/
audio.h 270 * allowing you to directly set the volume as apposed to via the framework.
461 /** set the audio volume of a voice call. Range is between 0.0 and 1.0 */
462 int (*set_voice_volume)(struct audio_hw_device *dev, float volume);
465 * set the audio volume for all audio activities other than voice call.
469 int (*set_master_volume)(struct audio_hw_device *dev, float volume);
472 * Get the current master volume value for the HAL, if the HAL supports
473 * master volume control. AudioFlinger will query this value from the
475 * the initial master volume across all HALs. HALs which do not support
478 int (*get_master_volume)(struct audio_hw_device *dev, float *volume);
  /external/chromium/chrome/browser/chromeos/
audio_mixer_alsa.cc 26 // To get a wider range and finer control over volume levels, first the Master
28 // adjusting that as well. If the PCM element has more volume steps, it allows
29 // for finer granularity in the total volume.
142 LOG(WARNING) << "Got request to set volume to NaN";
157 // To indicate the volume is not valid yet, a very low volume value is stored.
159 static bool PrefVolumeValid(double volume) {
160 return (volume > kPrefVolumeInvalid + 0.1);
168 // Set volume to minimum on mute, since switching the element off does not
171 // TODO(davej): Remove save_volume_ and setting volume to minimum i
517 alsa_long_t volume = vol_lo; local
    [all...]
  /external/chromium_org/content/browser/renderer_host/media/
audio_renderer_host.cc 412 void AudioRendererHost::OnSetVolume(int stream_id, double volume) {
421 // Make sure the volume is valid.
422 if (volume < 0 || volume > 1.0)
424 entry->controller()->SetVolume(volume);
425 audio_log_->OnSetVolume(stream_id, volume);
  /external/chromium_org/media/audio/mac/
audio_low_latency_input_mac.cc 330 // Query if any of the master, left or right channels has volume control.
332 // If the volume is settable, the valid volume range is [0.0, 1.0].
337 // Volume control is not available for the audio stream.
341 void AUAudioInputStream::SetVolume(double volume) {
342 DVLOG(1) << "SetVolume(volume=" << volume << ")";
343 DCHECK_GE(volume, 0.0);
344 DCHECK_LE(volume, 1.0);
352 Float32 volume_float32 = static_cast<Float32>(volume);
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
file_manager_commands.js 206 * Creates the volume switch command with index.
207 * @param {number} index Volume index from 1 to 9.
208 * @return {Command} Volume switch command.
419 // Don't check if the volume is read-only. Unformatted volume is
523 CommandHandler.COMMANDS_['volume-help'] = {
593 * Activates the n-th volume.
596 CommandHandler.COMMANDS_['volume-switch-1'] =
598 CommandHandler.COMMANDS_['volume-switch-2'] =
600 CommandHandler.COMMANDS_['volume-switch-3']
    [all...]
  /frameworks/support/v7/mediarouter/jellybean/android/support/v7/media/
MediaRouterJellybean.java 163 public static void requestSetVolume(Object routeObj, int volume) {
164 ((android.media.MediaRouter.RouteInfo)routeObj).requestSetVolume(volume);
215 public static void setVolume(Object routeObj, int volume) {
216 ((android.media.MediaRouter.UserRouteInfo)routeObj).setVolume(volume);
271 public void onVolumeSetRequest(Object routeObj, int volume);
432 int volume) {
433 mCallback.onVolumeSetRequest(route, volume);
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageVolumePreferenceCategory.java 55 /** Physical volume being measured, or {@code null} for internal. */
116 Context context, StorageVolume volume) {
117 return new StorageVolumePreferenceCategory(context, volume);
120 private StorageVolumePreferenceCategory(Context context, StorageVolume volume) {
123 mVolume = volume;
124 mMeasure = StorageMeasurement.getInstance(context, volume);
130 setTitle(volume != null ? volume.getDescription(context)

Completed in 1826 milliseconds

<<11121314151617181920>>