Searched refs:volume (Results 26 - 38 of 38) sorted by relevance

12

/hardware/qcom/audio/alsa_sound/
H A Daudio_hw_hal.cpp446 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
449 return qadev->hwif->setVoiceVolume(volume);
452 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
455 return qadev->hwif->setMasterVolume(volume);
458 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) { argument
461 return qadev->hwif->getMasterVolume(volume);
465 static int adev_set_fm_volume(struct audio_hw_device *dev, float volume) argument
468 return qadev->hwif->setFmVolume(volume);
H A DAudioHardwareALSA.cpp253 // Voice volume levels from android are mapped to driver volume levels as follows.
255 // So adjust the volume to get the correct volume index in driver
289 ALOGV("Setting FM volume to %d (available range is 0 to 0x2000)\n", vol);
297 status_t AudioHardwareALSA::setMasterVolume(float volume) argument
/hardware/libhardware/modules/usbaudio/
H A Daudio_hw.c324 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
329 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
/hardware/msm7k/libaudio-qsd8k/
H A DAudioHardware.h161 #define VOICE_VOLUME_MAX 5 // Maximum voice volume
175 virtual status_t setVoiceVolume(float volume);
176 virtual status_t setMasterVolume(float volume);
H A DAudioHardware.cpp595 static status_t set_volume_rpc(uint32_t volume) argument
603 volume *= 20; //percentage
604 ALOGD("Setting in-call volume to %d\n", volume);
605 if (ioctl(fd, AUDIO_SET_VOLUME, &volume)) {
606 ALOGW("Cannot set volume on current device\n");
626 ALOGD("HAC enable: Setting in-call volume to maximum.\n");
629 ALOGI("voice volume %d (range is 0 to %d)", vol, VOICE_VOLUME_MAX);
638 ALOGI("Set master volume to %f", v);
640 // volume o
[all...]
/hardware/libhardware_legacy/audio/
H A Daudio_hw_hal.cpp425 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
428 return ladev->hwif->setVoiceVolume(volume);
431 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
434 return ladev->hwif->setMasterVolume(volume);
437 static int adev_get_master_volume(struct audio_hw_device *dev, float* volume) argument
440 return ladev->hwif->getMasterVolume(volume);
H A DAudioPolicyManagerBase.cpp377 // Flag that ringtone volume must be limited to music volume until we exit MODE_RINGTONE
714 // apply volume rules for current stream and device if necessary
993 // Force max volume if stream cannot be muted
1006 // compute and apply stream volume on all outputs according to connected device
1031 // if device is AUDIO_DEVICE_OUT_DEFAULT, return volume for device corresponding to
1683 // set initial stream volume for device
2293 // temporary mute output if device selection changes to avoid volume bursts due to
2336 // FIXME: should not need to double latency if volume could be applied immediately by the
2546 // the volume inde
2700 float volume = 1.0; local
2782 float volume = computeVolume(stream, index, output, device); local
[all...]
/hardware/qcom/audio/libalsa-intf/
H A Dalsa_mixer.c404 ALOGV("capability: volume\n");
477 * This is useful for volume controls which take two parameters as input value.
529 int volume = 0; local
538 ALOGV("capability: volume\n");
553 volume = 1;
558 volume = 1;
574 if (!volume)
584 if (!volume)
607 * the value of volume in any one of the following format
608 * <volume><
[all...]
/hardware/msm7k/libaudio/
H A DAudioHardware.cpp362 uint32_t volume)
366 ALOGD("rpc_snd_set_volume(%d, %d, %d)\n", device, method, volume);
380 * volume, # integer volume level, in range [0,5].
383 * rpc_snd_set_volume only works for in-call sound volume.
388 args.volume = volume;
411 ALOGI("Setting in-call volume to %d (available range is 0 to 5)\n", vol);
422 ALOGI("Set master volume to %d.\n", vol);
430 // volume o
360 set_volume_rpc(uint32_t device, uint32_t method, uint32_t volume) argument
[all...]
/hardware/libhardware/modules/audio_remote_submix/
H A Daudio_hw.cpp631 static int adev_set_voice_volume(struct audio_hw_device *dev, float volume) argument
636 static int adev_set_master_volume(struct audio_hw_device *dev, float volume) argument
641 static int adev_get_master_volume(struct audio_hw_device *dev, float *volume) argument
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/
H A DFmRxApp.java76 After this sFmRadio.rxSetVolume() with default volume will be called.
93 To increase decrease the volume sFmRadio.rxSetVolume() will be called and the callback for
159 // variable to make sure that the next volume change happens after the
160 // current volume request has been completed.
628 * FM main screen. Set the default volume.
741 * volume change will be completed here. So set the state to
742 * idle, so that user can set other volume.
746 * Setting the default band after the volume change when FM app
1330 Log.d(TAG, " Load default band " + sBand + "default volume" + mVolume + "last fre"
1360 Log.d(TAG, " save default band " + sBand + "default volume"
2546 getNewGain(int volume) argument
[all...]
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/fm/
H A DFmRadio.java807 public boolean rxSetVolume(int volume) { argument
812 return mService.rxSetVolume(volume);
/hardware/ti/wpan/tools/FM/service/src/java/com/ti/server/
H A DStubFmService.java126 * variable to make sure that the next volume change happens after the
127 * current volume request has been completed.
154 * Variable to store the volume , so that when the value is changed intimate
182 * accordingly(band,volume,freq)
1769 public boolean rxSetVolume(int volume) { argument
1770 Log.i(TAG, "StubFmService:rxSetVolume " + volume);
1779 JFmRx.JFmRxVolume lVolume = new JFmRx.JFmRxVolume(volume);
5448 * volume change will be completed here. So set the state to idle, so
5449 * that user can set other volume.
6808 // Convert the stream volume t
[all...]

Completed in 3132 milliseconds

12