2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-07-04 19:23:43 -04:00

AttachAudioMixedProcessor Utils for easy callback (#215)

This commit is contained in:
Nicky McDonald
2024-02-24 03:44:13 -05:00
committed by GitHub
parent 818b52cbeb
commit b049b4f88d
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,10 @@
using System;
namespace Raylib_cs;
/// <summary>
/// Audio stream processor.
/// Used with Raylib.AttachAudioMixedProcessor()
/// and Raylib.DetachAudioMixedProcessor()
/// </summary>
public delegate void AudioCallback<T>(Span<T> buffer);