Searched defs:level (Results 1 - 25 of 157) sorted by last modified time

1234567

/frameworks/wilhelm/src/android/
H A Dandroid_GenericMediaPlayer.cpp169 // values received from Android framework for buffer fill level use percent,
471 float level = 0.0f; local
472 if (msg->findFloat(WHATPARAM_SETAUXEFFECTSENDLEVEL, &level)) {
475 status = mPlayer->setAuxEffectSendLevel(level);
H A Dandroid_GenericPlayer.cpp225 void GenericPlayer::setAuxEffectSendLevel(float level) argument
227 SL_LOGV("GenericPlayer::setAuxEffectSendLevel(level=%g)", level);
229 msg->setFloat(WHATPARAM_SETAUXEFFECTSENDLEVEL, level);
H A Dandroid_sles_conversions.h77 static inline float sles_to_android_amplification(SLmillibel level) { argument
79 return pow(10, (float)level/2000);
/frameworks/wilhelm/src/itf/
H A DIEqualizer.c145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) argument
150 if (!(thiz->mBandLevelRangeMin <= level && level <= thiz->mBandLevelRangeMax) ||
156 thiz->mLevels[band] = level;
164 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level);
187 SLmillibel level = 0; local
190 level = thiz->mLevels[band];
197 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level);
202 *pLevel = level;
H A DIOutputMixExt.c433 SLmillibel level = audioPlayer->mVolume.mLevel; local
444 float playerGain = powf(10.0f, level / 2000.0f);
H A DIPrefetchStatus.c50 SLpermille level = thiz->mLevel; local
52 *pLevel = level;
H A DIVolume.c22 static SLresult IVolume_SetVolumeLevel(SLVolumeItf self, SLmillibel level) argument
26 if (!((SL_MILLIBEL_MIN <= level) && (level <= PLATFORM_MILLIBEL_MAX_VOLUME))) {
32 if (oldLevel != level) {
33 thiz->mLevel = level;
54 SLmillibel level = thiz->mLevel; local
56 *pLevel = level;
/frameworks/wilhelm/tests/examples/
H A DslesTestDecodeAac.cpp163 SLpermille level = 0; local
165 result = (*caller)->GetFillLevel(caller, &level);
170 printf("prefetch level=%d status=0x%x event=%d\n", level, status, event);
173 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
H A DslesTestDecodeToBuffQueue.cpp129 SLpermille level = 0; local
131 result = (*caller)->GetFillLevel(caller, &level);
138 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
H A DslesTestEqFdPath.cpp221 fprintf(stdout, "Band level range = %dmB to %dmB\n", minLevel, maxLevel);
233 SLmillibel level = 0; local
235 result = (*eqItf)->GetBandLevel(eqItf, b, &level);
237 fprintf(stdout, "Band %d level = %dmB\n", b, level);
H A DslesTestEqOutputPath.cpp225 fprintf(stdout, "Band level range = %dmB to %dmB\n", minLevel, maxLevel);
237 SLmillibel level = 0; local
239 result = (*eqOutputItf)->GetBandLevel(eqOutputItf, b, &level);
241 fprintf(stdout, "Band %d level = %dmB\n", b, level);
H A DslesTestSendToPresetReverb.cpp58 SLpermille level; local
59 result = (*caller)->GetFillLevel(caller, &level);
65 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
259 /* Feed the output mix' reverb from the audio player using the given send level */
266 fprintf(stdout, "Set direct level to %dmB\n", directLevel);
270 fprintf(stdout, "Set send level to %dmB\n", sendLevel);
337 fprintf(stdout, "(sendLevel in mB), with a given direct level (in mB).\n");
H A DxaVideoDecoderCapabilities.cpp158 // Map a video codec and level to string
160 const char* videoLevelToString(XAuint32 codec, XAuint32 level) { argument
219 return id_pair_to_string(codec, level, table, sizeof(table) / sizeof(table[0]));
271 /* get the number of profile / level combinations */
274 fprintf(stdout, "decoder %s has %d profile/level combinations:\n\t",
276 /* display the profile / level combinations */
283 XAuint32 level = decDescriptor.levelSetting; local
284 fprintf(stdout, "%u/%u ", profile, level);
287 videoLevelToString(decoder, level));
/frameworks/wilhelm/tests/listening/
H A DslesTest_playMuteSolo.cpp74 SLpermille level; local
75 result = (*caller)->GetFillLevel(caller, &level);
82 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestGetPositionUri.cpp68 SLpermille level = 0; local
69 SLresult res = (*caller)->GetFillLevel(caller, &level); CheckErr(res);
74 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
80 fprintf(stdout, "PrefetchEventCallback: Buffer fill level is = %d\n", level);
220 /* Configure fill level updates every 5 percent */
H A DslesTestLoopUri.cpp68 SLpermille level = 0; local
69 result = (*caller)->GetFillLevel(caller, &level);
75 fprintf(stdout, "\t\tPrefetchEventCallback: Buffer fill level is = %d\n", level);
82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
211 /* Configure fill level updates every 5 percent */
H A DslesTestManyPlayers.cpp77 SLpermille level = 0; local
79 res = (*caller)->GetFillLevel(caller, &level); CheckErrPlyr(res, *pPlayerId);
84 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
90 fprintf(stdout, "PrefetchEventCallback: Buffer fill level is = %d for player %d\n",
91 level, *pPlayerId);
268 /* Configure fill level updates every 5 percent */
H A DslesTestPlayUri.cpp74 SLpermille level = 0; local
76 result = (*caller)->GetFillLevel(caller, &level);
83 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
88 fprintf(stdout, "PrefetchEventCallback: Buffer fill level is = %d\n", level);
213 /* Configure fill level updates every 5 percent */
H A DslesTestSlowDownUri.cpp113 SLpermille level = 0; local
114 result = (*caller)->GetFillLevel(caller, &level);
120 fprintf(stdout, "\t\tPrefetchEventCallback: Buffer fill level is = %d\n", level);
127 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
268 /* Configure fill level updates every 5 percent */
/frameworks/wilhelm/tests/
H A DmimeUri_test.cpp76 SLpermille level = 0; local
77 (*caller)->GetFillLevel(caller, &level);
82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
87 fprintf(stdout, "\t\tPrefetchEventCallback: Buffer fill level is = %d\n", level);
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c97 SLpermille level; local
98 result = (*caller)->GetFillLevel(caller, &level);
103 //fprintf(stderr, "PrefetchEventCallback: received event %u, level %u, status %u\n",
104 // event, level, status);
106 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
173 printf("default mix volume level = %d\n", mixVolumeLevelDefault);
H A Dreverb.c194 SLpermille level; local
195 result = (*caller)->GetFillLevel(caller, &level);
202 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) {
454 printf("Output mix preset reverb: player effect send default direct level = %d\n",
460 printf("Output mix preset reverb: player effect send default send level = %d\n",
476 printf("Output mix preset reverb: player effect send new enabled = %s, direct level"
477 " = %d, send level = %d\n", enabled ? "true" : "false", directLevel, sendLevel);
490 printf("Output mix environmental reverb: player effect send default direct level"
496 printf("Output mix environmental reverb: player effect send default send level"
512 "direct level
[all...]
H A Dxaplay.c95 XApermille level = 0; local
97 result = (*caller)->GetFillLevel(caller, &level);
103 printf("PrefetchEventCallback: Buffer fill level is = %d\n", level);
110 && (level == 0) && (status == XA_PREFETCHSTATUS_UNDERFLOW)) {
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java32 * introduced after API level 4 in a backwards compatible fashion.
263 * level parameter for when the icon is a {@link android.graphics.drawable.LevelListDrawable
267 * @param level The level to use for the icon.
271 public Builder setSmallIcon(int icon, int level) { argument
273 mNotification.iconLevel = level;
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.cc791 SLpermille level = 0; local
793 OpenSL(caller, GetFillLevel, &level);
796 (level == 0) &&

Completed in 168 milliseconds

1234567