Copyright © 2008-2018 MultiMedia Soft

TagsEditor.WAV_BextChunkBinaryFieldSet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Writes a binary field of the WAV 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 TagsEditor object.

For details about the editing of tags see the How to edit tag info in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.TagsEditor.WAV_BextChunkBinaryFieldSet (

nFieldId as enumBextChunkBinaryField,

pBuffer as variant,

nBufferLen as long

) as enumErrorCodes


 

[C++]

short control.TagsEditor.WAV_BextChunkBinaryFieldSet (

short nFieldId,

const VARIANT FAR& pBuffer,

long nBufferLen

);


 

 

Parameter

Description

 

 

nFieldId

Identifier of the binary field to read.

Supported values are the following:

Mnemonic Value

Value

Meaning

WAV_BEXT_CHUNK_BIN_UMID_0

0

Binary bytes of SMPTE UMID

WAV_BEXT_CHUNK_BIN_Reserved

1

Reserved for future expansion

pBuffer

Input buffer containing binary data to write inside the requested field.

nBufferLength

The size of the buffer expressed in bytes.

 

 

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.