Copyright © 2001-2019 MultiMedia Soft

TagsReader.ALL_AnalyzeSoundFile method

Previous pageReturn to chapter overviewNext page

Remarks

 

Analyzes a given sound file and, if any, determines the type of embedded tag(s) info.

 

For further details about methods related to tags reading refer to the TagsReader object.

For details about the reading of tags see the How to read TAG information in sound files tutorial.

 

 

Syntax

 

[Visual Basic]

control.TagsReader.ALL_AnalyzeSoundFile (

strPathname as String

) as enumTagAvailable


 

[C++]

short control.TagsReader.ALL_AnalyzeSoundFile (

string strPathname

);


 

Parameter

Description

 

 

strPathname

String representing the absolute pathname of the sound file to analyze for tags detection.

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

Other values

The combination of flags indicating which tags were detected inside the file under editing. Certain audio formats may contain more than one tag format; for example MP3 files may contain, inside the same file, tags in ID3V2, ID3V1 and LYRICS3 formats while WAV files may contain, inside the same file, CART and BEXT chunks.

 

The returned value can be a combination of the following flags:

Mnemonic Value

Decimal value

Hexadecimal value

Meaning

TAG_FLAG_NONE

0

0000

No tag detected or unknown format

TAG_FLAG_ID3V1

1

0001

ID3V1 tag is available

TAG_FLAG_ID3V2

2

0002

ID3V2 tag is available

TAG_FLAG_LYRICS3

4

0004

Lyrics3 tag is available

TAG_FLAG_OGG

8

0008

OGG Vorbis tag is available

TAG_FLAG_WMA

16

0010

Windows Media Audio tag is available

TAG_FLAG_MP4

32

0020

MP4 tag is available

TAG_FLAG_APE

64

0040

APE tag is available

TAG_FLAG_WAV_CART

128

0080

WAV Cart chunk is available

TAG_FLAG_FLAC

256

0100

FLAC tag is available

TAG_FLAG_WAV_BEXT

512

0200

WAV Bext chunk is available

TAG_FLAG_WAV_LIST_INFO

1024

0400

WAV LIST INFO chunk is available

TAG_FLAG_WAV_DISP

2048

0800

WAV DISP chunk is available