Commit Graph

47 Commits

Author SHA1 Message Date
SomeUnusualGames 71e43612d6 Fix typos and reworded a question in the FAQ (#2628) 2022-08-11 17:54:24 +02:00
TheManTheMythTheGameDev 090e47dca0 Fix rendering issue in audio_raw_stream.c example (#2608) 2022-08-03 08:36:23 +02:00
Ray 9cbbf149d8 Update audio_music_stream.c 2022-08-02 10:23:54 +02:00
Ray c457835938 Update audio_raw_stream.c 2022-08-02 10:22:17 +02:00
Ray 93b633b6e6 Create audio_stream_effects.png 2022-07-29 19:56:36 +02:00
Ray fccdb68df8 Create audio_stream_effects.c 2022-07-29 12:36:56 +02:00
Ray 277dd2bb57 Update audio_music_stream.c 2022-07-29 12:36:51 +02:00
Ray 721e7914b1 Update audio_music_stream.c 2022-07-29 12:08:04 +02:00
Ray 4a9391ae83 REVIEWED: examples descriptions 2022-07-20 01:28:37 +02:00
Ray c1b01c0d5d Added new comment to examples 2022-06-21 19:53:18 +02:00
ptarabbia ea598f7d77 Fix crash with delay demo. (#2472) 2022-05-12 15:26:36 +02:00
Ray 709ec1663d Update audio_music_stream.c 2022-03-30 20:25:46 +02:00
Ray 1612ba63ab ADDED: Audio stream processors support -WIP- #2212
This feature is still under consideration/testing and it doesn't work properly, at least the Delay Effect processor.
2022-03-30 20:13:02 +02:00
Ray 8e28872fe1 Rename audio callback 2022-03-25 10:19:40 +01:00
Ray 381236051f ADDED: Audio stream input callback #2212 -WIP-
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.
2022-03-24 20:49:11 +01:00
ptarabbia 5ac07122bd Add panning to raudio and update audio_raw_stream example. (#2205)
* 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>
2022-01-16 12:49:58 +01:00
raysan5 7d2845a661 Improve assets license information 2021-07-16 14:29:20 +02:00
raysan5 a958cebdd9 Update audio_raw_stream.c 2021-07-05 19:47:50 +02:00
raysan5 e6aa713a37 REVIEWED: Need to set default buffer size for raw data #1770
This design should probably be changed...
2021-07-05 19:45:57 +02:00
Ray e00d2439b9 WARNING: BREAKING: Consistency renamings
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03 23:36:47 +02:00
Lambert Wang 2545f62565 Added support for additional mouse buttons (#1753)
* Added support for additional mouse buttons

* Renamed mouse button enum

Co-authored-by: Lambert Wang <lambert.ww@gmail.com>
2021-05-08 18:26:24 +02:00
Ray dcf52c132f Remove trail spaces 2021-04-22 18:55:24 +02:00
Jeffery Myers 48a7cd3c87 [Examples] Fix typecast warnings in examples. (#1601)
* Fixing typecast warnings generated by visual studio 2019 in examples.

* Changes to fixes based on feedback

Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
2021-02-20 23:37:32 +01:00
Ray 459c4754dc Reviewed SetAudioBufferPitch() #1450 2020-12-12 13:01:31 +01:00
Ray 7e9028ae08 Update user name 2020-12-03 20:17:50 +01:00
raysan5 c32ae480af RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-16 11:28:15 +02:00
raysan5 6fb5207694 Update resources LICENSE 2020-07-14 19:17:08 +02:00
raysan5 67acb0f840 Update audio resources LICENSE 2020-07-14 19:11:09 +02:00
raysan5 9ce838806b [examples] Review/change audio resources 2020-06-03 01:29:24 +02:00
raysan5 257f232d41 WARNING: BREAKING CHANGE: Review audio looping system
Current looping system was broken, `loopCount` has been converted to `bool looping` and user can enable/disable with `music.looping = false`. `SetMusicLoopCount()` has been removed.
2020-05-14 14:00:37 +02:00
Ray 8f05322263 Review example and screenshots 2020-01-09 12:58:24 +01:00
Ray fc95ceadf0 Remove sampleLeft from Music struct... -WIP-
...moved to internal AudioBuffer structure as totalFramesProcessed, now time measure works again... but there is some problem with looping...
Also note some inconsistencies between frames and samples, it seems those concepts are not considered correctly in the code.
2019-09-03 23:08:02 +02:00
raysan5 c387bc586d RENAMED: IsAudioBufferProcessed() -> IsAudioStreamProcessed()
Renamed for consistency with similar functions
2019-08-13 17:41:31 +02:00
Ray 4ad1fa85a4 Remove old OpenAL comments 2019-06-29 11:26:31 +02:00
Ray 892813de76 Review multichannel PR addition
- Capital letters at beginning
- for loop spacing and brackets
- Functions naming for consistency
- Example following examples template
- Other tweaks
2019-06-29 11:26:08 +02:00
chriscamacho 83a4eb0852 add multi channel audio to raudio (#895)
* added multi channel sound replay to raudio
added -fPIC to Makefile for Linux
added simple lighting and audio multi channel to examples Makefile

* not properly reporting audio buffer pool size...
2019-06-29 10:49:42 +02:00
Ray 87774a0a21 Review variables initialization 2019-05-27 00:18:15 +02:00
Ray b525039e0a Review ALL examples 2019-05-20 16:36:42 +02:00
Ray 970f1e8ff1 examples review 2019-05-17 01:17:40 +02:00
ChillerDragon f21761fbbb Happy new year 2019 2019-04-07 17:49:12 +02:00
raysan5 35a6e9a074 Corrected issue with MOD playing
Despite issue is corrected, now module loop doesn't work...
2018-12-25 15:18:35 +01:00
Ray f7667aad8d Reviewed audio issues
- Updated dr_mp3 and implemented it
- Reviewed sampleCount vs frameCount
- Reviewed XM playing (some weird things...)
2018-10-31 17:04:24 +01:00
Ray 64e9d72c07 Reviewed audio example 2018-07-25 14:38:12 +02:00
James Hofmann 959f8e45f8 Complete raw_audio_stream example
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
2018-07-25 03:01:48 -07:00
Ray 6e812cf147 Working on MP3 support 2018-07-19 23:15:46 +02:00
Ray 20d205cae5 Working on examples... 2017-04-08 23:31:58 +02:00
Ray dd4dd0e87d Reorganize examples folder 2017-04-04 01:54:49 +02:00