rename abstract AddBuffer to FillBuffer

pull/20/head
cosmonaut 2022-08-01 23:22:00 -07:00
parent 1aeb3e9f6c
commit b4a0c7de88
3 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ namespace MoonWorks.Audio
{
void* buffer = NativeMemory.Alloc((nuint) BUFFER_SIZE);
AddBuffer(
FillBuffer(
buffer,
BUFFER_SIZE,
out int filledLengthInBytes,
@ -162,7 +162,7 @@ namespace MoonWorks.Audio
Stop();
}
protected unsafe abstract void AddBuffer(
protected unsafe abstract void FillBuffer(
void* buffer,
int bufferLength, /* in bytes */
out int filledLength, /* in bytes */

View File

@ -77,7 +77,7 @@ namespace MoonWorks.Audio
}
}
protected unsafe override void AddBuffer(
protected unsafe override void FillBuffer(
void* buffer,
int bufferLengthInBytes,
out int filledLengthInBytes,

View File

@ -25,7 +25,7 @@ namespace MoonWorks.Video
VideoHandle = videoHandle;
}
protected override unsafe void AddBuffer(
protected override unsafe void FillBuffer(
void* buffer,
int bufferLength,
out int filledLength,