Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents  
 
GetMp3Tag1Field method 
 
Remarks 
 
Retrieves the specified field of a ID3 tag (version 1.x) for the loaded sound. 
 
The availability of this information requires a prior call to the ReadSoundInfo method. 
 
Details about the use of Tags can be found inside the How to retrieve Tag information section. 
 
 
Syntax 
 
[Visual Basic] 
control.GetMp3Tag1Field
nPlayer as Integer
iField as enumTag1Fields 
) as String
 
[C++] 
LPCTSTR control.GetMp3Tag1Field
short nPlayer
short iField 
);
 
 
Parameter
Description
 
 
nPlayer
Number representing the zero-based index of the player whose information must be retrieved
iField
Number representing the zero-based index of the field that must be retrieved. 
Supported values are the following: 
Mnemonic constant
Value
Meaning
TAG1FIELD_TITLE
0
Title
TAG1FIELD_ARTIST
1
Artist
TAG1FIELD_ALBUM
2
Album
TAG1FIELD_YEAR
3
Year
TAG1FIELD_COMMENT
4
Comment
TAG1FIELD_TRACK
5
Track number
TAG1FIELD_GENRE_CODE
6
Genre code
TAG1FIELD_GENRE_STRING
7
Genre
 
 
Return value 
 
Value
Meaning
 
 
Empty string
The information was not available or an error occurred (see the LastError property for further error details)
Valid string
The content of the requested tag field  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2001-2008 MultiMedia Soft 
Return to Table of contents