summaryrefslogtreecommitdiff
path: root/src/c_aao.h
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2023-07-18 01:47:26 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2023-07-18 01:47:26 +1200
commitbaac81253b3cc2e3addbbe6e90ec2a7abb5d56fd (patch)
tree88cb63624bcae8f944d670640094873a55610823 /src/c_aao.h
parentc36d37880986f734a69086b28ac6f0e9df7babab (diff)
Code cleanup, slight API improvement
Diffstat (limited to 'src/c_aao.h')
-rw-r--r--src/c_aao.h33
1 files changed, 17 insertions, 16 deletions
diff --git a/src/c_aao.h b/src/c_aao.h
index d0a23a4..81f61ff 100644
--- a/src/c_aao.h
+++ b/src/c_aao.h
@@ -10,22 +10,23 @@
#include <ao/ao.h>
-int type_live();
-int type_file();
-
-int sample_little_endian();
-int sample_big_endian();
-int sample_native_endian();
-
-int error_no_driver();
-int error_not_file();
-int error_not_live();
-int error_bad_option();
-int error_open_device();
-int error_open_file();
-int error_file_exists();
-int error_bad_format();
-int error_fail();
+extern const int type_live;
+extern const int type_file;
+
+extern const int sample_little_endian;
+extern const int sample_big_endian;
+extern const int sample_native_endian;
+
+extern const int error_no_driver;
+extern const int error_not_file;
+extern const int error_not_live;
+extern const int error_bad_option;
+extern const int error_open_device;
+extern const int error_open_file;
+extern const int error_file_exists;
+extern const int error_bad_format;
+extern const int error_fail;
+
ao_info * info_item_get(ao_info ** items, int n);