Ray
e67ebabb02
Support custom memory management macros
Users can define their custom memory management macros.
NOTE: Most external libraries support custom macros in the same way, raylib should redefine those macros to raylib ones, to unify custom memory loading. That redefinition is only implemented as example for stb_image.h in [textures] module.
před 6 roky
Ray
c7907a203b
Update miniaudio to v0.9.3
před 6 roky
Ray
76e968f6b7
Updated audio library: mini_al -> miniaudio
před 6 roky
Ray
944a388b1b
Include mini_al directly, no separate module
před 6 roky
raysan5
0d2cfce18e
Review raudio comments
před 6 roky
Ray
93471b0a7c
WARNING: Renamed module: audio -> raudio
Planning to promote raudio module as a simple and easy-to-use front-end for the amazing mini_al library, so the name change.
Name comes from raylib-audio but in spanish it also remembers to word "raudo", meaning "very fast", an analogy that fits perfectly to the usefulness and performance of the library!
Consequently, raylib version has been bumped to 2.4-dev.
před 6 roky
Ray San
61afd07bd7
Force OpenAL backend on some platforms
OpenAL audio backend is being forced on HTML5 and OSX
před 7 roky
Ray
b63ffcfa0f
Some code tweaks
Audio module requires a complete formatting review....
před 7 roky
Ray
080a79f0b0
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
před 8 roky
Ray
b7a8a40e71
Work on configuration flags
před 8 roky
Ray
59652c75b4
Review some comments
před 8 roky
raysan5
8f5ff64420
Working on file header comments...
před 8 roky
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
před 8 roky
Ray
b4988777ef
[audio] Renamed variable
před 8 roky
Ray San
836c1636a2
Remove lighting system from rlgl standalone header
před 8 roky
raysan5
5de597579f
Complete review of audio module
před 8 roky
Saggi Mizrahi
c394708c43
Change UpdateSound() to accept const void *
The function means to accept a const * so let's declare it.
Will allow passing const buffers in games.
Also constness is next to godliness!
Signed-off-by: Saggi Mizrahi <saggi@mizrahi.cc>
před 8 roky
raysan5
f7b706263a
Some code tweaks
Correcting details that pop-up when testing the different platforms
před 9 roky
raysan5
6d1b712a96
Reviewed modules comments
před 9 roky
raysan5
be97583f00
Added function: UpdateSound()
před 9 roky
raysan5
342b89c5b9
Review Wave struct
před 9 roky
raysan5
68d647c1af
Complete review and update
Simplified module for Music and AudioStream
Added support for raw audio streaming (with example)
před 9 roky
raysan5
02c456432d
Complete review of audio system
Still some work left...
před 9 roky
Bil152
8f7cb6fb19
Code refractoring of music model to be more friendly-user (issue #144 )
před 9 roky
raysan5
a05150392a
Added audio standalone sample
před 9 roky
raysan5
7959ccd84d
Review some functions, formatting and comments
před 9 roky
Ray
1733125873
Do not expose raw audio context to final user...
...at least, directly, available if using directly audio module...
před 9 roky
raysan5
cafc66a3c1
Rename for consistency with other functions
před 9 roky
raysan5
cf6d2e3985
Review coding style to match raylib style
Moved AudioError enum inside audio.c
před 9 roky
Joshua Reisenauer
cf2975d062
convenient way to combine errors
před 9 roky
Joshua Reisenauer
af1eb5453a
I added audio errors
The only thing I did not change was the _g for globals. Is there any
other way we can mark globals?
před 9 roky
Joshua Reisenauer
90e1ed2b5e
mod player added
před 9 roky
Joshua Reisenauer
9f2fc81df2
update to openal
před 9 roky
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
před 9 roky
Joshua Reisenauer
76ff4d220e
renamed everything so it is obvious what it does
před 9 roky
Joshua Reisenauer
f0ada8c40d
apply index to remaining functions
před 9 roky
Joshua Reisenauer
9737c58054
PlayMusicStream now uses index
před 9 roky
Joshua Reisenauer
ad3d270c42
added set pitch for music streams
před 9 roky
Joshua Reisenauer
6db44500b7
adding multiple music streams
před 9 roky
raysan5
5f73850fa6
Renamed functions for consistency
před 9 roky
Joshua Reisenauer
9d09ada33b
new boolean floatingPoint option
Now floating point is either on or off. This simplifies the use of 16bit
vs float.
před 9 roky
Joshua Reisenauer
4636e3367c
number remaining buffer transfer for updateAudioContext
updateAudioContext is almost done
před 9 roky
Joshua Reisenauer
9ef0240e99
resamples added
Ease of use considered in api and channels are more convenient as
unsigned char type.
před 9 roky
Joshua Reisenauer
790bc72806
bool return for failed update
před 9 roky
Joshua Reisenauer
a2a3d3aeb6
new silence generator
před 9 roky
Joshua Reisenauer
34e5fcf47e
removed enums
před 9 roky
Joshua Reisenauer
a1038f61b6
BPS type added to ensure consistency
před 9 roky
Joshua Reisenauer
5f1e8b8278
hide struct from user
Hiding the struct from user should protect from accidentally modifying
the mix channel. This could cause serious errors down the road.
před 9 roky
Joshua Reisenauer
91f1f324c0
First stage of audio API update
Look over changes and give feedback please.
před 9 roky
raysan5
e8fa630c28
Audio module reviewed for standalone usage
před 10 roky