• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/flac-1.2.1/src/test_libFLAC/

Lines Matching refs:vorbis_comment

183 	const FLAC__StreamMetadata_VorbisComment *vc = &block->data.vorbis_comment;
197 FLAC__StreamMetadata_VorbisComment *vc = &block->data.vorbis_comment;
230 for(i = start; i < block->data.vorbis_comment.num_comments; i++) {
231 const FLAC__StreamMetadata_VorbisComment_Entry *entry = &block->data.vorbis_comment.comments[i];
240 if(0 != block->data.vorbis_comment.vendor_string.entry)
241 free(block->data.vorbis_comment.vendor_string.entry);
243 block->data.vorbis_comment.vendor_string = *entry;
249 if(0 != block->data.vorbis_comment.comments[pos].entry)
250 free(block->data.vorbis_comment.comments[pos].entry);
252 block->data.vorbis_comment.comments[pos] = *entry;
258 vc_resize_(block, block->data.vorbis_comment.num_comments+1);
259 memmove(&block->data.vorbis_comment.comments[pos+1], &block->data.vorbis_comment.comments[pos], sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(block->data.vorbis_comment.num_comments-1-pos));
260 memset(&block->data.vorbis_comment.comments[pos], 0, sizeof(FLAC__StreamMetadata_VorbisComment_Entry));
267 if(0 != block->data.vorbis_comment.comments[pos].entry)
268 free(block->data.vorbis_comment.comments[pos].entry);
269 memmove(&block->data.vorbis_comment.comments[pos], &block->data.vorbis_comment.comments[pos+1], sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(block->data.vorbis_comment.num_comments-pos-1));
270 block->data.vorbis_comment.comments[block->data.vorbis_comment.num_comments-1].entry = 0;
271 block->data.vorbis_comment.comments[block->data.vorbis_comment.num_comments-1].length = 0;
272 vc_resize_(block, block->data.vorbis_comment.num_comments-1);
287 vc_insert_new_(entry, block, block->data.vorbis_comment.num_comments, field);
291 for(index = index+1; index >= 0 && (unsigned)index < block->data.vorbis_comment.num_comments; )
1034 printf("testing FLAC__metadata_object_vorbiscomment_resize_comments(grow to %u)...", vorbiscomment->data.vorbis_comment.num_comments);
1035 if(!FLAC__metadata_object_vorbiscomment_resize_comments(block, vorbiscomment->data.vorbis_comment.num_comments)) {
1044 printf("testing FLAC__metadata_object_vorbiscomment_resize_comments(shrink to %u)...", vorbiscomment->data.vorbis_comment.num_comments);
1045 if(!FLAC__metadata_object_vorbiscomment_resize_comments(block, vorbiscomment->data.vorbis_comment.num_comments)) {
1054 printf("testing FLAC__metadata_object_vorbiscomment_resize_comments(shrink to %u)...", vorbiscomment->data.vorbis_comment.num_comments);
1055 if(!FLAC__metadata_object_vorbiscomment_resize_comments(block, vorbiscomment->data.vorbis_comment.num_comments)) {
1084 printf("testing FLAC__metadata_object_vorbiscomment_resize_comments(shrink to %u)...", vorbiscomment->data.vorbis_comment.num_comments);
1085 if(!FLAC__metadata_object_vorbiscomment_resize_comments(block, vorbiscomment->data.vorbis_comment.num_comments)) {
1203 if(block->data.vorbis_comment.num_comments != 6) {
1204 printf("FAILED, expected 6 comments, got %u\n", block->data.vorbis_comment.num_comments);
1217 if(block->data.vorbis_comment.num_comments != 4) {
1218 printf("FAILED, expected 4 comments, got %u\n", block->data.vorbis_comment.num_comments);
1302 if(block->data.vorbis_comment.num_comments != 4) {
1303 printf("FAILED, expected 4 comments, got %u\n", block->data.vorbis_comment.num_comments);
1316 if(block->data.vorbis_comment.num_comments != 3) {
1317 printf("FAILED, expected 3 comments, got %u\n", block->data.vorbis_comment.num_comments);
1329 if(block->data.vorbis_comment.num_comments != 3) {
1330 printf("FAILED, expected 3 comments, got %u\n", block->data.vorbis_comment.num_comments);
1344 if(block->data.vorbis_comment.num_comments != 1) {
1345 printf("FAILED, expected 1 comments, got %u\n", block->data.vorbis_comment.num_comments);
1510 if(block->data.vorbis_comment.num_comments != 6) {
1511 printf("FAILED, expected 6 comments, got %u\n", block->data.vorbis_comment.num_comments);
1525 if(block->data.vorbis_comment.num_comments != 4) {
1526 printf("FAILED, expected 4 comments, got %u\n", block->data.vorbis_comment.num_comments);