public HitsoundChannel(LocalOsuFile osuFile, AudioPlaybackEngine engine, FileCache cache = null)
     : this(osuFile, Path.GetDirectoryName(osuFile.OriginPath), engine, cache)
 {
 }
        public HitsoundChannel(OsuFile osuFile, string sourceFolder, AudioPlaybackEngine engine, FileCache cache = null)
            : base(engine, new MixSettings {
            ForceMode = true
        })
        {
            _cache = cache ?? new FileCache();

            _osuFile      = osuFile;
            _sourceFolder = sourceFolder;

            Description = nameof(HitsoundChannel);
        }
Exemple #3
0
 public SampleChannel(LocalOsuFile osuFile, AudioPlaybackEngine engine,
                      ICollection <Subchannel> referencedChannels, FileCache cache = null)
     : this(osuFile, Path.GetDirectoryName(osuFile.OriginPath), engine, referencedChannels, cache)
 {
 }