Copyright © 2008-2015 MultiMedia Soft

TagsEditor.WAV_CartChunkTextFieldSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Sets contents of a specific text-based field of the BEXT chunk. Current contents can be retrieved through the TagsEditor.WAV_BextChunkTextFieldGet 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_CartChunkTextFieldSet (

nFieldId as enumCartChunkField,

strText as String

) as enumErrorCodes


 

[C#]

public enumErrorCodes WAV_CartChunkTextFieldSet (

enumCartChunkField nFieldId,

string strText

);


 

[C++]

public: enumErrorCodes WAV_CartChunkTextFieldSet (

enumCartChunkField nFieldId,

string strText

);


 

Parameter

Description

 

 

nFieldId

Identifier of the field to set.

Supported values are the following:

Mnemonic Value

Value

Meaning

WAV_CART_CHUNK_TITLE

1

Title of cart audio sequence

WAV_CART_CHUNK_ARTIST

2

Artist or creator name

WAV_CART_CHUNK_CUTID

3

Cut number identification

WAV_CART_CHUNK_CLIENTID

4

Client identification

WAV_CART_CHUNK_CATEGORY

5

Category ID, PSA, NEWS, etc

WAV_CART_CHUNK_CLASSIFICATION

6

Classification or auxiliary key

WAV_CART_CHUNK_OUTCUE

7

Out cue text

WAV_CART_CHUNK_STARTDATE

8

Start date YYYY-MM-DD

WAV_CART_CHUNK_STARTTIME

9

Start time hh:mm:ss

WAV_CART_CHUNK_ENDDATE

10

End date YYYY-MM-DD

WAV_CART_CHUNK_ENDTIME

11

End time hh:mm:ss

WAV_CART_CHUNK_PRODUCERAPPID

12

Name of vendor or application

WAV_CART_CHUNK_PRODUCERAPPVERSION

13

Version of producer application

WAV_CART_CHUNK_USERDEF

14

User defined text

WAV_CART_CHUNK_LEVELREFERENCE

15

Sample value for 0 dB reference

WAV_CART_CHUNK_URL

16

Uniform resource locator

WAV_CART_CHUNK_TAGTEXT

17

Tag text

strText

String of text to enter inside the given field

 

 

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.