cf04425bc2
Spelling ( #2957 )
2023-03-14 19:23:17 +01:00
ab1e246367
REVIEWED: Data types validation
2023-03-07 20:33:45 +01:00
ae53600d31
WARNING: REMOVED: Multichannel audio support API
2023-03-07 19:54:53 +01:00
1b873b028f
WARNING: REMOVED: Multichannel audio support API
...
It was quite restrictive and hacky implementation, just load multiple types same sound to play multiple instances.
2023-03-07 19:48:47 +01:00
aae7ab64c7
Update raudio.c
2023-03-06 13:00:30 +01:00
68ee0bb8dd
ADDED: QOA music streaming (with auxiliar lib)
...
Some format tweaks
2023-03-06 12:33:49 +01:00
9614d3353b
REVIEWED: QOA audio file export
2023-03-05 13:49:18 +01:00
5492f52adc
Change default threading model for COM objects
...
It shouldn't matter much but it could avoid some conflicts with other libraries in the future (like `tinyfiledialogs`).
2023-03-05 00:09:56 +01:00
d5a31168ce
REVIEWED: Data validation
2023-02-23 18:08:15 +01:00
d26a56d4e1
Added mixed audio processor ( #2929 )
...
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
* Added global audio processor
* Renamed struct member to follow naming conventions
* Added example for AttachAudioMixedProcessor
2023-02-20 11:13:24 +01:00
6ae21d6581
Fixed some grammar mistakes and typos. ( #2914 )
...
* Fixed some grammar mistakes.
* Fixed some typos.
2023-02-09 13:17:47 +01:00
e187b693ea
Update raudio.c
2023-02-06 11:02:46 +01:00
1fea266472
Clean trailing spaces
2023-02-05 16:30:23 +01:00
c91190fc6e
Review QOA sound loading -WIP-
2023-02-05 16:28:04 +01:00
589892af07
Support QOA audio format on ExportWave() -WIP-
2023-02-04 20:27:47 +01:00
901c4553d2
ADDED: QOA audio format support -WIP-
2023-02-04 20:20:21 +01:00
d827a65e59
Update external libraries
...
Switch to official `stb_vorbis.c` instead of using an outdated fork
2023-02-01 11:45:42 +01:00
83ff7b2466
ADDED: IsShaderReady(), IsImageReady(), IsFontReady(), IsWaveReady(), IsSoundReady(), IsMusicReady() ( #2892 )
...
These IsReady() functions provide a method in order to verify whether or not the object was loaded successfully. They're useful to make sure the assets are there prior to using them.
2023-01-27 19:24:03 +01:00
edaca16d7c
Fix warnings in raylib project from MSVC ( #2871 )
2023-01-20 16:05:19 +01:00
b59fab7ee6
Update year to 2023
2023-01-01 16:00:56 +01:00
2872b2fff5
Clear PCM buffer state when closing audio device ( #2736 )
...
Fix for #2714
2022-10-02 19:30:26 +02:00
d70e5cd26b
Small simplifications ( #2615 )
2022-08-05 12:16:49 +02:00
82b76149da
GetMusicTimePlayed bug fix ( #2614 )
...
GetMusicTimePlayed() was calculated using buffered frames, not played frames.
For example: calling LoadMusicStream->UpdateMusicStream->GetMusicTimePlayed would return non-zero value, even though no music was playing.
2022-08-05 08:36:59 +02:00
fd191a32ea
Remove trailing spaces
2022-08-02 00:36:31 +02:00
a6b3c8aa1e
Music doesn't stop looping fix ( #2605 )
...
This PR fixes a bug when music.looping is set to false but the music continues looping.
Also using proper functions to seek to start of an audio file.
Removed old comment.
2022-08-01 20:07:32 +02:00
0ef3e4c4d5
Audio looping fix ( #2579 )
...
* WAVs looping fix. But broke other formats looping
* Fix audio looping issue
* Follow raylib formatting
* Cast void* to char* to make MSVC compiler happy
Co-authored-by: Ray <raysan5@gmail.com >
2022-07-29 13:10:59 +02:00
e9029d3d00
[CORE] Fix Warnings ( #2582 )
...
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
2022-07-19 06:36:03 +02:00
cccea34c6f
Update raudio.c
2022-07-15 19:09:14 +02:00
8aa105fd5b
WARNING: REMOVED: raudio_standalone example
...
Moved to raudio library repo: https://github.com/raysan5/raudio
2022-07-15 19:05:05 +02:00
3ebfee5dbc
REVIEWED: UpdateMusicStream() #2228
...
Trying to implement proper looping, independently of frame rate.
2022-07-11 21:19:21 +02:00
0379b94b7a
Minor tweaks
2022-07-11 21:18:31 +02:00
b92573e711
Update raudio.c
2022-07-10 23:00:09 +02:00
2245500245
Added comment about buffer refill issue on looping #2228
2022-07-10 21:39:13 +02:00
066bd5be87
Reviewed formating
2022-07-10 21:38:33 +02:00
63568721f9
fix: precision loss, discard unused ( #2541 )
2022-06-24 10:59:31 +02:00
8bd3ecaa66
Share PCM streaming buffer to reduce dynamic allocations ( #2532 )
2022-06-21 19:26:21 +02:00
8d9c45a08a
tweak
2022-06-17 21:24:59 +02:00
5bdd8f134f
Improved boolean definitions ( #2485 )
2022-05-19 21:21:09 +02:00
020e903193
Fix lgtm warnings ( #2477 )
...
* Comparison is always true because finalSample >= 1
* Comparison is always false because keyCount >= 0
2022-05-14 15:02:29 +02:00
f3aac87422
Some minor tweaks
2022-05-12 16:35:28 +02:00
ed2ab55034
Remove line ending spaces
2022-05-05 20:39:14 +02:00
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
8e28872fe1
Rename audio callback
2022-03-25 10:19:40 +01:00
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
bcd84cd36d
Some code reviews -WIP-
2022-03-24 18:56:53 +01:00
22c17da4d7
Update to miniaudio 11.8
2022-03-24 18:22:09 +01:00
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
15b36e04b2
Review formating
2022-01-16 17:16:04 +01:00
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