Home
last modified time | relevance | path

Searched refs:cue_count (Results 1 - 9 of 9) sorted by relevance

/third_party/libsnd/tests/
H A Dcue_test.c71 for (i = 0; i < info->cue_count; i++) in test_cues()
98 for (i = 0; i < info->cue_count; i++) in print_cues()
H A Dcommand_test.c875 printf ("W Cue count : %d\n", write_cue->cue_count) ; in cue_compare()
876 if (write_cue->cue_count > 0) in cue_compare()
878 if (write_cue->cue_count > 2) /* print last if at least 2 */ in cue_compare()
879 print_cue (write_cue, write_cue->cue_count - 1) ; in cue_compare()
881 printf ("R Cue count : %d\n", read_cue->cue_count) ; in cue_compare()
882 if (read_cue->cue_count > 0) in cue_compare()
884 if (read_cue->cue_count > 2) /* print last if at least 2 */ in cue_compare()
885 print_cue (read_cue, read_cue->cue_count - 1) ; in cue_compare()
903 sf_command (sndfile, SFC_GET_CUE_COUNT, &cues.cue_count, sizeof (cues.cue_count)) ! in cue_rw_test()
[all...]
/third_party/libsnd/src/
H A Dcommon.c1308 ** Clang refuses to do sizeof (SF_CUES_VAR (cue_count)) so we have to manually
1325 psf_cues_alloc (uint32_t cue_count) in psf_cues_alloc() argument
1326 { SF_CUES *pcues = calloc (1, SF_CUES_VAR_SIZE (cue_count)) ; in psf_cues_alloc()
1328 { pcues->cue_count = cue_count ; in psf_cues_alloc()
1338 if (pcues->cue_count <= SF_CUES_COUNT (datasize)) in psf_cues_dup()
1339 { /* check that passed-in datasize is consistent with cue_count in passed-in SF_CUES struct */ in psf_cues_dup()
1340 pnew = psf_cues_alloc (pcues->cue_count) ; in psf_cues_dup()
1341 memcpy (pnew, pcues, SF_CUES_VAR_SIZE (pcues->cue_count)) ; in psf_cues_dup()
1351 { uint32_t cue_count in psf_get_cues() local
[all...]
H A Dwav.c485 { uint32_t thisread, bytesread, cue_count, position, offset ; in wav_read_header() local
488 bytesread = psf_binheader_readf (psf, "4", &cue_count) ; in wav_read_header()
491 if (cue_count > 2500) /* 2500 is close to the largest number of cues possible because of block sizes */ in wav_read_header()
492 { psf_log_printf (psf, " Count : %u (skipping)\n", cue_count) ; in wav_read_header()
497 psf_log_printf (psf, " Count : %d\n", cue_count) ; in wav_read_header()
504 if ((psf->cues = psf_cues_alloc (cue_count)) == NULL) in wav_read_header()
509 while (cue_count) in wav_read_header()
531 cue_count -- ; in wav_read_header()
1214 psf_binheader_writef (psf, "em44", BHWm (cue_MARKER), BHW4 (4 + psf->cues->cue_count * 6 * 4), BHW4 (psf->cues->cue_count)) ; in wav_write_header()
[all...]
H A Daiff.c938 if (psf->cues->cue_count > (uint32_t) (psf->instrument->loop_count * 2)) in aiff_read_header()
941 for (j = 0 ; j < psf->cues->cue_count - (uint32_t) (psf->instrument->loop_count * 2) ; j ++) in aiff_read_header()
952 psf->cues->cue_count -= psf->instrument->loop_count * 2 ; in aiff_read_header()
1449 for (idx = 0 ; idx < psf->cues->cue_count ; idx++) in aiff_write_header()
1455 BHWm (MARK_MARKER), BHW4 (2 + psf->cues->cue_count * (2 + 4) + totalStringLength), BHW2 (psf->cues->cue_count)) ; in aiff_write_header()
1457 for (idx = 0 ; idx < psf->cues->cue_count ; idx++) in aiff_write_header()
H A Dcommon.h985 SF_CUES * psf_cues_alloc (uint32_t cue_count) ;
H A Dwavlike.c1065 while (i < psf->cues->cue_count && psf->cues->cue_points [i].indx != mark_id) in wavlike_subchunk_parse()
1068 if (i < psf->cues->cue_count) in wavlike_subchunk_parse()
H A Dsndfile.c1365 { *((uint32_t *) data) = psf->cues->cue_count ; in sf_command()
/third_party/libsnd/include/
H A Dsndfile.h452 { uint32_t cue_count ; \

Completed in 23 milliseconds