Example #1
0
 public HitsoundChannel(LocalOsuFile osuFile, AudioPlaybackEngine engine, FileCache cache = null)
     : this(osuFile, Path.GetDirectoryName(osuFile.OriginPath), engine, cache)
 {
 }
Example #2
0
        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);
        }
Example #3
0
 public SampleChannel(LocalOsuFile osuFile, AudioPlaybackEngine engine,
                      ICollection <Subchannel> referencedChannels, FileCache cache = null)
     : this(osuFile, Path.GetDirectoryName(osuFile.OriginPath), engine, referencedChannels, cache)
 {
 }