Lines Matching refs:age
184 pVoice->age = DEFAULT_AGE;
1232 * Increment the note age for all of the active voices.
1243 void VMUpdateAllNotesAge (S_VOICE_MGR *pVoiceMgr, EAS_U16 age)
1249 if (age - pVoiceMgr->voices[i].age > 0)
1250 pVoiceMgr->voices[i].age++;
1298 VMUpdateAllNotesAge(pVoiceMgr, pVoice->age);
1300 /* assign current age to this note and increment for the next note */
1301 pVoice->age = pVoiceMgr->age++;
1347 VMUpdateAllNotesAge(pVoiceMgr, pVoice->age);
1540 EAS_U16 age;
1561 age = pVoiceMgr->age - pVoiceMgr->voices[voiceNum].age;
1564 if (age >= oldestNoteAge)
1566 oldestNoteAge = age;
1696 /* establish note age for voice stealing */
1697 pVoiceMgr->voices[voiceNum].age = pVoiceMgr->age++;
1998 * Note age
2065 /* use not age */
2066 currentPriority = (EAS_I32) pCurrVoice->age << NOTE_AGE_STEAL_WEIGHT;
3145 /* include age */
3146 currentPriority = (EAS_I32) pVoice->age << NOTE_AGE_STEAL_WEIGHT;
3312 /* include age */
3313 currentPriority = (EAS_I32) pVoice->age << NOTE_AGE_STEAL_WEIGHT;