summaryrefslogtreecommitdiff
path: root/readme.txt
blob: a0a32337b3adce693abe83529adb624b8d6eba07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54


libao Binding for the Ada Programming Language
==============================================


Overview
--------

This a thick binding, so the rough edges of C have all been filed off. In
particular ao_option/Option_List objects are automatically deallocated when
they go out of scope, and any remaining open ao_device/Device objects are
automatically closed when libao is shut down.


Dependencies
------------

GNAT (build)
gprbuild (build)
libao (run)


Build Instructions
------------------

Ensure that all dependencies are installed, including any developer or header
packages for libao. Then the following commands will build and install the
binding:

    gprbuild aao.gpr
    gprinstall -p -m aao.gpr

The other gpr file, example.gpr, can be used to build the short example
programs provided.


Further Information
-------------------

API of libao:
https://xiph.org/ao/doc/libao-api.html


Credits and Legal
-----------------

This binding and the short Ada example were written by Jedidiah Barber.

The short C example program was written by Stan Seibert.

All code is released into the public domain.