Ray
23b75281ad
Add function prototype
5 vuotta sitten
raysan5
21c30f43d4
Update year to 2020
5 vuotta sitten
Ray
b75511248d
Remove trailing spaces
6 vuotta sitten
Ray
2d6bc1ff42
Update raudio.h
6 vuotta sitten
Ray
fc95ceadf0
Remove sampleLeft from Music struct... -WIP-
...moved to internal AudioBuffer structure as totalFramesProcessed, now time measure works again... but there is some problem with looping...
Also note some inconsistencies between frames and samples, it seems those concepts are not considered correctly in the code.
6 vuotta sitten
Zatherz
8e86f3586d
IsAudioBufferProcessed -> IsAudioStreamProcessed ( #951 )
It appears that you've missed renaming this function here, which makes trying to compile standalone raudio.c error out.
6 vuotta sitten
raysan5
6baf8bccb1
Removed functions modifiers
6 vuotta sitten
Ray
251f90cd31
WARNING: Replaced Music pointer by struct
Now, multiple music parameters are exposed to the user!
6 vuotta sitten
Ray
ae95111006
Some variables renamed
6 vuotta sitten
Ray
892813de76
Review multichannel PR addition
- Capital letters at beginning
- for loop spacing and brackets
- Functions naming for consistency
- Example following examples template
- Other tweaks
6 vuotta sitten
chriscamacho
83a4eb0852
add multi channel audio to raudio ( #895 )
* added multi channel sound replay to raudio
added -fPIC to Makefile for Linux
added simple lighting and audio multi channel to examples Makefile
* not properly reporting audio buffer pool size...
6 vuotta sitten
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 vuotta sitten
Ray
c7907a203b
Update miniaudio to v0.9.3
6 vuotta sitten
Ray
76e968f6b7
Updated audio library: mini_al -> miniaudio
6 vuotta sitten
Ray
944a388b1b
Include mini_al directly, no separate module
6 vuotta sitten
raysan5
0d2cfce18e
Review raudio comments
6 vuotta sitten
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 vuotta sitten
Ray San
61afd07bd7
Force OpenAL backend on some platforms
OpenAL audio backend is being forced on HTML5 and OSX
8 vuotta sitten
Ray
b63ffcfa0f
Some code tweaks
Audio module requires a complete formatting review....
8 vuotta sitten
Ray
080a79f0b0
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
8 vuotta sitten
Ray
b7a8a40e71
Work on configuration flags
8 vuotta sitten
Ray
59652c75b4
Review some comments
8 vuotta sitten
raysan5
8f5ff64420
Working on file header comments...
8 vuotta sitten
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
8 vuotta sitten
Ray
b4988777ef
[audio] Renamed variable
8 vuotta sitten
Ray San
836c1636a2
Remove lighting system from rlgl standalone header
8 vuotta sitten
raysan5
5de597579f
Complete review of audio module
9 vuotta sitten
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>
9 vuotta sitten
raysan5
f7b706263a
Some code tweaks
Correcting details that pop-up when testing the different platforms
9 vuotta sitten
raysan5
6d1b712a96
Reviewed modules comments
9 vuotta sitten
raysan5
be97583f00
Added function: UpdateSound()
9 vuotta sitten
raysan5
342b89c5b9
Review Wave struct
9 vuotta sitten
raysan5
68d647c1af
Complete review and update
Simplified module for Music and AudioStream
Added support for raw audio streaming (with example)
9 vuotta sitten
raysan5
02c456432d
Complete review of audio system
Still some work left...
9 vuotta sitten
Bil152
8f7cb6fb19
Code refractoring of music model to be more friendly-user (issue #144 )
9 vuotta sitten
raysan5
a05150392a
Added audio standalone sample
9 vuotta sitten
raysan5
7959ccd84d
Review some functions, formatting and comments
9 vuotta sitten
Ray
1733125873
Do not expose raw audio context to final user...
...at least, directly, available if using directly audio module...
9 vuotta sitten
raysan5
cafc66a3c1
Rename for consistency with other functions
9 vuotta sitten
raysan5
cf6d2e3985
Review coding style to match raylib style
Moved AudioError enum inside audio.c
9 vuotta sitten
Joshua Reisenauer
cf2975d062
convenient way to combine errors
9 vuotta sitten
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 vuotta sitten
Joshua Reisenauer
90e1ed2b5e
mod player added
9 vuotta sitten
Joshua Reisenauer
9f2fc81df2
update to openal
9 vuotta sitten
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
9 vuotta sitten
Joshua Reisenauer
76ff4d220e
renamed everything so it is obvious what it does
9 vuotta sitten
Joshua Reisenauer
f0ada8c40d
apply index to remaining functions
9 vuotta sitten
Joshua Reisenauer
9737c58054
PlayMusicStream now uses index
9 vuotta sitten
Joshua Reisenauer
ad3d270c42
added set pitch for music streams
9 vuotta sitten
Joshua Reisenauer
6db44500b7
adding multiple music streams
9 vuotta sitten