AttachAudioMixedProcessor Utils for easy callback (#215)
This commit is contained in:
parent
818b52cbeb
commit
b049b4f88d
3 changed files with 57 additions and 0 deletions
10
Raylib-cs/types/AudioCallback.cs
Normal file
10
Raylib-cs/types/AudioCallback.cs
Normal 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);
|
||||
Loading…
Reference in a new issue