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.
6 роки тому
Ray
c7907a203b
Update miniaudio to v0.9.3
6 роки тому
Ray
76e968f6b7
Updated audio library: mini_al -> miniaudio
6 роки тому
Ray
944a388b1b
Include mini_al directly, no separate module
6 роки тому
raysan5
0d2cfce18e
Review raudio comments
6 роки тому
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.
6 роки тому
Ray San
61afd07bd7
Force OpenAL backend on some platforms
OpenAL audio backend is being forced on HTML5 and OSX
7 роки тому
Ray
b63ffcfa0f
Some code tweaks
Audio module requires a complete formatting review....
7 роки тому
Ray
080a79f0b0
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
8 роки тому
Ray
b7a8a40e71
Work on configuration flags
8 роки тому
Ray
59652c75b4
Review some comments
8 роки тому
raysan5
8f5ff64420
Working on file header comments...
8 роки тому
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
8 роки тому
Ray
b4988777ef
[audio] Renamed variable
8 роки тому
Ray San
836c1636a2
Remove lighting system from rlgl standalone header
8 роки тому
raysan5
5de597579f
Complete review of audio module
8 роки тому
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>
8 роки тому
raysan5
f7b706263a
Some code tweaks
Correcting details that pop-up when testing the different platforms
9 роки тому
raysan5
6d1b712a96
Reviewed modules comments
9 роки тому
raysan5
be97583f00
Added function: UpdateSound()
9 роки тому
raysan5
342b89c5b9
Review Wave struct
9 роки тому
raysan5
68d647c1af
Complete review and update
Simplified module for Music and AudioStream
Added support for raw audio streaming (with example)
9 роки тому
raysan5
02c456432d
Complete review of audio system
Still some work left...
9 роки тому
Bil152
8f7cb6fb19
Code refractoring of music model to be more friendly-user (issue #144 )
9 роки тому
raysan5
a05150392a
Added audio standalone sample
9 роки тому
raysan5
7959ccd84d
Review some functions, formatting and comments
9 роки тому
Ray
1733125873
Do not expose raw audio context to final user...
...at least, directly, available if using directly audio module...
9 роки тому
raysan5
cafc66a3c1
Rename for consistency with other functions
9 роки тому
raysan5
cf6d2e3985
Review coding style to match raylib style
Moved AudioError enum inside audio.c
9 роки тому
Joshua Reisenauer
cf2975d062
convenient way to combine errors
9 роки тому
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?
9 роки тому
Joshua Reisenauer
90e1ed2b5e
mod player added
9 роки тому
Joshua Reisenauer
9f2fc81df2
update to openal
9 роки тому
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
9 роки тому
Joshua Reisenauer
76ff4d220e
renamed everything so it is obvious what it does
9 роки тому
Joshua Reisenauer
f0ada8c40d
apply index to remaining functions
9 роки тому
Joshua Reisenauer
9737c58054
PlayMusicStream now uses index
9 роки тому
Joshua Reisenauer
ad3d270c42
added set pitch for music streams
9 роки тому
Joshua Reisenauer
6db44500b7
adding multiple music streams
9 роки тому
raysan5
5f73850fa6
Renamed functions for consistency
9 роки тому
Joshua Reisenauer
9d09ada33b
new boolean floatingPoint option
Now floating point is either on or off. This simplifies the use of 16bit
vs float.
9 роки тому
Joshua Reisenauer
4636e3367c
number remaining buffer transfer for updateAudioContext
updateAudioContext is almost done
9 роки тому
Joshua Reisenauer
9ef0240e99
resamples added
Ease of use considered in api and channels are more convenient as
unsigned char type.
9 роки тому
Joshua Reisenauer
790bc72806
bool return for failed update
9 роки тому
Joshua Reisenauer
a2a3d3aeb6
new silence generator
9 роки тому
Joshua Reisenauer
34e5fcf47e
removed enums
9 роки тому
Joshua Reisenauer
a1038f61b6
BPS type added to ensure consistency
9 роки тому
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.
9 роки тому
Joshua Reisenauer
91f1f324c0
First stage of audio API update
Look over changes and give feedback please.
9 роки тому
raysan5
e8fa630c28
Audio module reviewed for standalone usage
10 роки тому