summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
AgeCommit message (Collapse)Author
2020-02-12Reviewed Cppcheck issues #1098Ray
2020-02-10[raudio] Update to latest miniaudio 0.10raysan5
2020-02-10Minor tweaksraysan5
2020-02-09Minor tweaksraysan5
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-04Update to miniaudio 0.10 (#1092)David Reid
* Update to miniaudio 0.10 This replaces the old ma_pcm_converter with ma_data_converter. At this time of this commit, miniaudio 0.10 is still in the testing phase. To make it easier to update miniaudio.h during this period, I've temporarily moved the @raysan5 Win32 customizations to raudio.c because there may be quite a few updates to miniaudio.h during this time. * Use miniaudio's built-in volume control.
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-02-03Develop branch integration (#1091)Ray
* [core] REDESIGNED: Implement global context * [rlgl] REDESIGNED: Implement global context * Reviewed globals for Android * Review Android globals usage * Update Android globals * Bump raylib version to 3.0 !!! * [raudio] REDESIGNED: Implement global context * [raudio] Reorder functions * [core] Tweaks on descriptions * Issues with SUPPORT_MOUSE_GESTURES * [camera] Use global context * REDESIGN: Move shapes drawing texture/rec to RLGL context * Review some issues on standalone mode * Update to use global context * [GAME] Upload RE-PAIR game from GGJ2020 -WIP- * Update game: RE-PAIR * [utils] TRACELOG macros proposal * Update config.h
2020-01-28Some tweaksRay
2020-01-26Corrected bug #989Ray
2020-01-14Fix for short non-looping sounds (#1067)jbosh
Short non-looping sounds can sometimes think they need to keep playing and will output their first few frames again. This helps to break out of all the loops instead of just this one.
2020-01-08Reviewed some commentsRay
2020-01-08IsAudioBufferPlaying() replace ERROR by WARNINGRay
2020-01-05Update year to 2020raysan5
2019-12-21Forcibly ensure .xm playback starts in the right place; fixes #1043. (#1045)illegalinstruction
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-22Corrected possible memory leak #993Ray
2019-10-17Remove trailing spacesRay
2019-10-03Remove dead assignments (#980)Michael Vetter
The result of `success` is actually never used. Either we should check for it and return or remove it. I assume just checking the last one is okay.
2019-09-30Add security checks on file writtingRay
2019-09-03Review dr_flac usageRay
Replaced DEPRECATED functions
2019-09-03Remove sampleLeft from Music struct... -WIP-Ray
...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.
2019-08-27Review all RL_CALLOC() callsraysan5
All data should be properly initialized by now
2019-08-13RENAMED: IsAudioBufferProcessed() -> IsAudioStreamProcessed()raysan5
Renamed for consistency with similar functions
2019-08-08Formating tweaksRay
2019-08-08fixed xmloader bug, user must free model shaders and textures as they might ↵chriscamacho
be shared (#933)
2019-07-26WARNING: Replaced Music pointer by structRay
Now, multiple music parameters are exposed to the user!
2019-07-24Some variables renamedRay
2019-07-24Added Sound parameters dataRay
2019-07-23Try to avoid collision with CoreAudio on macOSRay
2019-07-23WARNING: Complete review of raudio -WIP-Ray
This module has been completely reviewed, old structures still contained OpenAL useless data, a full module revision. Some of the changes: - Redesigned internal MusicData structure - Exposed MusicStream structure data - Reviewed AudioStream structure - Redesigned Sound structure Still some work to do...
2019-06-29Review multichannel PR additionRay
- Capital letters at beginning - for loop spacing and brackets - Functions naming for consistency - Example following examples template - Other tweaks
2019-06-29add multi channel audio to raudio (#895)chriscamacho
* 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...
2019-05-23Move jar_xm_reset to jar_xm.hWilhem Barbier
2019-05-22Add rewind for the XM music formatWilhem Barbier
2019-04-23Correct RL_FREE bugRay
2019-04-23Support custom memory management macrosRay
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.
2019-04-08Review creation yearsRay
2019-04-04Removed trail spacesRay
2019-03-20Checking issue with sound volumeRay
It seems individual sound volume level is not set...
2019-03-12Updated audio library: mini_al -> miniaudioRay
2019-03-02Corrected issue with possible 0 divisionraysan5
Reported on rfxgen tool, it crashes on some parameters
2019-02-23fix audio pitchftk
2019-02-22Change ternary operator formattingRay
2019-02-22Remove TABSRay
2019-02-21Remove end-line spacesRay
2019-02-14Fix config.h flagsJens Pitkanen
2019-02-12Avoid AudioBuffer symbol collision on macOSRay
raudio AudioBuffer internal struct collides on macOS with CoreAudio same name struct. In this case struct has been renamed because is internal to raudio... but probably all system should be redesigned.
2019-02-12Include mini_al directly, no separate moduleRay