roar_vs_meta(3) | RoarAudio Programmer's Manual | roar_vs_meta(3) |
roar_vs_meta - Update meta data for a stream
#include <roaraudio.h>
int roar_vs_meta (roar_vs_t * vss, struct roar_keyval * kv, size_t len, int * error);
This function updates meta data of the stream. This should be done before any read or write operation and can be used at any time to update the meta data.
On success these calls return 0. On error, -1 is returned.
struct roar_keyval kv[2] = {
{.key = "TITLE", .value = "Some title"},
{.key = "ARTIST", .value = "Some artist"}
};
ret = roar_vs_meta(vss, &kv, 2, &err);
May 2011 | RoarAudio |