2018-03-23 20:26:28 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CUETools.Codecs.NULL
|
|
|
|
|
|
{
|
|
|
|
|
|
public class AudioEncoder : IAudioDest
|
|
|
|
|
|
{
|
2018-03-25 17:24:27 -04:00
|
|
|
|
IAudioEncoderSettings m_settings;
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public AudioEncoder(string path, IAudioEncoderSettings settings)
|
2018-03-23 20:26:28 -04:00
|
|
|
|
{
|
|
|
|
|
|
m_settings = settings;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Close()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void Delete()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public long FinalSampleCount
|
|
|
|
|
|
{
|
|
|
|
|
|
set { }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2018-03-25 17:24:27 -04:00
|
|
|
|
public IAudioEncoderSettings Settings => m_settings;
|
2018-03-23 20:26:28 -04:00
|
|
|
|
|
|
|
|
|
|
public void Write(AudioBuffer buff)
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public string Path => null;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|