mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
68 lines
1.2 KiB
C#
68 lines
1.2 KiB
C#
using System;
|
|
|
|
namespace CUETools.Codecs
|
|
{
|
|
public class DummyWriter : IAudioDest
|
|
{
|
|
AudioPCMConfig _pcm;
|
|
|
|
public DummyWriter(string path, AudioPCMConfig pcm)
|
|
{
|
|
_pcm = pcm;
|
|
}
|
|
|
|
public void Close()
|
|
{
|
|
}
|
|
|
|
public void Delete()
|
|
{
|
|
}
|
|
|
|
public long FinalSampleCount
|
|
{
|
|
set { }
|
|
}
|
|
|
|
public int CompressionLevel
|
|
{
|
|
get { return 0; }
|
|
set { }
|
|
}
|
|
|
|
public object Settings
|
|
{
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
set
|
|
{
|
|
if (value != null && value.GetType() != typeof(object))
|
|
throw new Exception("Unsupported options " + value);
|
|
}
|
|
}
|
|
|
|
public long Padding
|
|
{
|
|
set { }
|
|
}
|
|
|
|
public long BlockSize
|
|
{
|
|
set { }
|
|
}
|
|
|
|
public AudioPCMConfig PCM
|
|
{
|
|
get { return _pcm; }
|
|
}
|
|
|
|
public void Write(AudioBuffer buff)
|
|
{
|
|
}
|
|
|
|
public string Path { get { return null; } }
|
|
}
|
|
}
|