Skip to main content

cdtext_get_const

Function cdtext_get_const 

Source
pub unsafe extern "C" fn cdtext_get_const(
    p_cdtext: *const cdtext_t,
    field: cdtext_field_t,
    track: track_t,
) -> *const c_char
Expand description

Returns value of the given field.

NULL is returned if key is CDTEXT_INVALID or the field is not set. Strings are encoded in UTF-8.

@param p_cdtext the CD-TEXT object @param field type of the field to return @param track specifies the track, 0 stands for disc