diff --git a/src/Audio/StreamingSound.cs b/src/Audio/StreamingSound.cs index d3d75eb..1bb06d3 100644 --- a/src/Audio/StreamingSound.cs +++ b/src/Audio/StreamingSound.cs @@ -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 */ diff --git a/src/Audio/StreamingSoundOgg.cs b/src/Audio/StreamingSoundOgg.cs index 31ba8c5..d33ce17 100644 --- a/src/Audio/StreamingSoundOgg.cs +++ b/src/Audio/StreamingSoundOgg.cs @@ -77,7 +77,7 @@ namespace MoonWorks.Audio } } - protected unsafe override void AddBuffer( + protected unsafe override void FillBuffer( void* buffer, int bufferLengthInBytes, out int filledLengthInBytes, diff --git a/src/Video/StreamingSoundTheora.cs b/src/Video/StreamingSoundTheora.cs index 311ed9d..52a8ac7 100644 --- a/src/Video/StreamingSoundTheora.cs +++ b/src/Video/StreamingSoundTheora.cs @@ -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,