summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
AgeCommit message (Collapse)Author
2022-01-03Review tracelogsRay
2021-12-31Update year to 2022raysan5
2021-12-24Update raudio.craysan5
2021-12-23REVIEWED: `ExportWaveAsCode()`Ray
2021-12-21REVIEWED: `PlaySoundMulti()` #2231Ray
2021-12-21REVIEWED: Export format for float 32bitraysan5
2021-12-08Update raudio.cRay
2021-12-04Support custom modules inclusionRay
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-11-09Review variables initializationRay
- All variables are initialized on declaration, some arrays were not properly initialized - Static array buffers require memset() for re-initialization on every function call
2021-10-25Fix warnings in raylib build (#2084)Jeffery Myers
2021-10-14Remove trailing spacesRay
2021-10-13Reviewed some TODORay
2021-09-23REVIEWED: SeekMusicStream() formatingraysan5
2021-09-23Fix + Return if attempting to seek on a module format (#2008)Uneven Prankster
2021-09-22`SeekMusicStream` initial implementation (#2006)Uneven Prankster
2021-09-21Minor reviewsRay
2021-09-01REVIEWED: <name>Count for consistencyRay
Following english rules, it should be singular name before Count.
2021-08-28Minor format tweaksraysan5
2021-08-27Review datesRay
2021-08-27REVIEWED: ExportWaveAsCode()Ray
2021-08-16Remove trailing spacesRay
2021-08-16WARNING: BREAKING: Use `frameCount` on audioRay
This is a big change for optimization and a more professional understanding of audio. Instead of dealing with samples, now we deal with frames, like miniaudio does, so, avoiding continuous conversions from samples to frames.
2021-07-30Update raudio.craysan5
2021-07-29WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-raysan5
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed. - REMOVED: `Texture2D`, `Shader` structs dependency - REMOVED: `Vector3`, `Matrix` structs dependency - REMOVED: raymath functions dependency, all required math is implemented in rlgl - ADDED: `rlMatrix` custom rlgl type - ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types - ADDED: `rl` prefix to all `rlgl` structs - Other small tweaks here and there
2021-07-28Minor formatting tweakraysan5
2021-07-09Minor tweaks and commentsraysan5
2021-07-01Minor tweaksraysan5
2021-06-30Remove trailing spacesraysan5
2021-06-26REVIEWED: Minor tweaks on log messagesRay
2021-06-26REVIEWED: Simplified code to avoid extra functions callsRay
2021-06-13Remove trail spacesRay
2021-06-13Reviewed issueRay
2021-06-10Review code formattingRay
2021-06-05Minor format tweaksraysan5
2021-06-05Removed GetAudioStreamBufferSizeDefault()raysan5
2021-06-03WARNING: BREAKING: Consistency renamingsRay
RENAMED: InitAudioStream() -> LoadAudioStream() RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03Review code formattingRay
2021-05-31Update raudio.cRay
2021-05-30REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796Ray
2021-05-30Some code tweaksRay
2021-05-20WARNING: RENAMED: IsMusicPlaying() -> IsMusicStreamPlaying()Ray
2021-05-07REVIEWED: raudio_standalone #1752Ray
2021-04-18Remove trailing spacesRay
2021-04-09use xm streams in the same sample sample size as the output device (#1716)Jeffery Myers
2021-04-06Minor comment tweaksRay
2021-04-01Remove trailing spacesraysan5
2021-03-31Review code formattingraysan5
2021-03-22Review latest PR and some formattingRay
2021-03-22[AUDIO] Music Looping enhancements (#1665)Jeffery Myers
* Add loop functions for music files. Tell xm tracker to loop tracker when loop state changes. Don't let looped xm tracker streams restart, they are infinite Use modulo to make time tracker for xm looped streams work correctly. * Remove loop functions, set XM loop in update based on flag. Formatting cleanups. Co-authored-by: Jeffery Myers <[email protected]>
2021-03-21[AUDIO] Use device native sample rates (#1660)Jeffery Myers
* Init MinAudio to a sample rate of 0 to let the device pick the rate. Read the rate from the device after it starts up. Convert AUDIO_DEVICE_SAMPLE_RATE from a #def into an int, that is set from the device's rate Set all sample systems to use the AUDIO_DEVICE_SAMPLE_RATE as the target rate to minimize resampling. * use device sample rate instead of separate var let config define a device sample rate if it wants to, but let the default be 0 for native rate. * Don't use fixed sample rates for tracker files. Remove config default audio buffer size and replace with a function that computes one for a reasonable frame rate at the output sample rate.