Skip to content

Commit

Permalink
Fix AudioStream
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Sep 18, 2024
1 parent 516680c commit 7a02db2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions libraries/raylib5.c3l/raylib.c3i
Original file line number Diff line number Diff line change
Expand Up @@ -302,17 +302,20 @@ struct Wave
}

def AudioBufferRef = void*;
def AudioProcessorRef = void*;

// AudioStream, custom audio stream
struct AudioStream
{
AudioBufferRef buffer; // Pointer to internal data used by the audio system
AudioBufferRef buffer; // Pointer to internal data used by the audio system
AudioProcessorRef processor; // Pointer to internal data processor, useful for audio effects

uint sampleRate; // Frequency (samples per second)
uint sampleSize; // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
uint channels; // Number of channels (1-mono, 2-stereo, ...)
uint sampleRate; // Frequency (samples per second)
uint sampleSize; // Bit depth (bits per sample): 8, 16, 32 (24 not supported)
uint channels; // Number of channels (1-mono, 2-stereo, ...)
}


// Sound
struct Sound
{
Expand Down

0 comments on commit 7a02db2

Please sign in to comment.