aboutsummaryrefslogtreecommitdiff
path: root/raylib.ads
diff options
context:
space:
mode:
authorxolatile2024-03-24 06:25:45 -0400
committerxolatile2024-03-24 06:25:45 -0400
commit33814ee16e0f171a2301f063eab6c32f07563325 (patch)
tree3f5598233ea4e635405a40a7f44c7df791f437df /raylib.ads
parent30e767bf936ceec47a2d940b831d9192db6859d9 (diff)
downloadxolatile-raylib-ada-33814ee16e0f171a2301f063eab6c32f07563325.tar.xz
xolatile-raylib-ada-33814ee16e0f171a2301f063eab6c32f07563325.tar.zst
Sound functions...
Diffstat (limited to 'raylib.ads')
-rw-r--r--raylib.ads45
1 files changed, 28 insertions, 17 deletions
diff --git a/raylib.ads b/raylib.ads
index fce9017..f9847cb 100644
--- a/raylib.ads
+++ b/raylib.ads
@@ -3777,26 +3777,37 @@ package Raylib is
Convention => C,
External_Name => "ResumeSound";
- --~function bool IsSoundPlaying (Sound sound) with
- --~Import => True,
- --~Convention => C,
- --~External_Name => "";
-
- --~procedure SetSoundVolume (Sound sound, float volume) with
- --~Import => True,
- --~Convention => C,
- --~External_Name => "";
+ function Is_Sound_Playing (
+ Data : Sound := No_Sound
+ ) return Logical with
+ Import => True,
+ Convention => C,
+ External_Name => "IsSoundPlaying";
- --~procedure SetSoundPitch (Sound sound, float pitch) with
- --~Import => True,
- --~Convention => C,
- --~External_Name => "";
+ procedure Set_Sound_Volume (
+ Data : Sound := No_Sound;
+ Volume : Float := 0.0
+ ) with
+ Import => True,
+ Convention => C,
+ External_Name => "SetSoundVolume";
- --~procedure SetSoundPan (Sound sound, float pan) with
- --~Import => True,
- --~Convention => C,
- --~External_Name => "";
+ procedure Set_Sound_Pitch (
+ Data : Sound := No_Sound;
+ Pitch : Float := 0.0
+ ) with
+ Import => True,
+ Convention => C,
+ External_Name => "SetSoundPitch";
+ procedure Set_Sound_Pan (
+ Data : Sound := No_Sound;
+ Pan : Float := 0.0
+ ) with
+ Import => True,
+ Convention => C,
+ External_Name => "SetSoundPan";
+################################################################
--~function Wave WaveCopy (Wave wave) with
--~Import => True,
--~Convention => C,