Files
UmaViewer/Assets/Plugins/Lame-For-Unity/Lame/NAudio/IWaveProvider.cs
T
Evans Jahja 956bbdb6d2 Added .mp3 export (#92)
* Update to larger bitrate

* Add support for sub-voice export

---------

Co-authored-by: katboi01 <59540382+katboi01@users.noreply.github.com>
2025-07-20 07:18:58 +02:00

27 lines
814 B
C#

using System;
using NAudio.Lame;
namespace NAudio.Wave.WZT
{
/// <summary>
/// Generic interface for all WaveProviders.
/// </summary>
public interface IWaveProvider
{
/// <summary>
/// Gets the WaveFormat of this WaveProvider.
/// </summary>
/// <value>The wave format.</value>
WaveFormat WaveFormat { get; }
/// <summary>
/// Fill the specified buffer with wave data.
/// </summary>
/// <param name="buffer">The buffer to fill of wave data.</param>
/// <param name="offset">Offset into buffer</param>
/// <param name="count">The number of bytes to read</param>
/// <returns>the number of bytes written to the buffer.</returns>
int Read(byte[] buffer, int offset, int count);
}
}