• Home
  • Raw
  • Download

Lines Matching refs:txwh

128 	TXW_HEADER txwh ;  in txw_read_header()  local
131 memset (&txwh, 0, sizeof (txwh)) ; in txw_read_header()
141 psf_binheader_readf (psf, "j11", 6, &txwh.format, &txwh.srate) ; in txw_read_header()
144 psf_binheader_readf (psf, "e33j", &txwh.attacklen, &txwh.repeatlen, 2) ; in txw_read_header()
145 txwh.sr2 = (txwh.attacklen >> 16) & 0xFE ; in txw_read_header()
146 txwh.sr3 = (txwh.repeatlen >> 16) & 0xFE ; in txw_read_header()
147 txwh.attacklen &= 0x1FFFF ; in txw_read_header()
148 txwh.repeatlen &= 0x1FFFF ; in txw_read_header()
150 switch (txwh.format) in txw_read_header()
160 psf_log_printf (psf, " Format : 0x%02x => ?????\n", txwh.format) ; in txw_read_header()
164 psf_log_printf (psf, " Format : 0x%02X => %s\n", txwh.format, strptr) ; in txw_read_header()
168 switch (txwh.srate) in txw_read_header()
183 txwh.srhash = ((txwh.sr2 & 0xFE) << 8) | (txwh.sr3 & 0xFE) ; in txw_read_header()
184 switch (txwh.srhash) in txw_read_header()
207 else if (txwh.srhash) in txw_read_header()
208 …psf_log_printf (psf, " Sample Rate : %d (0x%X) => %d\n", txwh.srate, txwh.srhash, psf->sf.samplera… in txw_read_header()
210 psf_log_printf (psf, " Sample Rate : %d => %d\n", txwh.srate, psf->sf.samplerate) ; in txw_read_header()
212 if (txwh.format == TXW_LOOPED) in txw_read_header()
213 { psf_log_printf (psf, " Attack Len : %d\n", txwh.attacklen) ; in txw_read_header()
214 psf_log_printf (psf, " Repeat Len : %d\n", txwh.repeatlen) ; in txw_read_header()
226 if (txwh.attacklen + txwh.repeatlen > psf->sf.frames) in txw_read_header()