Commit Graph

178 Commits

Author SHA1 Message Date
Ray f3aac87422 Some minor tweaks 2022-05-12 16:35:28 +02:00
Ray ed2ab55034 Remove line ending spaces 2022-05-05 20:39:14 +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
Ray bcd84cd36d Some code reviews -WIP- 2022-03-24 18:56:53 +01:00
Ray 22c17da4d7 Update to miniaudio 11.8 2022-03-24 18:22:09 +01:00
raysan5 937e7b3dd9 REVIEWED: Some functions input parametes that should be const 2022-02-20 20:35:28 +01:00
raysan5 d4382f4a52 Removed trailing spaces 2022-02-18 20:30:46 +01:00
raysan5 15b36e04b2 Review formating 2022-01-16 17:16:04 +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
Ray 62858e11f7 Review tracelogs 2022-01-03 20:45:19 +01:00
raysan5 a940f41b4b Update year to 2022 2021-12-31 20:06:22 +01:00
raysan5 423fdb320a Update raudio.c 2021-12-24 19:57:32 +01:00
Ray 4874c45ebf REVIEWED: ExportWaveAsCode() 2021-12-23 11:02:20 +01:00
Ray 9e5a9892be REVIEWED: PlaySoundMulti() #2231 2021-12-21 23:57:13 +01:00
raysan5 58f2bf4181 REVIEWED: Export format for float 32bit 2021-12-21 20:32:58 +01:00
Ray f09a916587 Update raudio.c 2021-12-08 14:02:54 +01:00
Ray e637ad9d2a Support custom modules inclusion
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-04 19:56:02 +01:00
Ray 21ec8c38ae Review variables initialization
- All variables are initialized on declaration, some arrays were not properly initialized
 - Static array buffers require memset() for re-initialization on every function call
2021-11-09 11:49:03 +01:00
Jeffery Myers 086f76ba7a Fix warnings in raylib build (#2084) 2021-10-25 10:18:42 +02:00
Ray 3e604a8645 Remove trailing spaces 2021-10-14 00:11:37 +02:00
Ray 83b3478fe4 Reviewed some TODO 2021-10-13 23:45:57 +02:00
raysan5 ddc1fdf6d5 REVIEWED: SeekMusicStream() formating 2021-09-23 18:11:24 +02:00
Uneven Prankster 7fa521fae4 Fix + Return if attempting to seek on a module format (#2008) 2021-09-23 17:38:37 +02:00
Uneven Prankster 19ef765382 SeekMusicStream initial implementation (#2006) 2021-09-22 21:55:13 +02:00
Ray 8b3d054408 Minor reviews 2021-09-21 23:49:42 +02:00
Ray a0f8682905 REVIEWED: <name>Count for consistency
Following english rules, it should be singular name before Count.
2021-09-01 23:09:30 +02:00
raysan5 d98e61c6eb Minor format tweaks 2021-08-28 12:01:16 +02:00
Ray 936199d8de Review dates 2021-08-27 18:50:02 +02:00
Ray 18af18479f REVIEWED: ExportWaveAsCode() 2021-08-27 18:49:03 +02:00
Ray a5beb940f8 Remove trailing spaces 2021-08-16 23:23:16 +02:00
Ray 1b4c58b66f WARNING: BREAKING: Use frameCount on audio
This is a big change for optimization and a more professional understanding of audio. Instead of dealing with samples, now we deal with frames, like miniaudio does, so, avoiding continuous conversions from samples to frames.
2021-08-16 11:06:31 +02:00
raysan5 1613057881 Update raudio.c 2021-07-30 13:45:01 +02:00
raysan5 8b7f43f89b WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed.
 - REMOVED: `Texture2D`, `Shader` structs dependency
 - REMOVED: `Vector3`, `Matrix` structs dependency
 - REMOVED: raymath functions dependency, all required math is implemented in rlgl
 - ADDED: `rlMatrix` custom rlgl type
 - ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types
 - ADDED: `rl` prefix to all `rlgl` structs
 - Other small tweaks here and there
2021-07-29 21:57:50 +02:00
raysan5 0c17d1e14f Minor formatting tweak 2021-07-28 12:58:43 +02:00
raysan5 5ed814e950 Minor tweaks and comments 2021-07-09 17:36:20 +02:00
raysan5 f81dfce19f Minor tweaks 2021-07-01 21:43:13 +02:00
raysan5 9e7ca41f58 Remove trailing spaces 2021-06-30 16:39:07 +02:00
Ray aa86e9d399 REVIEWED: Minor tweaks on log messages 2021-06-26 13:18:39 +02:00
Ray 7cbfca8bd1 REVIEWED: Simplified code to avoid extra functions calls 2021-06-26 13:06:22 +02:00
Ray 4b93feb172 Remove trail spaces 2021-06-13 17:08:30 +02:00
Ray 213c990eda Reviewed issue 2021-06-13 12:08:32 +02:00
Ray b188008a1c Review code formatting 2021-06-10 18:00:44 +02:00
raysan5 e95d8bc655 Minor format tweaks 2021-06-05 12:33:05 +02:00
raysan5 6445200a93 Removed GetAudioStreamBufferSizeDefault() 2021-06-05 12:32:52 +02:00
Ray e00d2439b9 WARNING: BREAKING: Consistency renamings
RENAMED: InitAudioStream() -> LoadAudioStream()
RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03 23:36:47 +02:00
Ray 121c689b78 Review code formatting 2021-06-03 20:25:28 +02:00
Ray 5e3cf28642 Update raudio.c 2021-05-31 19:32:48 +02:00
Ray 71995d52b3 REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796 2021-05-30 18:02:06 +02:00