Skip to main content

cdtext_set

Function cdtext_set 

Source
pub unsafe extern "C" fn cdtext_set(
    p_cdtext: *mut cdtext_t,
    key: cdtext_field_t,
    value: *const u8,
    track: track_t,
    charset: *const c_char,
)
Expand description

Sets the given field at the given track to the given value.

Recodes to UTF-8 if charset is not \p NULL.

@param p_cdtext the CD-TEXT object @param key field to set @param value value to set @param track track to work on @param charset charset to convert from