/device/asus/fugu/libaudio/ |
AudioHardwareOutput.h | 41 status_t setMasterVolume(float volume); 42 status_t getMasterVolume(float* volume);
|
/external/chromium_org/content/renderer/media/ |
media_stream_audio_processor.h | 78 // |new_volume| receives the new microphone volume from the AGC. 79 // The new microphoen volume range is [0, 255], and the value will be 0 if 80 // the microphone volume should not be adjusted. 83 // |capture_delay|, |volume| and |key_pressed| will be passed to 87 int volume, 144 // Returns the new microphone volume in the range of |0, 255]. 145 // When the volume does not need to be updated, it returns 0. 148 int volume,
|
/external/chromium_org/media/audio/ |
audio_input_controller.cc | 181 void AudioInputController::SetVolume(double volume) { 183 &AudioInputController::DoSetVolume, this, volume)); 319 void AudioInputController::DoSetVolume(double volume) { 321 DCHECK_GE(volume, 0); 322 DCHECK_LE(volume, 1.0); 327 // Only ask for the maximum volume at first call and use cached value 334 DLOG(WARNING) << "Failed to access input volume control"; 338 // Set the stream volume and scale to a range matched to the platform. 339 stream_->SetVolume(max_volume_ * volume); 387 double volume) { [all...] |
clockless_audio_sink.cc | 104 bool ClocklessAudioSink::SetVolume(double volume) { 106 return volume == 0.0;
|
audio_output_device.cc | 108 bool AudioOutputDevice::SetVolume(double volume) { 109 if (volume < 0 || volume > 1.0) 113 base::Bind(&AudioOutputDevice::SetVolumeOnIOThread, this, volume))) { 172 void AudioOutputDevice::SetVolumeOnIOThread(double volume) { 175 ipc_->SetVolume(volume);
|
/external/chromium_org/media/base/ |
audio_renderer_mixer_input.cc | 92 bool AudioRendererMixerInput::SetVolume(double volume) { 93 volume_ = volume;
|
audio_converter.cc | 204 const float volume = input->ProvideInput(provide_input_dest, buffer_delay); local 206 // Optimize the most common single input, full volume case. 208 if (volume == 1.0f) { 211 } else if (volume > 0) { 214 provide_input_dest->channel(i), volume, 225 // Volume adjust and mix each mixer input into |temp_dest| after rendering. 226 if (volume > 0) { 229 mixer_input_audio_bus_->channel(i), volume,
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_pcm.h | 52 EAS_I16 volume; member in struct:s_pcm_open_params_tag 169 * Update the pitch and volume parameters using MIDI controls 202 * Update the volume parameters for a PCM stream 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_pcm.h | 52 EAS_I16 volume; member in struct:s_pcm_open_params_tag 169 * Update the pitch and volume parameters using MIDI controls 202 * Update the volume parameters for a PCM stream 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_pcm.h | 52 EAS_I16 volume; member in struct:s_pcm_open_params_tag 169 * Update the pitch and volume parameters using MIDI controls 202 * Update the volume parameters for a PCM stream 221 EAS_RESULT EAS_PEUpdateVolume (EAS_DATA_HANDLE pEASData, EAS_PCM_HANDLE pState, EAS_I16 volume);
|
/frameworks/av/services/audioflinger/ |
AudioResamplerFirProcess.h | 59 int32_t volumeAdjust(int32_t value, int32_t volume) 61 return 2 * mulRL(0, value, volume); // Note: only use top 16b 66 float volumeAdjust(float value, float volume) 68 return value * volume; 92 inline void volume(TO*& out, TO gain) { function in class:android::Accumulator 94 Accumulator<CHANNELS-1, TO>::volume(out, gain); 108 inline void volume(TO*& out __unused, TO gain __unused) { function in class:android::Accumulator 166 * the negative half FIR dot product, accumulates, and then applies the volume. 216 accum.volume(tmp_out, volumeLR[0]); 309 * @param volumeLR is a pointer to an array of two 32 bit volume values, one per stereo channel [all...] |
/frameworks/base/media/java/android/media/tv/ |
ITvInputSession.aidl | 37 void setVolume(float volume);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
SystemAudioStatusAction.java | 28 * Action to update audio status (volume or mute) of audio amplifier 98 int volume = params[0] & 0x7F; local 99 tv().setAudioStatus(mute, volume);
|
/hardware/libhardware_legacy/audio/ |
AudioPolicyCompatClient.h | 69 float volume, 74 virtual status_t setVoiceVolume(float volume, int delayMs = 0);
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 62 // scan whenever any volume is mounted 72 private void scan(Context context, String volume) { 74 args.putString("volume", volume);
|
MediaScannerService.java | 254 String volume = arguments.getString("volume"); local 257 if (MediaProvider.INTERNAL_VOLUME.equals(volume)) { 264 else if (MediaProvider.EXTERNAL_VOLUME.equals(volume)) { 270 if (false) Log.d(TAG, "start scanning volume " + volume + ": " 272 scan(directories, volume); 273 if (false) Log.d(TAG, "done scanning volume " + volume);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
TtsPlatformImpl.java | 39 String lang, float rate, float pitch, float volume) { 46 mVolume = volume; 195 * @param volume The speech volume, in the units expected by Android TextToSpeech. 200 float rate, float pitch, float volume) { 203 pitch, volume); 216 if (volume != 1.0) { 217 params.put(TextToSpeech.Engine.KEY_PARAM_VOLUME, Double.toString(volume));
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zExtract.cpp | 69 const CVolume &volume = _volumes.Front();
70 const CArchiveDatabaseEx &_db = volume.Database;
71 IInStream *_inStream = volume.Stream;
88 const CVolume &volume = _volumes[volumeIndex];
local 89 const CArchiveDatabaseEx &db = volume.Database;
176 const CVolume &volume = _volumes[efi.VolumeIndex];
local 177 const CArchiveDatabaseEx &db = volume.Database;
190 volume.StartRef2Index,
225 volume.Stream,
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
NotificationPlayer.java | 18 * the addition of a volume parameter. Hopefully the framework will adapt AsyncPlayer to support 54 float volume; field in class:NotificationPlayer.Command 93 player.setVolume(mCmd.volume, mCmd.volume); 269 * @param volume The volume at which to play this sound, as a fraction of the system volume for 271 * volume with no attenuation. 273 public void play(Context context, Uri uri, boolean looping, int stream, float volume) { 281 cmd.volume = volume [all...] |
/hardware/qcom/audio/hal/ |
voice.c | 155 voice_set_volume(adev, adev->voice.volume); 301 int voice_set_volume(struct audio_device *adev, float volume) 305 adev->voice.volume = volume; 307 if (volume < 0.0) { 308 volume = 0.0; 309 } else if (volume > 1.0) { 310 volume = 1.0; 313 vol = lrint(volume * 100.0); 315 // Voice volume levels from android are mapped to driver volume levels as follows [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/pulse/ |
introspect.h | 33 #include <pulse/volume.h> 147 * modify the volume of the audio. Identical to how sinks and sources can 164 * If an application desires to modify the volume of just a single stream 165 * (commonly one of its own streams), this can be done by setting the volume 168 * There is no support for modifying the volume of source outputs. 215 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info 224 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */ 226 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 * 292 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info 496 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info 600 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
introspect.h | 33 #include <pulse/volume.h> 147 * modify the volume of the audio. Identical to how sinks and sources can 164 * If an application desires to modify the volume of just a single stream 165 * (commonly one of its own streams), this can be done by setting the volume 168 * There is no support for modifying the volume of source outputs. 215 pa_cvolume volume; /**< Volume of the sink */ member in struct:pa_sink_info 224 pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */ 226 uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 * 292 pa_cvolume volume; \/**< Volume of the source *\/ member in struct:pa_source_info 496 pa_cvolume volume; \/**< The volume of this sink input *\/ member in struct:pa_sink_input_info 600 pa_cvolume volume; \/**< Default volume of this entry *\/ member in struct:pa_sample_info [all...] |
/external/chromium_org/media/audio/win/ |
audio_low_latency_output_win_unittest.cc | 307 TEST(WASAPIAudioOutputStreamTest, Volume) { 313 // Initial volume should be full volume (1.0). 314 double volume = 0.0; local 315 aos->GetVolume(&volume); 316 EXPECT_EQ(1.0, volume); 318 // Verify some valid volume settings. 320 aos->GetVolume(&volume); 321 EXPECT_EQ(0.0, volume); 324 aos->GetVolume(&volume); [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
Memory.java | 103 for (StorageVolume volume : storageVolumes) { 104 if (!volume.isEmulated()) { 105 addCategory(StorageVolumePreferenceCategory.buildForPhysical(context, volume)); 119 // Mass storage is enabled if primary volume supports it 148 final StorageVolume volume = category.getStorageVolume(); 149 if (volume != null && path.equals(volume.getPath())) { 238 final StorageVolume volume = category.getStorageVolume(); local 239 if (volume != null && category.mountToggleClicked(preference)) { 241 sClickedMountPoint = volume.getPath() [all...] |
StorageMeasurement.java | 87 public static StorageMeasurement getInstance(Context context, StorageVolume volume) { 89 StorageMeasurement value = sInstances.get(volume); 91 value = new StorageMeasurement(context.getApplicationContext(), volume); 92 sInstances.put(volume, value); 112 * usage by all apps on that volume. 129 * on that volume. 153 /** Physical volume being measured, or {@code null} for internal. */ 166 private StorageMeasurement(Context context, StorageVolume volume) { 167 mVolume = volume; 168 mIsInternal = volume == null [all...] |