• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/flac/src/libFLAC/

Lines Matching refs:comment_num

1208 FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_set_comment(FLAC__StreamMetadata *object, unsigned comment_num, FLAC__StreamMetadata_VorbisComment_Entry entry, FLAC__bool copy)
1211 FLAC__ASSERT(comment_num < object->data.vorbis_comment.num_comments);
1215 return vorbiscomment_set_entry_(object, &object->data.vorbis_comment.comments[comment_num], &entry, copy);
1218 FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_insert_comment(FLAC__StreamMetadata *object, unsigned comment_num, FLAC__StreamMetadata_VorbisComment_Entry entry, FLAC__bool copy)
1224 FLAC__ASSERT(comment_num <= object->data.vorbis_comment.num_comments);
1234 /* move all comments >= comment_num forward one space */
1235 memmove(&vc->comments[comment_num+1], &vc->comments[comment_num], sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(vc->num_comments-1-comment_num));
1236 vc->comments[comment_num].length = 0;
1237 vc->comments[comment_num].entry = 0;
1239 return FLAC__metadata_object_vorbiscomment_set_comment(object, comment_num, entry, copy);
1289 FLAC_API FLAC__bool FLAC__metadata_object_vorbiscomment_delete_comment(FLAC__StreamMetadata *object, unsigned comment_num)
1295 FLAC__ASSERT(comment_num < object->data.vorbis_comment.num_comments);
1299 /* free the comment at comment_num */
1300 if(0 != vc->comments[comment_num].entry)
1301 free(vc->comments[comment_num].entry);
1303 /* move all comments > comment_num backward one space */
1304 memmove(&vc->comments[comment_num], &vc->comments[comment_num+1], sizeof(FLAC__StreamMetadata_VorbisComment_Entry)*(vc->num_comments-comment_num-1));