veins1
2872b2fff5
Clear PCM buffer state when closing audio device ( #2736 )
Fix for #2714
2 роки тому
veins1
d70e5cd26b
Small simplifications ( #2615 )
2 роки тому
veins1
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.
2 роки тому
Ray
fd191a32ea
Remove trailing spaces
2 роки тому
veins1
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.
2 роки тому
veins1
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>
2 роки тому
Jeffery Myers
e9029d3d00
[CORE] Fix Warnings ( #2582 )
* Fix raymath warning with floor to floorf
* signed unsigned missmatches
2 роки тому
Ray
cccea34c6f
Update raudio.c
2 роки тому
Ray
8aa105fd5b
WARNING: REMOVED: raudio_standalone example
Moved to raudio library repo: https://github.com/raysan5/raudio
2 роки тому
Ray
3ebfee5dbc
REVIEWED: `UpdateMusicStream()` #2228
Trying to implement proper looping, independently of frame rate.
2 роки тому
Ray
0379b94b7a
Minor tweaks
2 роки тому
Ray
b92573e711
Update raudio.c
2 роки тому
Ray
2245500245
Added comment about buffer refill issue on looping #2228
2 роки тому
Ray
066bd5be87
Reviewed formating
2 роки тому
veclavtalica
63568721f9
fix: precision loss, discard unused ( #2541 )
2 роки тому
Dan Bechard
8bd3ecaa66
Share PCM streaming buffer to reduce dynamic allocations ( #2532 )
2 роки тому
Ray
8d9c45a08a
tweak
2 роки тому
Jonathan Poncelet
5bdd8f134f
Improved boolean definitions ( #2485 )
3 роки тому
Crydsch
020e903193
Fix lgtm warnings ( #2477 )
* Comparison is always true because finalSample >= 1
* Comparison is always false because keyCount >= 0
3 роки тому
Ray
f3aac87422
Some minor tweaks
3 роки тому
Ray
ed2ab55034
Remove line ending spaces
3 роки тому
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.
3 роки тому
Ray
8e28872fe1
Rename audio callback
3 роки тому
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.
3 роки тому
Ray
bcd84cd36d
Some code reviews -WIP-
3 роки тому
Ray
22c17da4d7
Update to miniaudio 11.8
3 роки тому
raysan5
937e7b3dd9
REVIEWED: Some functions input parametes that should be `const`
3 роки тому
raysan5
d4382f4a52
Removed trailing spaces
3 роки тому
raysan5
15b36e04b2
Review formating
3 роки тому
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>
3 роки тому
Ray
62858e11f7
Review tracelogs
3 роки тому
raysan5
a940f41b4b
Update year to 2022
3 роки тому
raysan5
423fdb320a
Update raudio.c
3 роки тому
Ray
4874c45ebf
REVIEWED: `ExportWaveAsCode()`
3 роки тому
Ray
9e5a9892be
REVIEWED: `PlaySoundMulti()` #2231
3 роки тому
raysan5
58f2bf4181
REVIEWED: Export format for float 32bit
3 роки тому
Ray
f09a916587
Update raudio.c
3 роки тому
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.
3 роки тому
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
3 роки тому
Jeffery Myers
086f76ba7a
Fix warnings in raylib build ( #2084 )
3 роки тому
Ray
3e604a8645
Remove trailing spaces
3 роки тому
Ray
83b3478fe4
Reviewed some TODO
3 роки тому
raysan5
ddc1fdf6d5
REVIEWED: SeekMusicStream() formating
3 роки тому
Uneven Prankster
7fa521fae4
Fix + Return if attempting to seek on a module format ( #2008 )
3 роки тому
Uneven Prankster
19ef765382
`SeekMusicStream` initial implementation ( #2006 )
3 роки тому
Ray
8b3d054408
Minor reviews
3 роки тому
Ray
a0f8682905
REVIEWED: <name>Count for consistency
Following english rules, it should be singular name before Count.
3 роки тому
raysan5
d98e61c6eb
Minor format tweaks
3 роки тому
Ray
936199d8de
Review dates
3 роки тому
Ray
18af18479f
REVIEWED: ExportWaveAsCode()
3 роки тому