public BeatmaniaTaskBuilder(
     IFileSystem fileSystem,
     ILogger logger,
     IBeatmaniaPcAudioStreamReader beatmaniaPcAudioStreamReader,
     IRiffPcm16SoundEncoder riffPcm16SoundEncoder,
     IRiffStreamWriter riffStreamWriter,
     IAudioDsp audioDsp,
     IBeatmaniaPc1StreamReader beatmaniaPc1StreamReader,
     IBeatmaniaPc1ChartDecoder beatmaniaPc1ChartDecoder,
     IBmsEncoder bmsEncoder,
     IBmsStreamWriter bmsStreamWriter,
     IDjmainDecoder djmainDecoder,
     IDjmainChunkStreamReader djmainChunkStreamReader,
     IUsedSamplesCounter usedSamplesCounter,
     IBeatmaniaPcAudioDecoder beatmaniaPcAudioDecoder,
     IEncryptedBeatmaniaPcAudioStreamReader encryptedBeatmaniaPcAudioStreamReader,
     IResamplerProvider resamplerProvider,
     IDjmainChartEventStreamWriter djmainChartEventStreamWriter,
     IChartRenderer chartRenderer
     )
     : base(fileSystem, logger)
 {
     _beatmaniaPcAudioStreamReader = beatmaniaPcAudioStreamReader;
     _riffPcm16SoundEncoder        = riffPcm16SoundEncoder;
     _riffStreamWriter             = riffStreamWriter;
     _audioDsp = audioDsp;
     _beatmaniaPc1StreamReader = beatmaniaPc1StreamReader;
     _beatmaniaPc1ChartDecoder = beatmaniaPc1ChartDecoder;
     _bmsEncoder              = bmsEncoder;
     _bmsStreamWriter         = bmsStreamWriter;
     _djmainDecoder           = djmainDecoder;
     _djmainChunkStreamReader = djmainChunkStreamReader;
     _usedSamplesCounter      = usedSamplesCounter;
     _beatmaniaPcAudioDecoder = beatmaniaPcAudioDecoder;
     _encryptedBeatmaniaPcAudioStreamReader = encryptedBeatmaniaPcAudioStreamReader;
     _resamplerProvider            = resamplerProvider;
     _djmainChartEventStreamWriter = djmainChartEventStreamWriter;
     _chartRenderer = chartRenderer;
 }
Exemplo n.º 2
0
 public ChartRenderer(IAudioDsp audioDsp, IResamplerProvider resamplerProvider)
 {
     _audioDsp          = audioDsp;
     _resamplerProvider = resamplerProvider;
 }