Lines Matching refs:pih
144 DBMINSTRUMENT *pih; in ReadDBM() local
149 pih = (DBMINSTRUMENT *)(lpStream+chunk_pos); in ReadDBM()
150 nsmp = bswapBE16(pih->sampleno); in ReadDBM()
153 memcpy(penv->name, pih->name, 30); in ReadDBM()
156 memcpy(m_szNames[nsmp], pih->name, 30); in ReadDBM()
162 penv->nPan = bswapBE16(pih->panning); in ReadDBM()
176 DWORD sflags = bswapBE16(pih->flags); in ReadDBM()
177 psmp->nVolume = bswapBE16(pih->volume) * 4; in ReadDBM()
180 psmp->nC4Speed = bswapBE32(pih->finetune); in ReadDBM()
184 if ((pih->looplen) && (sflags & 3)) in ReadDBM()
186 psmp->nLoopStart = bswapBE32(pih->loopstart); in ReadDBM()
187 psmp->nLoopEnd = psmp->nLoopStart + bswapBE32(pih->looplen); in ReadDBM()