30 #if defined HAVE_CONFIG_H
86 size_t numRemoved = 0;
89 while ((frame = tag.
Find(
id)) !=
NULL)
113 frame->GetField(
ID3FN_TEXT)->Set(text.c_str());
144 size_t numRemoved = 0;
261 ID3D_NOTICE(
"id3::v2::setComment: trying to find frame with description = " << desc );
276 ID3D_NOTICE(
"id3::v2::setComment: found frame with description = " << desc );
284 ID3D_NOTICE(
"id3::v2::setComment: creating new comment frame" );
290 ID3D_WARNING(
"id3::v2::setComment: ack! no frame" );
296 frame->GetField(
ID3FN_TEXT)->Set(text.c_str());
311 size_t numRemoved = 0;
353 return ::atoi(sTrack.c_str());
359 String track =
toString((
size_t)trk);
391 size_t ulGenre = 0xFF;
392 size_t size = sGenre.size();
397 if (i < size && size && sGenre[i] ==
'(')
400 while (i < size && isdigit(sGenre[i]))
404 if (i < size && sGenre[i] ==
')')
407 ulGenre =
min(0xFF, atoi(&sGenre[1]));
468 frame->GetField(
ID3FN_TEXT)->Set(text.c_str());
522 frame->GetField(
ID3FN_DATA)->Set(data.data(), data.size());
537 return BString(reinterpret_cast<const BString::value_type *>(fld->
GetRawBinary()), fld->
Size());