* Add audio_raw_stream_callback.c
* Update audio_raw_stream_callback.c to more closely follow raylib coding conventions
* Remove spaces before asterisks in comments in audio_raw_stream_callback.c
* Put SetTargetFPS(30) before while(!WindowShouldClose()) in audio_raw_stream_callback.c
* Add audio_stream_callback.c
* Delete examples/audio/audio_raw_stream_callback.c
* Delete examples/audio/audio_raw_stream_callback.png
* Update audio_raw_stream.c to more closely follow raylib coding conventions
Drawing code wasn't tabbed in
* Remove screenshot code in audio_stream_callback.c
* Update raylib version and copyright year in audio_raw_stream.c
* Update audio_stream_callback.c
Used if instead of switch to compact code; seemed more readable in this case.
* Update audio_raw_stream.c
* Update audio_raw_stream.c to more closely follow raylib coding conventions
* Update audio_raw_stream.c to more closely follow raylib coding conventions
I accidentally put the file in the wrong folder.
* Delete examples/audio_raw_stream.c
* Remove spaces before asterisks in comments in audio_raw_stream.c
* Put SetTargetFPS(30) before while (!WindowShouldClose()) in audio_raw_stream.c
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
WARNING: This addition is based on a PR and it's still under review, not sure if it will be maintained in the future. In general, raylib tries to avoid callbacks usage mechanisms.
* Add panning to raudio and update audio_raw_stream example.
* remove pan smoothing, code formatting changes following pull request comments
Co-authored-by: Ray <raysan5@gmail.com>
* Fixing typecast warnings generated by visual studio 2019 in examples.
* Changes to fixes based on feedback
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
1. Always synthesize a complete frame of audio, using a second buffer (this prevents gaps in playback)
2. Sine is computed correctly, with an adjustable frequency
3. User can modulate frequency in real-time with mouse
4. Entire audio buffer data is shown, visually demonstrating how sine changes in wavelength