summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/object.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c
index 55ea4af..f97deca 100644
--- a/src/object.c
+++ b/src/object.c
@@ -1,9 +1,13 @@
#include <xas/object.h>
int xas_object_start(xas_object *object) {
- object->start(object);
+ return object->start(object);
}
int xas_object_stop(xas_object *object) {
- object->stop(object);
+ return object->stop(object);
+}
+
+int xas_object_set_gain(xas_object *object, float gain) {
+ return object->set_gain(object, gain);
}