[renamed] cdtext_languages_available to cdtext_list_languages
[fixed] C++ CD-Text API [fixed] C++ CD-Text example
This commit is contained in:
@@ -170,13 +170,18 @@ bool isDiscmodeDvd (discmode_t discmode)
|
||||
}
|
||||
|
||||
/*!
|
||||
* Get CD-Text information for a CdIo_t object.
|
||||
*
|
||||
* @return the CD-Text object or NULL if obj is NULL
|
||||
* or CD-Text information does not exist.
|
||||
* */
|
||||
cdtext_t *getCdtext ()
|
||||
Get CD-Text information for a CdIo_t object.
|
||||
|
||||
@return the CD-Text object or NULL if obj is NULL
|
||||
or CD-Text information does not exist.
|
||||
*/
|
||||
CdioCDText *getCdtext ()
|
||||
{
|
||||
return cdio_get_cdtext (p_cdio);
|
||||
cdtext_t *cdtext = cdio_get_cdtext (p_cdio);
|
||||
|
||||
if (NULL == cdtext)
|
||||
return (CdioCDText *) NULL;
|
||||
else
|
||||
return new CdioCDText(cdtext);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user