summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
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