summaryrefslogtreecommitdiffstats
path: root/src/object.c
blob: 7aaaa6e0948c94fc565ebebc67c72a61f8bf7823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <xas/object.h>

int xas_object_start(xas_object *object) {
    return object->start(object);
}

int xas_object_stop(xas_object *object) {
    return object->stop(object);
}

int xas_object_set_gain(xas_object *object, float gain) {
    return object->set_gain(object, gain);
}

xas_audio_stream *xas_object_stream_new(xas_object *object) {
    return object->stream_new(object);
}

void xas_object_destroy(xas_object *object) {
    object->destroy(object);
}