rename CreateSubBuffer to Slice
parent
f81133a5a3
commit
b5e79b0e0b
|
@ -35,7 +35,7 @@ namespace MoonWorks.Audio
|
|||
/// <param name="offset">Offset in bytes from the top of the original buffer.</param>
|
||||
/// <param name="length">Length in bytes of the new buffer.</param>
|
||||
/// <returns></returns>
|
||||
public AudioBuffer CreateSubBuffer(int offset, uint length)
|
||||
public AudioBuffer Slice(int offset, uint length)
|
||||
{
|
||||
return new AudioBuffer(Device, Format, BufferDataPtr + offset, length, false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue