# API documentation for libmpg123, libout123, and libsyn123

Note: This API doc is automatically generated from the current development version that you can get via Subversion or as a daily snapshot from http://mpg123.org/snapshot. There may be differences (additions) compared to the latest stable release. See NEWS.libmpg123, NEWS.libout123, NEWS.libsyn123, and the overall NEWS file on libmpg123 versions and important changes between them.
Let me emphasize that the policy for the lib*123 family is to always stay backwards compatible -- only additions are planned (and it's not yet planned to change the plans;-).
Public Attributes | List of all members
mpg123_text Struct Reference
mpg123 metadata handling

`#include <mpg123.h>`

## Public Attributes
char | lang [3]
char | id [4]
mpg123_string | description
mpg123_string | text

## Detailed Description

Sub data structure for ID3v2, for storing various text fields (including comments). This is for ID3v2 COMM, TXXX and all the other text fields. Only COMM, TXXX and USLT may have a description, only COMM and USLT have a language. You should consult the ID3v2 specification for the use of the various text fields ("frames" in ID3v2 documentation, I use "fields" here to separate from MPEG frames).

Definition at line 1963 of file mpg123.h.

## Member Data Documentation

## ◆ lang

char mpg123_text::lang[3]

Three-letter language code (not terminated).

Definition at line 1965 of file mpg123.h.

## ◆ id

char mpg123_text::id[4]

The ID3v2 text field id, like TALB, TPE2, ... (4 characters, no string termination).

Definition at line 1966 of file mpg123.h.

## ◆ description

mpg123_string mpg123_text::description

Empty for the generic comment...

Definition at line 1967 of file mpg123.h.

## ◆ text

mpg123_string mpg123_text::text

...

Definition at line 1968 of file mpg123.h.

The documentation for this struct was generated from the following file:

- mpg123.h