Skip to content

Commit

Permalink
Update issue
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Oct 7, 2022
1 parent 2120b0a commit d866543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui_window_sponsor.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ extern "C" { // Prevents name mangling of functions
// Module Functions Declaration
//----------------------------------------------------------------------------------
GuiWindowSponsorState InitGuiWindowSponsor(void);
void GuiWindowSponsorAdd(Texture2D logo, const char *link);
void GuiWindowSponsor(GuiWindowSponsorState *state);
void GuiWindowSponsorAdd(GuiWindowSponsorState *state, Texture2D logo, const char *link);

#ifdef __cplusplus
}
Expand Down
4 changes: 2 additions & 2 deletions src/rfxgen.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ extern "C" { // Prevents name mangling of functions
RLAPI WaveParams LoadWaveParams(const char *fileName); // Load wave parameters from file
RLAPI void SaveWaveParams(WaveParams params, const char *fileName); // Save wave parameters to file
RLAPI void ResetWaveParams(WaveParams *params); // Reset wave parameters
RLAPI float *GenerateWave(WaveParams params, int *frameCount); // Generate wave data from parameters (32bit, mono)
RLAPI float *GenerateWave(WaveParams params, unsigned int *frameCount); // Generate wave data from parameters (32bit, mono)

// Sound generation functions
RLAPI WaveParams GenPickupCoin(void); // Generate sound: Pickup/Coin
Expand Down Expand Up @@ -263,7 +263,7 @@ RLAPI void ResetWaveParams(WaveParams *params)

// Generates new wave from wave parameters
// NOTE: By default wave is generated as 44100Hz, 32bit float, mono
RLAPI float *GenerateWave(WaveParams params, int *frameCount)
RLAPI float *GenerateWave(WaveParams params, unsigned int *frameCount)
{
#define RFXGEN_MAX_GEN_BUFFER_LENGTH 10 // Max length for generation buffer: 10 seconds

Expand Down

0 comments on commit d866543

Please sign in to comment.