Lines Matching refs:cuesheet
519 FLAC__StreamMetadata *block, *blockcopy, *vorbiscomment, *cuesheet, *picture;
1633 cuesheet = FLAC__metadata_object_clone(block);
1634 if(0 == cuesheet) {
1638 if(!mutils__compare_block(cuesheet, block))
1642 cs_resize_(cuesheet, 2);
1643 printf("testing FLAC__metadata_object_cuesheet_resize_tracks(grow to %u)...", cuesheet->data.cue_sheet.num_tracks);
1644 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) {
1648 if(!mutils__compare_block(cuesheet, block))
1652 cs_resize_(cuesheet, 1);
1653 printf("testing FLAC__metadata_object_cuesheet_resize_tracks(shrink to %u)...", cuesheet->data.cue_sheet.num_tracks);
1654 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) {
1658 if(!mutils__compare_block(cuesheet, block))
1662 cs_resize_(cuesheet, 0);
1663 printf("testing FLAC__metadata_object_cuesheet_resize_tracks(shrink to %u)...", cuesheet->data.cue_sheet.num_tracks);
1664 if(!FLAC__metadata_object_cuesheet_resize_tracks(block, cuesheet->data.cue_sheet.num_tracks)) {
1668 if(!mutils__compare_block(cuesheet, block))
1673 cs_insert_new_(&track, cuesheet, 0, 0, 1, "ABCDE1234567", false, false);
1678 if(!mutils__compare_block(cuesheet, block))
1683 cs_insert_new_(&track, cuesheet, 0, 10, 2, "BBCDE1234567", false, false);
1688 if(!mutils__compare_block(cuesheet, block))
1693 cs_insert_new_(&track, cuesheet, 1, 20, 3, "CBCDE1234567", false, false);
1698 if(!mutils__compare_block(cuesheet, block))
1703 cs_insert_new_(&track, cuesheet, 3, 30, 4, "DBCDE1234567", false, false);
1708 if(!mutils__compare_block(cuesheet, block))
1713 cs_insert_new_(&track, cuesheet, 4, 0, 0, "\0\0\0\0\0\0\0\0\0\0\0\0", false, false);
1718 if(!mutils__compare_block(cuesheet, block))
1737 cs_delete_(cuesheet, 4);
1742 if(!mutils__compare_block(cuesheet, block))
1747 cs_delete_(cuesheet, 2);
1752 if(!mutils__compare_block(cuesheet, block))
1757 cs_delete_(cuesheet, 2);
1762 if(!mutils__compare_block(cuesheet, block))
1767 cs_delete_(cuesheet, 0);
1772 if(!mutils__compare_block(cuesheet, block))
1777 cs_set_new_(&track, cuesheet, 0, 40, 5, "EBCDE1234567", false, false);
1779 if(!mutils__compare_block(cuesheet, block))
1783 tr_resize_(cuesheet, 0, 2);
1784 printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(grow to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices);
1785 if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) {
1789 if(!mutils__compare_block(cuesheet, block))
1793 tr_resize_(cuesheet, 0, 1);
1794 printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices);
1795 if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) {
1799 if(!mutils__compare_block(cuesheet, block))
1803 tr_resize_(cuesheet, 0, 0);
1804 printf("testing FLAC__metadata_object_cuesheet_track_resize_indices(shrink to %u)...", cuesheet->data.cue_sheet.tracks[0].num_indices);
1805 if(!FLAC__metadata_object_cuesheet_track_resize_indices(block, 0, cuesheet->data.cue_sheet.tracks[0].num_indices)) {
1809 if(!mutils__compare_block(cuesheet, block))
1816 tr_insert_new_(cuesheet, 0, 0, index);
1821 if(!mutils__compare_block(cuesheet, block))
1828 tr_insert_new_(cuesheet, 0, 0, index);
1833 if(!mutils__compare_block(cuesheet, block))
1840 tr_insert_new_(cuesheet, 0, 1, index);
1845 if(!mutils__compare_block(cuesheet, block))
1852 tr_insert_new_(cuesheet, 0, 3, index);
1857 if(!mutils__compare_block(cuesheet, block))
1864 tr_insert_new_(cuesheet, 0, 4, index);
1869 if(!mutils__compare_block(cuesheet, block))
1888 tr_delete_(cuesheet, 0, 4);
1893 if(!mutils__compare_block(cuesheet, block))
1898 tr_delete_(cuesheet, 0, 2);
1903 if(!mutils__compare_block(cuesheet, block))
1908 tr_delete_(cuesheet, 0, 2);
1913 if(!mutils__compare_block(cuesheet, block))
1918 tr_delete_(cuesheet, 0, 0);
1923 if(!mutils__compare_block(cuesheet, block))
1928 FLAC__metadata_object_delete(cuesheet);
1942 cuesheet = FLAC__metadata_object_clone(block);
1943 if(0 == cuesheet) {
1947 if(!mutils__compare_block(cuesheet, block))
1952 cs_insert_new_(&track, cuesheet, 0, 60, 7, "GBCDE1234567", false, false);
1958 if(!mutils__compare_block(cuesheet, block))
1963 cs_insert_new_(&track, cuesheet, 0, 70, 8, "HBCDE1234567", false, false);
1969 if(!mutils__compare_block(cuesheet, block))
1974 cs_insert_new_(&track, cuesheet, 1, 80, 9, "IBCDE1234567", false, false);
1980 if(!mutils__compare_block(cuesheet, block))
1985 cs_insert_new_(&track, cuesheet, 3, 90, 10, "JBCDE1234567", false, false);
1991 if(!mutils__compare_block(cuesheet, block))
1996 cs_delete_(cuesheet, 2);
2001 if(!mutils__compare_block(cuesheet, block))
2006 cs_delete_(cuesheet, 2);
2011 if(!mutils__compare_block(cuesheet, block))
2016 cs_delete_(cuesheet, 0);
2021 if(!mutils__compare_block(cuesheet, block))
2026 cs_set_new_(&track, cuesheet, 0, 100, 11, "KBCDE1234567", false, false);
2029 if(!mutils__compare_block(cuesheet, block))
2044 FLAC__metadata_object_delete(cuesheet);