Lines Matching refs:cues
484 if (psf->cues) in wav_read_header()
485 { free (psf->cues) ; in wav_read_header()
486 psf->cues = NULL ; in wav_read_header()
489 if ((psf->cues = psf_cues_alloc (cue_count)) == NULL) in wav_read_header()
509 psf->cues->cue_points [cue_index].indx = id ; in wav_read_header()
510 psf->cues->cue_points [cue_index].position = position ; in wav_read_header()
511 psf->cues->cue_points [cue_index].fcc_chunk = chunk_id ; in wav_read_header()
512 psf->cues->cue_points [cue_index].chunk_start = chunk_start ; in wav_read_header()
513 psf->cues->cue_points [cue_index].block_start = block_start ; in wav_read_header()
514 psf->cues->cue_points [cue_index].sample_offset = offset ; in wav_read_header()
515 psf->cues->cue_points [cue_index].name [0] = '\0' ; in wav_read_header()
1130 if (psf->cues != NULL) in wav_write_header()
1133 …_writef (psf, "em44", BHWm (cue_MARKER), BHW4 (4 + psf->cues->cue_count * 6 * 4), BHW4 (psf->cues-… in wav_write_header()
1135 for (k = 0 ; k < psf->cues->cue_count ; k++) in wav_write_header()
1136 …psf_binheader_writef (psf, "e44m444", BHW4 (psf->cues->cue_points [k].indx), BHW4 (psf->cues->cue_… in wav_write_header()
1137 BHWm (psf->cues->cue_points [k].fcc_chunk), BHW4 (psf->cues->cue_points [k].chunk_start), in wav_write_header()
1138 … BHW4 (psf->cues->cue_points [k].block_start), BHW4 (psf->cues->cue_points [k].sample_offset)) ; in wav_write_header()