summaryrefslogtreecommitdiff
path: root/example/read_example.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2023-07-26 16:43:15 +1200
committerJedidiah Barber <contact@jedbarber.id.au>2023-07-26 16:43:15 +1200
commit79c1381d198f5b4ae1b75210971a8ccea1049bad (patch)
tree05d9565ce5ec6327520de6e8d37470aa7b982fd2 /example/read_example.adb
parenta0ff8c910377207db64d4c7d5eaa76130f41f5f5 (diff)
File_Info now a tagged type for ease of useHEADmaster
Diffstat (limited to 'example/read_example.adb')
-rw-r--r--example/read_example.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/read_example.adb b/example/read_example.adb
index 33b2d7a..719e7ec 100644
--- a/example/read_example.adb
+++ b/example/read_example.adb
@@ -52,7 +52,7 @@ begin
TIO.New_Line;
declare
- Channel_Count : Natural := Libsndfile.Channels (My_Info);
+ Channel_Count : Natural := My_Info.Channels;
Test_Frames : Libsndfile.Count_Type := 5;
My_Shorts : Libsndfile.Short_Data (1 .. Natural (Test_Frames) * Channel_Count);