raysan5
959a228815
Removed useless spacing
2016-08-16 11:09:55 +02:00
raysan5
342b89c5b9
Review Wave struct
2016-08-15 16:35:25 +02:00
raysan5
cae209816c
Code tweak to avoid warning
2016-08-07 13:38:14 +02:00
raysan5
306945fe14
Added trace on audio device closing
2016-08-06 19:30:56 +02:00
raysan5
8c0bd30fcb
Corrected issue with Music type
2016-08-02 19:09:07 +02:00
raysan5
68d647c1af
Complete review and update
...
Simplified module for Music and AudioStream
Added support for raw audio streaming (with example)
2016-08-02 17:32:24 +02:00
raysan5
58d2f70b7e
Review audio module and examples
2016-08-01 21:37:45 +02:00
raysan5
2dc5f580a6
Removed audio errors register
2016-08-01 12:58:30 +02:00
raysan5
02c456432d
Complete review of audio system
...
Still some work left...
2016-08-01 12:49:17 +02:00
Ray
a61b832c4a
Merge pull request #166 from Bil152/develop
...
Code refractoring of music module to be more user-friendly (issue #144 )
2016-07-30 12:45:31 +02:00
Bil152
8f7cb6fb19
Code refractoring of music model to be more friendly-user (issue #144 )
2016-07-29 21:35:57 +02:00
raysan5
a008d49230
Corrected some issues to compile with MSC
2016-07-29 13:17:50 +02:00
raysan5
6d68c78989
Updated log output info
2016-07-26 12:44:33 +02:00
raysan5
7959ccd84d
Review some functions, formatting and comments
2016-07-15 18:16:34 +02:00
raysan5
338bb3fd9c
Review variables to raylib naming conventions
...
Some review work still required...
2016-07-13 20:05:53 +02:00
raysan5
3884716948
Corrected a couple of warnings
2016-06-11 12:01:39 +02:00
raysan5
d63e32a377
Remove include, not supported on html5
...
AL/alext.h is not supported on html5 OpenAL implementation, just
replaced by the defines used in audio module
2016-06-11 11:21:24 +02:00
Joshua Reisenauer
f0d8c009ae
cleaned things up
2016-06-07 16:03:21 -07:00
Ray
29d505c98e
Reorganize external libraries - BREAKING CHANGE -
...
Moved all external libraries used by raylib to external folder inside
raylib src. Makefile has already been update and also the different
includes in raylib modules.
2016-06-06 14:34:43 +02:00
raysan5
cafc66a3c1
Rename for consistency with other functions
2016-06-02 19:09:56 +02:00
raysan5
4fb3103dfa
Corrected some formatting issues
2016-06-02 18:19:47 +02:00
raysan5
cf6d2e3985
Review coding style to match raylib style
...
Moved AudioError enum inside audio.c
2016-06-02 17:12:31 +02:00
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
raysan5
e8fa630c28
Audio module reviewed for standalone usage
2015-07-31 12:31:39 +02:00
raysan5
f7acee9221
Decoupling audio module from raylib
...
Now audio module can be used as standalone module
2015-07-29 21:41:19 +02:00
raysan5
fd851d1d8b
Improved custom shaders support
...
Corrected issues with textures loading
2015-05-21 14:13:51 +02:00
raysan5
e25f1227c0
Updated stb headers
2015-05-11 18:22:16 +02:00
raysan5
b9e53cd135
Removed useless spaces
2015-02-02 00:53:49 +01:00
Ray
7d0407c6a2
Pause music when window minimized
2015-01-21 00:12:54 +01:00
raysan5
5104567a24
Some code tweaks
2015-01-18 10:57:30 +01:00
raysan5
905b6ec53d
Added full support for HTML5 (emscripten)
...
Corrected some bugs on the way...
Automatically convert textures to POT on RPI and WEB
2014-12-31 18:03:32 +01:00
raysan5
cfa60ab7e6
Added support for emscripten and more
...
Added PLATFORM_WEB support (emscripten-webgl)
[audio] Added LoadSoundFromWave()
[textures] Added LoadTextureFromImage() to replace CreateTexture()
Some TraceLogs edited...
2014-12-15 01:08:30 +01:00
raysan5
7375d0460a
Updated stb headers
2014-11-23 21:58:17 +01:00
Miguel Lechón
e6ef3f6e6a
Fixed WAV loading under 64-bit systems.
2014-11-09 08:06:58 +01:00
raysan5
fc6081fe70
raylib 1.2
...
This is a huge update. Check CHANGELOG for details
2014-09-16 22:51:31 +02:00
raysan5
c56ef738ed
Explicit define of functions prototypes
...
No-parameters functions use the prototype style FunctionName(void);
2014-09-03 17:06:10 +02:00
raysan5
d2b98fbb5c
Removed useless spaces
2014-09-03 16:51:28 +02:00
raysan5
56a7979750
Corrected bugs...
...
Set default raylib to use OpenGL 1.1 (compatibility issues on ATI cards)
2014-07-23 19:50:06 +02:00
raysan5
8e186e840c
Updated some comments
2014-06-09 16:33:53 +02:00
raysan5
f06a15ac8b
raylib 1.1
...
View CHANGELOG for a detailed list of changes
2014-04-19 16:36:49 +02:00
raysan5
e6b82cb111
Lots of changes, most of them under testing-review
...
Added a Tracing/Log system
Added OGG stream music support (DOESN'T WORK)
Added Compressed textures support
* This update is probably very buggy...
2014-04-09 20:25:26 +02:00
raysan5
c04f37d0f5
Adapt multiple functions to rlgl
...
Nearly a complete rework of Models module
Some teaks on multiple functions
2014-04-04 20:11:57 +02:00
raysan5
43b13d623b
Update to version 1.0.5
...
Check CHANGELOG for changes
2014-01-28 21:21:29 +01:00
raysan5
2cf5fa7765
Updated raylib to version 1.0.4
...
Lots of changes added, check CHANGELOG for detailed description
2014-01-23 12:36:18 +01:00
raysan5
f79beffc34
Audio issues solved... Audio Works!
2013-12-01 12:34:31 +01:00
raysan5
ccf2608091
Replaced tab by 4 spaces and adjust text
2013-11-23 13:30:54 +01:00
Ray
46f10b45ad
raylib basic folders structure and some files... ;)
2013-11-18 23:38:44 +01:00