Searched defs:regionIndex (Results 1 - 15 of 15) sorted by relevance

/external/sonivox/arm-wt-22k/lib_src/
H A Deas_dlssynth.c305 EAS_RESULT DLS_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) argument
313 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "DLS_StartVoice: Voice %ld; Region %d\n", (EAS_I32) (pVoice - pVoiceMgr->voices), regionIndex); */ }
318 pDLSRegion = &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK];
390 pDLSRegion = &pSynth->pDLS->pDLSRegions[pVoice->regionIndex & REGION_INDEX_MASK];
H A Deas_wtsynth.c52 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
169 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
212 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
249 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
307 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) argument
323 pVoice->regionIndex = regionIndex;
335 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
336 return DLS_StartVoice(pVoiceMgr, pSynth, pVoice, voiceNum, regionIndex);
339 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]);
[all...]
H A Deas_sndlib.h294 EAS_U16 regionIndex; member in struct:s_program_tag
305 * regionIndex: Index of first region in program
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK]; member in struct:s_bank_tag
H A Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */ member in struct:s_synth_channel_tag
277 EAS_U16 regionIndex; /* index to wave and playback params */ member in struct:s_synth_voice_tag
H A Deas_mdls.c422 static void Convert_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_U16 regionIndex, EAS_U16 artIndex, EAS_U16 waveIndex, S_WSMP_DATA *pWsmp);
1453 pProgram->regionIndex = (EAS_U16) pDLSData->regionCount | FLAG_RGN_IDX_DLS_SYNTH;
1603 EAS_U16 regionIndex; local
1611 regionIndex = (EAS_U16) pDLSData->regionCount;
1707 if ((result = Parse_rgnh(pDLSData, rgnhPos, &pDLSData->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK])) != EAS_SUCCESS)
1720 Convert_rgn(pDLSData, regionIndex, artIndex, (EAS_U16) waveIndex, pWsmp);
2296 static void Convert_rgn (SDLS_SYNTHESIZER_DATA *pDLSData, EAS_U16 regionIndex, EAS_U16 artIndex, EAS_U16 waveIndex, S_WSMP_DATA *pWsmp) argument
2301 pRgn = &pDLSData->pDLS->pDLSRegions[regionIndex];
2609 for (j = pEAS->pPrograms[i].regionIndex; ; j++)
H A Deas_voicemgt.c125 EAS_INLINE const S_REGION* GetRegionPtr (S_SYNTH *pSynth, EAS_U16 regionIndex) argument
128 if (regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region;
132 if (regionIndex & FLAG_RGN_IDX_FM_SYNTH)
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region;
135 return &pSynth->pEAS->pWTRegions[regionIndex].region;
137 return &pSynth->pEAS->pWTRegions[regionIndex].region;
139 return &pSynth->pEAS->pFMRegions[regionIndex].region;
183 pVoice->regionIndex = DEFAULT_REGION_INDEX;
1271 static void VMStolenVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1535 VMCheckPolyphonyLimiting(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice) argument
1610 VMStartVoice(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1750 EAS_U16 regionIndex; local
2584 EAS_U16 regionIndex; local
2691 EAS_U16 regionIndex; local
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_fmsynth.c96 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
142 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex & REGION_INDEX_MASK];
144 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex];
396 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) argument
405 pVoice->regionIndex = regionIndex;
H A Deas_sndlib.h294 EAS_U16 regionIndex; member in struct:s_program_tag
305 * regionIndex: Index of first region in program
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK]; member in struct:s_bank_tag
H A Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */ member in struct:s_synth_channel_tag
277 EAS_U16 regionIndex; /* index to wave and playback params */ member in struct:s_synth_voice_tag
H A Deas_voicemgt.c125 EAS_INLINE const S_REGION* GetRegionPtr (S_SYNTH *pSynth, EAS_U16 regionIndex) argument
128 if (regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region;
132 if (regionIndex & FLAG_RGN_IDX_FM_SYNTH)
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region;
135 return &pSynth->pEAS->pWTRegions[regionIndex].region;
137 return &pSynth->pEAS->pWTRegions[regionIndex].region;
139 return &pSynth->pEAS->pFMRegions[regionIndex].region;
183 pVoice->regionIndex = DEFAULT_REGION_INDEX;
1271 static void VMStolenVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1535 VMCheckPolyphonyLimiting(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice) argument
1610 VMStartVoice(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1750 EAS_U16 regionIndex; local
2584 EAS_U16 regionIndex; local
2691 EAS_U16 regionIndex; local
[all...]
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_fmsynth.c96 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
142 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex & REGION_INDEX_MASK];
144 return &pSynth->pEAS->pFMRegions[pVoice->regionIndex];
396 static EAS_RESULT FM_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) argument
405 pVoice->regionIndex = regionIndex;
H A Deas_wtsynth.c52 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex);
169 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
212 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
249 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
307 static EAS_RESULT WT_StartVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, S_SYNTH_VOICE *pVoice, EAS_I32 voiceNum, EAS_U16 regionIndex) argument
323 pVoice->regionIndex = regionIndex;
335 if (pVoice->regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
336 return DLS_StartVoice(pVoiceMgr, pSynth, pVoice, voiceNum, regionIndex);
339 pRegion = &(pSynth->pEAS->pWTRegions[regionIndex]);
[all...]
H A Deas_sndlib.h294 EAS_U16 regionIndex; member in struct:s_program_tag
305 * regionIndex: Index of first region in program
311 EAS_U16 regionIndex[NUM_PROGRAMS_IN_BANK]; member in struct:s_bank_tag
H A Deas_synth.h201 EAS_U16 regionIndex; /* index of first region in program */ member in struct:s_synth_channel_tag
277 EAS_U16 regionIndex; /* index to wave and playback params */ member in struct:s_synth_voice_tag
H A Deas_voicemgt.c125 EAS_INLINE const S_REGION* GetRegionPtr (S_SYNTH *pSynth, EAS_U16 regionIndex) argument
128 if (regionIndex & FLAG_RGN_IDX_DLS_SYNTH)
129 return &pSynth->pDLS->pDLSRegions[regionIndex & REGION_INDEX_MASK].wtRegion.region;
132 if (regionIndex & FLAG_RGN_IDX_FM_SYNTH)
133 return &pSynth->pEAS->pFMRegions[regionIndex & REGION_INDEX_MASK].region;
135 return &pSynth->pEAS->pWTRegions[regionIndex].region;
137 return &pSynth->pEAS->pWTRegions[regionIndex].region;
139 return &pSynth->pEAS->pFMRegions[regionIndex].region;
183 pVoice->regionIndex = DEFAULT_REGION_INDEX;
1271 static void VMStolenVoice (S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_I32 voiceNum, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1535 VMCheckPolyphonyLimiting(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex, EAS_I32 lowVoice, EAS_I32 highVoice) argument
1610 VMStartVoice(S_VOICE_MGR *pVoiceMgr, S_SYNTH *pSynth, EAS_U8 channel, EAS_U8 note, EAS_U8 velocity, EAS_U16 regionIndex) argument
1750 EAS_U16 regionIndex; local
2584 EAS_U16 regionIndex; local
2691 EAS_U16 regionIndex; local
[all...]

Completed in 153 milliseconds