diff options
| author | hkc <[email protected]> | 2023-02-20 13:13:24 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-20 11:13:24 +0100 |
| commit | d26a56d4e1d8168912e3670a2ff3122b125fd94c (patch) | |
| tree | fba13887810974d6b570582998f68f8343387aee /src/raylib.h | |
| parent | 47dd842e8163d43587c7f6bb91bbf88dbdbb24b1 (diff) | |
| download | raylib-d26a56d4e1d8168912e3670a2ff3122b125fd94c.tar.gz raylib-d26a56d4e1d8168912e3670a2ff3122b125fd94c.zip | |
Added mixed audio processor (#2929)
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing
Addresses problem mentioned in
https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263
(in short: when drawing pixels using DrawPixel{,V} in camera mode,
upscaled pixel becomes a line instead of bigger pixel)
* [rtextures] Fixed scaling down in ImageTextEx
Closes #2755
* Added global audio processor
* Renamed struct member to follow naming conventions
* Added example for AttachAudioMixedProcessor
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index c1b85abd..73c6d224 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1580,6 +1580,9 @@ RLAPI void SetAudioStreamCallback(AudioStream stream, AudioCallback callback); RLAPI void AttachAudioStreamProcessor(AudioStream stream, AudioCallback processor); // Attach audio stream processor to stream RLAPI void DetachAudioStreamProcessor(AudioStream stream, AudioCallback processor); // Detach audio stream processor from stream +RLAPI void AttachAudioMixedProcessor(AudioCallback processor); // Attach audio stream processor to the entire audio pipeline +RLAPI void DetachAudioMixedProcessor(AudioCallback processor); // Detach audio stream processor from the entire audio pipeline + #if defined(__cplusplus) } #endif |
