From 7749a2805c0f28762c206da0b7c954cbe9e318e2 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 25 Aug 2021 00:51:37 +0200 Subject: UPDATED: raygui to latest version -WIP- Note this new raygui version embeds ricons and `GuiTextBoxMulti()` is not working properly --- examples/others/embedded_files_loading.c | 2 +- examples/others/resources/audio_data.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/others/embedded_files_loading.c b/examples/others/embedded_files_loading.c index 60a2a6f0..5923a9ac 100644 --- a/examples/others/embedded_files_loading.c +++ b/examples/others/embedded_files_loading.c @@ -31,7 +31,7 @@ int main(void) // Same as: Wave wave = LoadWave("sound.wav"); Wave wave = { .data = AUDIO_DATA, - .sampleCount = AUDIO_SAMPLE_COUNT, + .frameCount = AUDIO_FRAME_COUNT, .sampleRate = AUDIO_SAMPLE_RATE, .sampleSize = AUDIO_SAMPLE_SIZE, .channels = AUDIO_CHANNELS diff --git a/examples/others/resources/audio_data.h b/examples/others/resources/audio_data.h index abf344f3..22cdacc7 100644 --- a/examples/others/resources/audio_data.h +++ b/examples/others/resources/audio_data.h @@ -11,7 +11,7 @@ ////////////////////////////////////////////////////////////////////////////////// // Wave data information -#define AUDIO_SAMPLE_COUNT 24367 +#define AUDIO_FRAME_COUNT 24367 #define AUDIO_SAMPLE_RATE 44100 #define AUDIO_SAMPLE_SIZE 32 #define AUDIO_CHANNELS 1 -- cgit v1.2.3