summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorRay <[email protected]>2022-08-02 10:22:17 +0200
committerRay <[email protected]>2022-08-02 10:22:17 +0200
commitc457835938257ecf83e144a5be7e1b03b977a8a4 (patch)
tree0b9f6fedf10264b16b743d6bf040ea349bcc0b51 /examples
parentd68ddda766fb5330619fa1b3ba25eab621f07c0a (diff)
downloadraylib-c457835938257ecf83e144a5be7e1b03b977a8a4.tar.gz
raylib-c457835938257ecf83e144a5be7e1b03b977a8a4.zip
Update audio_raw_stream.c
Diffstat (limited to 'examples')
-rw-r--r--examples/audio/audio_raw_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/audio/audio_raw_stream.c b/examples/audio/audio_raw_stream.c
index 95c20ddb..cab69b1a 100644
--- a/examples/audio/audio_raw_stream.c
+++ b/examples/audio/audio_raw_stream.c
@@ -125,7 +125,7 @@ int main(void)
if (frequency != oldFrequency)
{
// Compute wavelength. Limit size in both directions.
- int oldWavelength = waveLength;
+ //int oldWavelength = waveLength;
waveLength = (int)(22050/frequency);
if (waveLength > MAX_SAMPLES/2) waveLength = MAX_SAMPLES/2;
if (waveLength < 1) waveLength = 1;