summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-16 00:26:47 -0400
committerXANTRONIX Development2022-03-16 00:26:47 -0400
commitafbcc80972c175003d51c7a87015d597257efbbe (patch)
treebd434ec5e511073ce52ef19209a27935d334fb8f /src
parente8eeaba4104c7dd66a10c0bdc39559a5c6634db0 (diff)
downloadxas-afbcc80972c175003d51c7a87015d597257efbbe.tar.gz
xas-afbcc80972c175003d51c7a87015d597257efbbe.tar.bz2
xas-afbcc80972c175003d51c7a87015d597257efbbe.zip
Rename xas_object_set_bank() to set_entry()
Diffstat (limited to 'src')
-rw-r--r--src/object.c6
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) {