/external/qemu/distrib/sdl-1.2.15/src/audio/dc/ |
aica.h | 33 void aica_play(int ch,int mode,unsigned long smpptr,int looptst,int loopend,int freq,int vol,int pan,int loopflag); 35 void aica_vol(int ch,int vol);
|
aica.c | 146 vol is the volume, 0 to 0xff (0xff is louder) 151 void aica_play(int ch,int mode,unsigned long smpptr,int loopst,int loopend,int freq,int vol,int pan,int loopflag) { 185 /* Vol starts at zero so we can ramp */ 186 vol = AICA_VOL(vol); 187 CHNREG32(ch, 40) = 0x24 | (vol<<8); 189 /* Vol starts at zero so we can ramp */ 218 for (i=0xff; i>=vol; i--) { 238 void aica_vol(int ch,int vol) { 239 // g2_write_8(CHNREGADDR(ch, 41),AICA_VOL(vol)); [all...] |
/frameworks/av/services/audioflinger/ |
AudioMixerOps.h | 246 * vol: represents a volume array. 256 * vol: represents volume array. 265 * vol: represents a volume array. 280 const TI* in, TA* aux, TV *vol, const TV *volinc, TAV *vola, TAV volainc) 291 *out++ += MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 292 vol[i] += volinc[i]; 297 *out++ += MixMulAux<TO, TI, TV, TA>(*in, vol[i], &auxaccum); 298 vol[i] += volinc[i]; 304 *out++ = MixMulAux<TO, TI, TV, TA>(*in++, vol[i], &auxaccum); 305 vol[i] += volinc[i] [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAMixer.cpp | 276 long vol = minVol + volume * (maxVol - minVol); local 277 if (vol > maxVol) vol = maxVol; 278 if (vol < minVol) vol = minVol; 280 info->volume = vol; 281 snd_mixer_selem_set_playback_volume_all (info->elem, vol); 295 long vol = minVol + gain * (maxVol - minVol); local 296 if (vol > maxVol) vol = maxVol 317 long vol = minVol + left * (maxVol - minVol); local 340 long vol = minVol + gain * (maxVol - minVol); local [all...] |
AudioStreamOutALSA.cpp | 73 int vol; local 85 vol = lrint((volume * 0x2000)+0.5); 90 ALOGV("Setting LPA volume to %d (available range is 0 to 100)\n", vol); 91 mHandle->module->setLpaVolume(vol); 97 ALOGV("Setting Compressed volume to %d (available range is 0 to 100)\n", vol); 98 mHandle->module->setCompressedVolume(vol);
|
/external/qemu/audio/ |
mixeng_template.h | 36 #define VOL(a, b) ((a) * (b)) 38 #define VOL(a, b) ((a) * (b)) >> 32 41 #define VOL(a, b) a 112 (struct st_sample *dst, const void *src, int samples, struct mixeng_volume *vol) 117 if (vol->mute) { 122 (void) vol; 125 out->l = VOL (glue (conv_, ET) (*in++), vol->l); 126 out->r = VOL (glue (conv_, ET) (*in++), vol->r) [all...] |
mixeng.h | 37 int samples, struct mixeng_volume *vol);
|
/hardware/qcom/audio/hal/audio_extn/ |
audio_extn.h | 26 void audio_extn_extspk_set_voice_vol(void* extn, float vol);
|
hfp.c | 72 int32_t vol, ret = 0; local 86 vol = lrint((value * 0x2000) + 0.5); 94 ALOGD("%s: Setting HFP volume to %d \n", __func__, vol); 101 if(mixer_ctl_set_value(ctl, 0, vol) < 0) { 102 ALOGE("%s: Couldn't set HFP Volume: [%d]", __func__, vol); 269 float vol; local 310 if (sscanf(value, "%f", &vol) != 1){ 315 ALOGD("%s: set_hfp_volume usecase, Vol: [%f]", __func__, vol); 316 hfp_set_volume(adev, vol); [all...] |
ext_speaker.c | 151 void audio_extn_extspk_set_voice_vol(void* extn, float vol) 156 data->set_voice_vol(vol);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
dtmf_buffer.h | 37 DtmfEvent(uint32_t ts, int ev, int vol, int dur, bool end) 40 volume(vol),
|
/external/chromium_org/third_party/webrtc/modules/audio_device/test/ |
audio_device_test_api.cc | 747 uint32_t vol(0); 757 int32_t works = audio_device_->SetWaveOutVolume(vol, vol); 763 for (vol = 0; vol <= maxVol; vol += (maxVol/5)) 765 EXPECT_EQ(0, audio_device_->SetWaveOutVolume(vol, vol)); 767 EXPECT_TRUE((volL == vol) && (volR == vol)); [all...] |
/frameworks/base/core/java/android/speech/tts/ |
AudioPlaybackQueueItem.java | 101 final float vol = clip(volume, 0.0f, 1.0f); local 104 float volLeft = vol, volRight = vol;
|
BlockingAudioTrack.java | 320 final float vol = clip(volume, 0.0f, 1.0f); local 323 float volLeft = vol; 324 float volRight = vol;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
pvdec_api.cpp | 50 extern Vol IMEM_VOL[2]; 52 extern Vol IMEM_vol[2][1]; 96 video->vol = (Vol **) IMEM_VOL; 98 video->vol = (Vol **) oscl_malloc(nLayers * sizeof(Vol *)); 100 if (video->vol == NULL) status = PV_FALSE; 101 video->memoryUsage += nLayers * sizeof(Vol *); 165 video->vol[idx] = IMEM_vol[idx] [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/mac/ |
audio_mixer_manager_mac.cc | 255 const Float32 vol = (Float32)(volume / 255.0); local 257 assert(vol <= 1.0 && vol >= 0.0); 269 size = sizeof(vol); 271 &propertyAddress, 0, NULL, size, &vol)); 285 size = sizeof(vol); 287 &propertyAddress, 0, NULL, size, &vol)); 316 Float32 vol = 0; local 327 size = sizeof(vol); 329 &propertyAddress, 0, NULL, &size, &vol)); 970 const Float32 vol = (Float32)(volume \/ 255.0); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
keyboard_overlay_data.js | 378 'label': 'vol. down' 381 'label': 'vol. up' 694 'label': 'vol. down' 697 'label': 'vol. up' 971 'label': 'vol. down' 974 'label': 'vol. up' 1279 'label': 'vol. down' 1282 'label': 'vol. up' 1559 'label': 'vol. down' 1562 'label': 'vol. up [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
mp4enc_api.cpp | 194 Vol *pVol; 844 video->vol = (Vol **)M4VENC_MALLOC(nLayers * sizeof(Vol *)); /* Memory for VOL pointers */ 847 if (video->vol == NULL) goto CLEAN_UP; 854 video->vol[idx] = (Vol *)M4VENC_MALLOC(sizeof(Vol)); 855 if (video->vol[idx] == NULL) goto CLEAN_UP 2593 Vol **vol = video->vol; local 2833 Vol **vol = video->vol; local [all...] |
vop.cpp | 25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop); 44 Vol *currVol = video->vol[currLayer]; 127 Vol *currVol = video->vol[video->currLayer]; 196 Vol *currVol = video->vol[currLayer]; 312 Vol *currVol = video->vol[0]; 353 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop [all...] |
/external/eigen/unsupported/Eigen/src/BVH/ |
BVAlgorithms.h | 50 bool intersectVolume(const Volume1 &vol) { return intersector.intersectVolumeObject(vol, stored); } 62 bool intersectVolume(const Volume2 &vol) { return intersector.intersectObjectVolume(stored, vol); } 187 Scalar minimumOnVolume(const Volume1 &vol) { return minimizer.minimumOnVolumeObject(vol, stored); } 200 Scalar minimumOnVolume(const Volume2 &vol) { return minimizer.minimumOnObjectVolume(stored, vol); }
|
/external/chromium_org/third_party/webrtc/voice_engine/test/cmd_test/ |
voe_cmd_test.cc | 404 unsigned int vol = 999; local 405 res = volume->GetMicVolume(vol); 407 if ((vol > 255) || (vol < 1)) { 521 unsigned vol(0); 522 res = volume->GetSpeakerVolume(vol); 524 printf("\n Speaker Volume is %d \n", vol); 532 unsigned vol(0); 533 res = volume->GetMicVolume(vol); 535 printf("\n Microphone Volume is %d \n", vol); [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/ |
audio_mixer_manager_alsa_linux.cc | 415 long int vol(0); 421 &vol); 430 " AudioMixerManagerLinuxALSA::SpeakerVolume() => vol=%i", 431 vol); 433 volume = static_cast<uint32_t> (vol); 1026 long int vol(0); 1033 &vol); 1042 " AudioMixerManagerLinuxALSA::MicrophoneVolume() => vol=%i", 1043 vol); 1045 volume = static_cast<uint32_t> (vol); [all...] |
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
device_id_mac.cc | 47 struct statfs* vol = &mounted_volumes[i]; local 48 if (std::string(vol->f_mntonname) == kRootDirectory) { 49 return std::string(vol->f_mntfromname);
|
/hardware/qcom/audio/hal/ |
voice.c | 303 int vol, err = 0; local 313 vol = lrint(volume * 100.0); 318 vol = 100 - vol; 320 err = platform_set_voice_volume(adev->platform, vol);
|
/device/asus/fugu/libaudio/ |
AudioOutput.cpp | 492 void AudioOutput::setVolume(float vol) { 494 if (mVolume != vol) { 495 mVolume = vol;
|