Ordering readings
Added "SaveFileData" overload to "Raylib.Utils" Moved "SaveFileText" from "RaylibExtensions" to "Raylib.Utils" Moved "LoadFileText" from "RaylibExtensions" to "Raylib.Utils" Raymath's const "NativeLibName" is now referencing to "Raylib.NativeLibName" Color constructors are more readable Added "Dimensions" property to "Image" Changed all the "var" for explicit types on the "Logging" class Changed "Int64" for "long" on CBool, and using constructor on the operators instead setting the value manually Added indexer to "FilePathLists" Changed all "var" for explicit types on "Utf8Buffer" New "GetRandomSequence" method overloads in "Raylib.Utils" acepting "int" and "float"
This commit is contained in:
parent
c0a9549454
commit
9811c0d129
11 changed files with 140 additions and 60 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System;
|
||||
|
||||
namespace Raylib_cs;
|
||||
|
||||
|
|
@ -8,10 +8,8 @@ internal static unsafe class AudioMixed
|
|||
{
|
||||
public static AudioCallback<float> Callback = null;
|
||||
|
||||
[UnmanagedCallersOnly(CallConvs = new[]
|
||||
{
|
||||
typeof(CallConvCdecl),
|
||||
})]
|
||||
[UnmanagedCallersOnly(CallConvs = new Type[]
|
||||
{ typeof(CallConvCdecl) })]
|
||||
public static void Processor(void* buffer, uint frames)
|
||||
{
|
||||
// The buffer is stereo audio, so we need to double our frame count.
|
||||
|
|
|
|||
Loading…
Reference in a new issue