diff options
author | Jedidiah Barber <contact@jedbarber.id.au> | 2023-07-18 00:05:43 +1200 |
---|---|---|
committer | Jedidiah Barber <contact@jedbarber.id.au> | 2023-07-18 00:05:43 +1200 |
commit | c36d37880986f734a69086b28ac6f0e9df7babab (patch) | |
tree | 2c495b569ba11863dc88a615d2faf93cf9c1f7f1 /example/aao_example.adb | |
parent | 74af58587359206ef92249d18e4830c40cac0bc5 (diff) |
Removed need for initialize/shutdown, improved documentation slightly
Diffstat (limited to 'example/aao_example.adb')
-rw-r--r-- | example/aao_example.adb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/example/aao_example.adb b/example/aao_example.adb index 7d12b56..fd32e38 100644 --- a/example/aao_example.adb +++ b/example/aao_example.adb @@ -27,12 +27,9 @@ procedure AAO_Example is begin - -- Initialize TIO.Put_Line ("libao example program"); - Libao.Startup; - -- Setup for default driver @@ -89,12 +86,11 @@ begin -- Close and shutdown - -- Technically the binding will take care of closing open devices at shutdown, - -- but it is always good practice to close them anyway. + -- Technically the binding will take care of closing open devices at the + -- end of runtime, but it is always good practice to close them anyway. Libao.Close (My_Device); - Libao.Shutdown; end AAO_Example; |