Searched refs:gain (Results 126 - 149 of 149) sorted by relevance

123456

/external/sonivox/arm-wt-22k/lib_src/
H A DARM-E_interpolate_noloop_gnu.s89 @ This section performs a gain adjustment of -12dB for 16-bit samples
H A Deas_synth.h278 EAS_I16 gain; /* current gain */ member in struct:s_synth_voice_tag
H A Deas_public.c1835 * Set the master gain for the mix engine in 1dB increments
1839 * volume - the desired master gain (100 is max)
1852 EAS_I16 gain; local
1867 /* get gain offset */
1874 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1877 return EAS_IntSetStrmParam(pEASData, pStream, PARSER_DATA_VOLUME, gain);
1887 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1888 pEASData->masterGain = gain;
H A Deas_mdls.c219 EAS_I32 gain; member in struct:__anon25800
354 0, /* Mod LFO to gain: 0 dB */
355 0, /* Mod LFO CC1 to gain: 0 dB */
356 0, /* Mod LFO channel pressure to gain: 0 dB */
357 960, /* Velocity to gain: 96 dB */
955 p->gain = 0;
1086 /* get gain */
1087 if ((result = EAS_HWGetDWord(pDLSData->hwInstData, pDLSData->fileHandle, &p->gain, EAS_FALSE)) != EAS_SUCCESS)
1089 if (p->gain > 0)
1091 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_WARNING, "Positive gain [
[all...]
H A Deas_pcm.c454 * gainLeft - linear gain multipler in 1.15 fraction format
455 * gainRight - linear gain multipler in 1.15 fraction format
457 * initial - initial settings, set current gain
465 * In mono mode, leftGain controls the output gain and rightGain is ignored
513 * gainLeft - linear gain multipler in 1.15 fraction format
514 * gainRight - linear gain multipler in 1.15 fraction format
515 * initial - initial settings, set current gain
523 * In mono mode, leftGain controls the output gain and rightGain is ignored
556 * Mute and stop rendering a PCM stream. Sets the gain target to zero and stops the playback
582 * Resume rendering a PCM stream. Sets the gain targe
1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); local
[all...]
H A Deas_voicemgt.c1074 if (0 != pVoiceMgr->voices[voiceNum].gain)
2068 /* include note gain -higher gain is lower steal value */
2071 ((EAS_I32) pCurrVoice->gain >> (12 - NOTE_GAIN_STEAL_WEIGHT));
2810 if ((pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) && (pVoiceMgr->voices[voiceNum].gain <= 0))
2825 /* set gain of stolen voice to zero so it will be restarted */
2827 pVoiceMgr->voices[voiceNum].gain = 0;
3148 /* include note gain -higher gain is lower steal value */
3151 ((EAS_I32) pVoice->gain >> (1
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dpitch_filter.c51 WebRtc_Word16 gain,
98 // Get old lag and gain value from memory.
/external/webrtc/src/modules/audio_processing/interface/
H A Daudio_processing.h164 // necessary, to provide if gain control is enabled. On the server-side this
395 // The automatic gain control (AGC) component brings the signal to an
396 // appropriate range. This is done by applying a digital gain directly and, in
397 // the analog mode, prescribing an analog gain to be applied at the audio HAL.
421 // It consists of an analog gain prescription for the audio device and a
435 // short time-window of the input signal. It applies a fixed gain through
436 // most of the input level range, and compresses (gradually reduces gain
439 // predictable, so that a known gain can be applied.
456 // Sets the maximum |gain| the digital compression stage may apply, in dB. A
459 virtual int set_compression_gain_db(int gain)
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_public.c1820 * Set the master gain for the mix engine in 1dB increments
1824 * volume - the desired master gain (100 is max)
1837 EAS_I16 gain; local
1852 /* get gain offset */
1859 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1862 return EAS_IntSetStrmParam(pEASData, pStream, PARSER_DATA_VOLUME, gain);
1872 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1873 pEASData->masterGain = gain;
H A Deas_pcm.c454 * gainLeft - linear gain multipler in 1.15 fraction format
455 * gainRight - linear gain multipler in 1.15 fraction format
457 * initial - initial settings, set current gain
465 * In mono mode, leftGain controls the output gain and rightGain is ignored
513 * gainLeft - linear gain multipler in 1.15 fraction format
514 * gainRight - linear gain multipler in 1.15 fraction format
515 * initial - initial settings, set current gain
523 * In mono mode, leftGain controls the output gain and rightGain is ignored
556 * Mute and stop rendering a PCM stream. Sets the gain target to zero and stops the playback
582 * Resume rendering a PCM stream. Sets the gain targe
1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); local
[all...]
H A Deas_voicemgt.c1074 if (0 != pVoiceMgr->voices[voiceNum].gain)
2068 /* include note gain -higher gain is lower steal value */
2071 ((EAS_I32) pCurrVoice->gain >> (12 - NOTE_GAIN_STEAL_WEIGHT));
2810 if ((pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) && (pVoiceMgr->voices[voiceNum].gain <= 0))
2825 /* set gain of stolen voice to zero so it will be restarted */
2827 pVoiceMgr->voices[voiceNum].gain = 0;
3148 /* include note gain -higher gain is lower steal value */
3151 ((EAS_I32) pVoice->gain >> (1
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_public.c1820 * Set the master gain for the mix engine in 1dB increments
1824 * volume - the desired master gain (100 is max)
1837 EAS_I16 gain; local
1852 /* get gain offset */
1859 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1862 return EAS_IntSetStrmParam(pEASData, pStream, PARSER_DATA_VOLUME, gain);
1872 gain = EAS_VolumeToGain(volume - STREAM_VOLUME_HEADROOM);
1873 pEASData->masterGain = gain;
H A Deas_pcm.c454 * gainLeft - linear gain multipler in 1.15 fraction format
455 * gainRight - linear gain multipler in 1.15 fraction format
457 * initial - initial settings, set current gain
465 * In mono mode, leftGain controls the output gain and rightGain is ignored
513 * gainLeft - linear gain multipler in 1.15 fraction format
514 * gainRight - linear gain multipler in 1.15 fraction format
515 * initial - initial settings, set current gain
523 * In mono mode, leftGain controls the output gain and rightGain is ignored
556 * Mute and stop rendering a PCM stream. Sets the gain target to zero and stops the playback
582 * Resume rendering a PCM stream. Sets the gain targe
1113 EAS_I32 gain = FMUL_15x15(pState->envValue >> 7, pState->volume); local
[all...]
H A Deas_voicemgt.c1074 if (0 != pVoiceMgr->voices[voiceNum].gain)
2068 /* include note gain -higher gain is lower steal value */
2071 ((EAS_I32) pCurrVoice->gain >> (12 - NOTE_GAIN_STEAL_WEIGHT));
2810 if ((pVoiceMgr->voices[voiceNum].voiceState == eVoiceStateStolen) && (pVoiceMgr->voices[voiceNum].gain <= 0))
2825 /* set gain of stolen voice to zero so it will be restarted */
2827 pVoiceMgr->voices[voiceNum].gain = 0;
3148 /* include note gain -higher gain is lower steal value */
3151 ((EAS_I32) pVoice->gain >> (1
[all...]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
H A DShaderUtils.java188 public static final float gain(final float g, final float x) { method in class:ShaderUtils
/external/chromium_org/third_party/opus/src/src/
H A Dopus_decoder.c500 opus_val32 gain; local
501 gain = celt_exp2(MULT16_16_P15(QCONST16(6.48814081e-4f, 25), st->decode_gain));
505 x = MULT16_32_P16(pcm[i],gain);
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc296 int gain; local
297 ASSERT_EQ(1, sscanf(argv[i], "%d", &gain));
301 apm->gain_control()->set_compression_gain_db(gain));
816 // TODO(ajm): fake an analog gain while simulating.
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DNoiseGenerator.java393 weight = signal * musgraveData.gain;
421 weight = musgraveData.gain * result;
433 weight *= musgraveData.gain * signal;
/external/aac/libSBRdec/src/
H A Denv_calc.cpp288 \brief Reduce gain-adjustment induced aliasing for real valued filterbank.
334 /*Calculate new gain*/
342 FIXP_DBL groupGain; /* Total energy gain in group */
358 /* Multiply band energy with current gain */
365 /* Calculate total energy gain in group */
380 /* Modify gain depending on the degree of aliasing */
385 /* Apply modified gain to original energy */
446 \li Calculate gain and noise level for each subband:<br>
447 \f$ gain = \sqrt{ \frac{nrgRef}{nrgEst} \cdot (1 - noiseRatio) }
459 \li Noise limiting: The gain fo
1948 FIXP_DBL *RESTRICT gain = nrgs->nrgGain; /*!< Gains of current envelope */ local
[all...]
/external/aac/libSBRenc/src/
H A Denv_est.cpp545 /* gain = nrgSum / (nrg*(M+1)) */
546 FIXP_DBL gain = fMult(fDivNorm(nrgSum, nrg, &sc), GetInvInt(M+1)); local
549 /* reduce nrg if gain smaller 1.f */
550 if ( !((sc>=0) && ( gain > ((FIXP_DBL)MAXVAL_DBL>>sc) )) ) {
551 nrg = fMult(scaleValue(gain,sc), nrg);
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgl.c80 printf( "app %s ", event->active.gain ? "gained" : "lost" );
/external/speex/libspeex/
H A Dnb_celp.c337 /* Whole frame analysis (open-loop estimation of pitch and excitation gain) */
402 /* Compute open-loop excitation gain */
608 /*Quantize and transmit open-loop excitation gain*/
675 /* Compute analysis filter gain at w=pi (for use in SB-CELP) */
818 /* Calculate gain correction for the sub-frame (if any) */
1269 /* Get global excitation gain */
1274 /* FIXME: Perhaps we could slightly lower the gain here when the output is going to saturate? */
1384 /* Decode sub-frame gain correction */
1481 spx_word16_t gain; local
1487 gain
[all...]
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c755 static int in_set_gain(struct audio_stream_in *stream, float gain) argument
/external/kernel-headers/original/linux/
H A Dinput.h1600 * @set_gain: Called to set specified gain
1628 void (*set_gain)(struct input_dev *dev, u16 gain);

Completed in 592 milliseconds

123456