TagInfoAddToRecSession method |
|
Remarks
Allows adding basic tag information to the next recording session.
This method is effective only with recording sessions performed through external encoders so it currently works only with MP3, Ogg Vorbis, MP4 and WMA; other formats will ignore this setting. In order to reset contents and to avoid adding tag information to the next recording session, set all the string to empty; no check is performed over string contents and size.
When the output format is MP4, don't forget to set the EncodeFormats.AAC.WrapInMP4 property to "true" because tag information cannot be stored inside AAC format directly but there is the need to wrap the AAC compressed file inside a MP4 container.
Syntax
[Visual Basic] control.TagInfoAddToRecSession ( strAuthor as String, strTitle as String, strAlbum as String, strYear as String ) as enumErrorCodes |
[C++] short control.TagInfoAddToRecSession ( LPCTSTR strAuthor, LPCTSTR strTitle, LPCTSTR strAlbum, LPCTSTR strYear ); |
Parameter |
Description |
|
|
strAuthor |
String containing the author name |
strTitle |
String containing the sound title |
strAlbum |
String containing the album title |
strYear |
String containing the year |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to see the error code meaning |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |