Home | History | Annotate | Download | only in lib_src

Lines Matching defs:bank

377     /* link in DLS bank if downloaded */
2229 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "VMControlChange: Bank Select MSB: msb 0x%X\n", value); */ }
2257 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_INFO, "VMControlChange: Bank Select LSB: lsb 0x%X\n", value); */ }
2260 construct bank number as 7-bits (stored as 8) of existing MSB
2351 program change, bank select, channel volume CC7, pan CC10
2571 * searches the bank list for a program, then the individual program
2579 static EAS_RESULT VMFindProgram (const S_EAS *pEAS, EAS_U32 bank, EAS_U8 programNum, EAS_U16 *pRegionIndex)
2593 if (bank == (EAS_U32) pEAS->pBanks[i].locale)
2606 locale = ( bank << 8) | programNum;
2627 * searches the bank list for a program, then the individual program
2635 static EAS_RESULT VMFindDLSProgram (const S_DLS *pDLS, EAS_U32 bank, EAS_U8 programNum, EAS_U16 *pRegionIndex)
2646 locale = (bank << 8) | programNum;
2668 * Depending on the program number, and the bank selected for this channel, the
2690 EAS_U32 bank;
2699 bank = pChannel->bankNum;
2702 if ((bank & 0xFF00) == DEFAULT_RHYTHM_BANK_NUMBER)
2707 else if ((bank & 0xFF00) == DEFAULT_MELODY_BANK_NUMBER)
2721 prgChg.bank = (EAS_U16) bank;
2732 if (VMFindDLSProgram(pSynth->pDLS, bank, program, &regionIndex) != EAS_SUCCESS)
2739 if (VMFindProgram(pSynth->pEAS, bank, program, &regionIndex) != EAS_SUCCESS)
2741 /* fall back to default bank */
2744 bank = DEFAULT_RHYTHM_BANK_NUMBER;
2746 bank = DEFAULT_MELODY_BANK_NUMBER;
2748 if (VMFindProgram(pSynth->pEAS, bank, program, &regionIndex) != EAS_SUCCESS)
2750 /* switch to program 0 in the default bank */
2752 if (VMFindProgram(pSynth->pEAS, bank, 0, &regionIndex) != EAS_SUCCESS)
2754 (bank >> 8) & 0x7f, bank & 0x7f, program); */ }