Wave functions...
This commit is contained in:
parent
33814ee16e
commit
2c821a60be
57
raylib.ads
57
raylib.ads
@ -3807,31 +3807,46 @@ package Raylib is
|
|||||||
Import => True,
|
Import => True,
|
||||||
Convention => C,
|
Convention => C,
|
||||||
External_Name => "SetSoundPan";
|
External_Name => "SetSoundPan";
|
||||||
################################################################
|
|
||||||
--~function Wave WaveCopy (Wave wave) with
|
|
||||||
--~Import => True,
|
|
||||||
--~Convention => C,
|
|
||||||
--~External_Name => "";
|
|
||||||
|
|
||||||
--~procedure WaveCrop (Wave *wave, int initSample, int finalSample) with
|
function Wave_Copy (
|
||||||
--~Import => True,
|
Data : Wave := No_Wave
|
||||||
--~Convention => C,
|
) return Wave with
|
||||||
--~External_Name => "";
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "WaveCopy";
|
||||||
|
|
||||||
--~procedure WaveFormat (Wave *wave, int sampleRate, int sampleSize, int channels) with
|
procedure Wave_Crop (
|
||||||
--~Import => True,
|
Data : access Wave := null;
|
||||||
--~Convention => C,
|
First_Sample : Integer := 0;
|
||||||
--~External_Name => "";
|
Final_Sample : Integer := 0
|
||||||
|
) with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "WaveCrop";
|
||||||
|
|
||||||
--~function float *LoadWaveSamples (Wave wave) with
|
procedure Wave_Format (
|
||||||
--~Import => True,
|
Data : access Wave := null;
|
||||||
--~Convention => C,
|
Sample_Rate : Integer := 0;
|
||||||
--~External_Name => "";
|
Sample_Size : Integer := 0;
|
||||||
|
Channels : Integer := 0
|
||||||
|
) with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "WaveFormat";
|
||||||
|
|
||||||
--~procedure UnloadWaveSamples (float *samples) with
|
function Load_Wave_Samples (
|
||||||
--~Import => True,
|
Data : Wave := No_Wave
|
||||||
--~Convention => C,
|
) return access Float with
|
||||||
--~External_Name => "";
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "LoadWaveSamples";
|
||||||
|
|
||||||
|
procedure Unload_Wave_Samples (
|
||||||
|
Samples : access Float := null
|
||||||
|
) with
|
||||||
|
Import => True,
|
||||||
|
Convention => C,
|
||||||
|
External_Name => "UnloadWaveSamples";
|
||||||
|
|
||||||
--~function Music LoadMusicStream (const char *fileName) with
|
--~function Music LoadMusicStream (const char *fileName) with
|
||||||
--~Import => True,
|
--~Import => True,
|
||||||
|
Loading…
Reference in New Issue
Block a user