TagsEditor.ID3V2_EventTimingsFrameEventAdd method |
|
Remarks
Adds a new timing event, also known as "cue point", to insert inside the event timing frame (ETCO) of the ID3V2 tag.
The modification only happens in memory and not directly into the original sound file: in order to store modifications inside the file you need to call the TagsEditor.ID3V2_SaveChanges method.
For further details about methods related to tags editing refer to the TagsEditorMan class.
For details about the editing of tags see the How to edit tag info in sound files tutorial.
Syntax
[Visual Basic] Public Function ID3V2_EventTimingsFrameEventAdd ( nEventTimingType as enumId3v2EventTimingTypes, nPositionInMs as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes ID3V2_EventTimingsFrameEventAdd ( enumId3v2EventTimingTypes nEventTimingType, nPositionInMs nIndex ); |
[C++] public: enumErrorCodes ID3V2_EventTimingsFrameEventAdd ( enumId3v2EventTimingTypes nEventTimingType, nPositionInMs nIndex ); |
Parameter |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nEventTimingType |
Value representing the type of event timing. The value can be in the range from 0 to 254; some value is already predefined by the ID3V2 standard, other are reserved for future uses.
Supported predefined values are the following:
Not predefined values and/or reserved for future uses are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nPositionInMs |
Position of the event timing expressed in milliseconds. NOTE: Although the ID3V2 standard supports positions expressed in frames, this version of the component only allows entering the position in milliseconds. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.ERR_NOERROR (0) |
The method call was successful. |