rename abstract AddBuffer to FillBuffer
parent
1aeb3e9f6c
commit
b4a0c7de88
|
@ -118,7 +118,7 @@ namespace MoonWorks.Audio
|
||||||
{
|
{
|
||||||
void* buffer = NativeMemory.Alloc((nuint) BUFFER_SIZE);
|
void* buffer = NativeMemory.Alloc((nuint) BUFFER_SIZE);
|
||||||
|
|
||||||
AddBuffer(
|
FillBuffer(
|
||||||
buffer,
|
buffer,
|
||||||
BUFFER_SIZE,
|
BUFFER_SIZE,
|
||||||
out int filledLengthInBytes,
|
out int filledLengthInBytes,
|
||||||
|
@ -162,7 +162,7 @@ namespace MoonWorks.Audio
|
||||||
Stop();
|
Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected unsafe abstract void AddBuffer(
|
protected unsafe abstract void FillBuffer(
|
||||||
void* buffer,
|
void* buffer,
|
||||||
int bufferLength, /* in bytes */
|
int bufferLength, /* in bytes */
|
||||||
out int filledLength, /* in bytes */
|
out int filledLength, /* in bytes */
|
||||||
|
|
|
@ -77,7 +77,7 @@ namespace MoonWorks.Audio
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected unsafe override void AddBuffer(
|
protected unsafe override void FillBuffer(
|
||||||
void* buffer,
|
void* buffer,
|
||||||
int bufferLengthInBytes,
|
int bufferLengthInBytes,
|
||||||
out int filledLengthInBytes,
|
out int filledLengthInBytes,
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace MoonWorks.Video
|
||||||
VideoHandle = videoHandle;
|
VideoHandle = videoHandle;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override unsafe void AddBuffer(
|
protected override unsafe void FillBuffer(
|
||||||
void* buffer,
|
void* buffer,
|
||||||
int bufferLength,
|
int bufferLength,
|
||||||
out int filledLength,
|
out int filledLength,
|
||||||
|
|
Loading…
Reference in New Issue