Lines Matching refs:psmp
110 PTMSAMPLE *psmp = (PTMSAMPLE *)(lpStream+dwMemPos); in ReadPTM() local
112 lstrcpyn(m_szNames[ismp+1], psmp->samplename, 28); in ReadPTM()
113 memcpy(pins->name, psmp->filename, 12); in ReadPTM()
117 pins->nVolume = psmp->volume << 2; in ReadPTM()
118 pins->nC4Speed = bswapLE16(psmp->nC4Spd) << 1; in ReadPTM()
120 if ((psmp->sampletype & 3) == 1) in ReadPTM()
123 pins->nLength = BS2WORD(psmp->length); in ReadPTM()
124 pins->nLoopStart = BS2WORD(psmp->loopbeg); in ReadPTM()
125 pins->nLoopEnd = BS2WORD(psmp->loopend); in ReadPTM()
126 DWORD samplepos = BS2WORD(psmp->fileofs); in ReadPTM()
127 if (psmp->sampletype & 4) pins->uFlags |= CHN_LOOP; in ReadPTM()
128 if (psmp->sampletype & 8) pins->uFlags |= CHN_PINGPONGLOOP; in ReadPTM()
129 if (psmp->sampletype & 16) in ReadPTM()