diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/object.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object.c b/src/object.c index 70271c1..3c8c84a 100644 --- a/src/object.c +++ b/src/object.c @@ -37,14 +37,14 @@ int xas_object_set_gain(xas_object *object, float gain) { return object->set_gain(object, gain); } -int xas_object_set_bank(xas_object *object, size_t bank) { - if (object->set_bank == NULL) { +int xas_object_set_entry(xas_object *object, size_t entry) { + if (object->set_entry == NULL) { errno = ENOSYS; return -1; } - return object->set_bank(object, bank); + return object->set_entry(object, entry); } int xas_object_set_freq(xas_object *object, size_t freq) { |