TagsEditor.WAV_CartChunkTimeMarkerFieldSet method |
|
Remarks
Modifies a time marker field of the CART chunk. Existing time markers can be obtained through the TagsEditor.WAV_CartChunkTimeMarkerFieldGet method.
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.WAV_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 WAV_CartChunkTimeMarkerFieldSet ( nFieldId as enumCartChunkTimeMarkerField, strFourccId as String nPositionInSamples as Int32 ) as enumErrorCodes |
[C#] public enumErrorCodes WAV_CartChunkTimeMarkerFieldSet ( enumCartChunkTimeMarkerField nFieldId, string strFourccId, Int32 nPositionInSamples ); |
[C++] public: enumErrorCodes WAV_CartChunkTimeMarkerFieldSet ( enumCartChunkTimeMarkerField nFieldId, string strFourccId, Int32 nPositionInSamples ); |
Parameter |
Description |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nFieldId |
Identifier of the field to get. Supported values are the following:
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
strFourccId |
String of 4 characters (also known as FOURCC) containing the identifier of the time marker. The following table summarizes the basic timer types:
(*) You can define your own timer ID by replacing the XXX with other ASCII characters. (**) Timers may be qualified in one of following ways:
NOTE: Whatever category of timer you choose, it's recommended that the string is exactly 4 characters long: if the identifier should be shorter, pad missing characters with blanks. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
nPositionInSamples |
Value representing the time marker position expressed in samples. |
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. |