summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2021-08-25 00:51:37 +0200
committerRay <[email protected]>2021-08-25 00:51:37 +0200
commit7749a2805c0f28762c206da0b7c954cbe9e318e2 (patch)
tree5cb240ae81532c960a157a60394c3e1cfb7780f3 /examples
parenta04dbe7ffd01701b810f317d1e5eda73c78f9789 (diff)
downloadraylib-7749a2805c0f28762c206da0b7c954cbe9e318e2.tar.gz
raylib-7749a2805c0f28762c206da0b7c954cbe9e318e2.zip
UPDATED: raygui to latest version -WIP-
Note this new raygui version embeds ricons and `GuiTextBoxMulti()` is not working properly
Diffstat (limited to 'examples')
-rw-r--r--examples/others/embedded_files_loading.c2
-rw-r--r--examples/others/resources/audio_data.h2
2 files changed, 2 insertions, 2 deletions
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