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?
2016-06-02 02:02:23 -07:00
Joshua Reisenauer
05f8e83ba9
cleanup
2016-06-02 00:03:00 -07:00
Joshua Reisenauer
ae6adb173b
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-06-01 20:17:39 -07:00
Joshua Reisenauer
90e1ed2b5e
mod player added
2016-06-01 20:09:00 -07:00
Ray
17878550b1
Review heades usage
...
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
2016-06-02 01:26:44 +02:00
Joshua Reisenauer
9f2fc81df2
update to openal
2016-05-30 15:34:29 -07:00
victorfisac
cf71e1242e
Fix some audio module compile warnings
2016-05-21 18:08:09 +02:00
Joshua Reisenauer
41c5f3a017
Buffer for raw audio
2016-05-19 20:44:09 -07:00
Joshua Reisenauer
b10425492a
name correction
2016-05-19 15:22:12 -07:00
Joshua Reisenauer
76ff4d220e
renamed everything so it is obvious what it does
2016-05-15 19:37:15 -07:00
Joshua Reisenauer
86fbf4fd8f
logic bug fix
2016-05-15 02:09:57 -07:00
Joshua Reisenauer
d38d7a1bed
clean up on buffering and preconditions
2016-05-14 16:30:32 -07:00
Joshua Reisenauer
8c5d403dda
new function to check if music stream is ready
...
_g naming convention for globals, new error exit numbers.
2016-05-14 15:26:17 -07:00
Joshua Reisenauer
ea4b5552c2
corrected typos
2016-05-14 00:25:40 -07:00
Joshua Reisenauer
5107a2dc40
bug fixes
2016-05-12 21:14:02 -07:00
Joshua Reisenauer
83dbc07650
buffering of music now uses update audio context
2016-05-12 16:02:23 -07:00
Joshua Reisenauer
f0ada8c40d
apply index to remaining functions
2016-05-11 22:37:53 -07:00
Joshua Reisenauer
9737c58054
PlayMusicStream now uses index
2016-05-11 20:15:37 -07:00
Joshua Reisenauer
ad3d270c42
added set pitch for music streams
2016-05-11 18:14:59 -07:00
Joshua Reisenauer
6db44500b7
adding multiple music streams
2016-05-11 00:37:10 -07:00
Joshua Reisenauer
b7f8e97b03
final fix for audiocontext system
...
now it works
2016-05-10 01:54:20 -07:00
Joshua Reisenauer
e660700924
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
2016-05-03 14:17:37 -07:00
raysan5
5f73850fa6
Renamed functions for consistency
2016-05-03 18:04:21 +02:00
Joshua Reisenauer
d6feeb14ff
pause on no data
2016-05-03 02:52:45 -07:00
Joshua Reisenauer
9d09ada33b
new boolean floatingPoint option
...
Now floating point is either on or off. This simplifies the use of 16bit
vs float.
2016-05-02 21:59:55 -07:00
Joshua Reisenauer
4636e3367c
number remaining buffer transfer for updateAudioContext
...
updateAudioContext is almost done
2016-05-02 14:37:00 -07:00
Joshua Reisenauer
9ef0240e99
resamples added
...
Ease of use considered in api and channels are more convenient as
unsigned char type.
2016-05-02 01:24:24 -07:00
Joshua Reisenauer
790bc72806
bool return for failed update
2016-05-01 23:07:02 -07:00
Joshua Reisenauer
a2a3d3aeb6
new silence generator
2016-05-01 18:53:40 -07:00
Ray
17732fa9c4
Corrected warning with array
2016-05-02 00:38:01 +02:00
Joshua Reisenauer
34e5fcf47e
removed enums
2016-04-30 16:05:43 -07:00
Joshua Reisenauer
a1038f61b6
BPS type added to ensure consistency
2016-04-30 15:41:46 -07:00
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.
2016-04-29 23:43:21 -07:00
Joshua Reisenauer
91f1f324c0
First stage of audio API update
...
Look over changes and give feedback please.
2016-04-29 23:00:12 -07:00
Joshua Reisenauer
f707c1ca46
this should work
2016-04-27 00:02:11 -07:00
Joshua Reisenauer
299ae7a4bd
new trace logs and optimizations
2016-04-26 16:50:07 -07:00
Joshua Reisenauer
3104d3d6cd
small fix for streaming
...
There is still an issue where audio will cut off after a brief moment
2016-04-25 22:18:49 -07:00
Joshua Reisenauer
04d9deac92
setting up openal
2016-04-25 20:05:03 -07:00
Joshua Reisenauer
f12754b01f
quick fix
...
Boolean errors
2016-04-25 18:40:19 -07:00
Joshua Reisenauer
89a84a621b
implement
2016-04-24 22:04:31 -07:00
Joshua Reisenauer
1c370f5a17
cleaned up calculations
2016-04-24 22:00:40 -07:00
Joshua Reisenauer
cb05c51911
tabs to spaces fix
2016-04-24 18:18:18 -07:00
Joshua Reisenauer
ec2cbaa5eb
Added proto version of jar_xm
...
This is an early draft, needs lots of work. Still need to figure out way
to calculate total length of song. This is hard because xm tracks stream
out zeros when done, only position in track can be found. Position does
not give any direct value of how much more time is left. I think that by
setting the loop count to 1 and seeking until the end I can total up the
number of samples and come up with a length.
2016-04-24 15:25:48 -07:00
raysan5
9639b14e1b
Reduce PCM buffer size for Android to avoid stalls
2016-04-17 14:48:20 +02:00
raysan5
823abf666e
Reviewed code TODOs
2016-02-12 12:22:56 +01:00
raysan5
08da91047e
Some code tweaks
2016-01-23 13:22:13 +01:00
victorfisac
4db2da9185
Added new matrix location points and extra functions
...
- New model and view transformation matrix added, useful for shaders.
Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility.
- New extra function added DrawModelWiresEx() to set a rotation and
scale transformations to a wire model drawing.
- Other writing and little audio.c bug fixed.
2015-12-21 16:42:13 +01:00
raysan5
f4e455398c
Small bug corrected
2015-12-03 13:45:06 +01:00
raysan5
34db515acb
Reviewed some comments and WritePNG()
2015-10-06 17:13:40 +02:00
Ray
a42bfa7794
Added trace log for data unloading
2015-08-05 19:17:56 +02:00