Lines Matching refs:rchunks
443 psf_store_read_chunk_u32 (&psf->rchunks, marker, psf_ftell (psf), chunk_size) ; in aiff_read_header()
1178 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, COMM_MARKER)) >= 0) in aiff_rewrite_header()
1179 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header()
1181 comm_size = psf->rchunks.chunks [k].len ; in aiff_rewrite_header()
1186 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, PEAK_MARKER)) >= 0) in aiff_rewrite_header()
1187 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header()
1196 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, SSND_MARKER)) >= 0) in aiff_rewrite_header()
1197 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header()
1236 if (psf->file.mode == SFM_RDWR && psf->dataoffset > 0 && psf->rchunks.count > 0) in aiff_write_header()
1799 { return psf_next_chunk_iterator (&psf->rchunks, iterator) ; in aiff_next_chunk_iterator()
1806 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in aiff_get_chunk_size()
1809 chunk_info->datalen = psf->rchunks.chunks [indx].len ; in aiff_get_chunk_size()
1819 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in aiff_get_chunk_data()
1825 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ; in aiff_get_chunk_data()
1826 …memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_in… in aiff_get_chunk_data()
1829 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ; in aiff_get_chunk_data()
1830 …psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf)… in aiff_get_chunk_data()