From 6a4fd86a07ebe97c8067e0e732efc2f708a2c6a8 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 26 Jul 2023 19:51:33 +1200 Subject: Changed data buffer types for easier interop with other libraries --- example/saw_back.adb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/saw_back.adb') diff --git a/example/saw_back.adb b/example/saw_back.adb index 680a7a2..89f075d 100644 --- a/example/saw_back.adb +++ b/example/saw_back.adb @@ -7,17 +7,18 @@ with Ada.Text_IO, + Interfaces, Portaudio.Streams; use type - Portaudio.Streams.Float_32; + Interfaces.IEEE_Float_32; procedure Saw_Back is - Left_Phase, Right_Phase : Portaudio.Streams.Float_32 := 0.0; + Left_Phase, Right_Phase : Interfaces.IEEE_Float_32 := 0.0; function Saw_Callback -- cgit