<Compile Include="カウンタ\単純増加後反復カウンタ.cs" />
<Compile Include="カウンタ\定間隔進行.cs" />
<Compile Include="フォルダ.cs" />
- <Compile Include="メディア\サウンド\WASAPI\Decoder.cs" />
+ <Compile Include="メディア\サウンド\WASAPI\DecodedWaveSource.cs" />
<Compile Include="メディア\サウンド\WASAPI\Device.cs" />
<Compile Include="メディア\サウンド\WASAPI\Mixer.cs" />
<Compile Include="メディア\サウンド\WASAPI\Sound.cs" />
/// <summary>
/// 指定されたメディアファイル(動画, 音楽)をデコードして、CSCore.IWaveSource オブジェクトを生成する。
/// </summary>
- internal class Decoder : CSCore.IWaveSource
+ internal class DecodedWaveSource : CSCore.IWaveSource
{
/// <summary>
/// シークは常にサポートする。
/// <summary>
/// メディアファイル(動画、音楽)をデコードする。
/// </summary>
- public Decoder( string path, CSCore.WaveFormat targetFormat )
+ public DecodedWaveSource( string path, CSCore.WaveFormat targetFormat )
{
// ISampleSource は IWaveSource を 32bit-float に変換して出力する仕様なので、
// 最初からその形式でデコードして ISampleSource.Read() の変換負荷を下げる。
internal Sound( string path, Mixer mixer )
{
this._MixerRef = new WeakReference<Mixer>( mixer );
- this._WaveSource = new Decoder( path, mixer.WaveFormat );
+ this._WaveSource = new DecodedWaveSource( path, mixer.WaveFormat );
this._SampleSource = this._WaveSource.ToSampleSource();
}