diff --git a/osu.Game/Beatmaps/BeatmapManager_WorkingBeatmap.cs b/osu.Game/Beatmaps/BeatmapManager_WorkingBeatmap.cs index 77ff53b893..46bc546c4f 100644 --- a/osu.Game/Beatmaps/BeatmapManager_WorkingBeatmap.cs +++ b/osu.Game/Beatmaps/BeatmapManager_WorkingBeatmap.cs @@ -21,12 +21,14 @@ namespace osu.Game.Beatmaps { private readonly IResourceStore store; private readonly AudioManager audioManager; + private readonly TrackManager trackManager; public BeatmapManagerWorkingBeatmap(IResourceStore store, BeatmapInfo beatmapInfo, AudioManager audioManager) : base(beatmapInfo) { this.store = store; this.audioManager = audioManager; + this.trackManager = audioManager.Track; } protected override IBeatmap GetBeatmap() @@ -68,7 +70,7 @@ namespace osu.Game.Beatmaps try { var trackData = store.GetStream(getPathForFile(Metadata.AudioFile)); - return trackData == null ? null : new TrackBass(trackData); + return trackData == null ? null : trackManager.CreateTrack(trackData, false); } catch { diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj index ac3857f996..fc610442f4 100644 --- a/osu.Game/osu.Game.csproj +++ b/osu.Game/osu.Game.csproj @@ -22,6 +22,6 @@ - + \ No newline at end of file diff --git a/osu.iOS/packages.config b/osu.iOS/packages.config index 9ea8058a99..5fdbfa2465 100644 --- a/osu.iOS/packages.config +++ b/osu.iOS/packages.config @@ -73,8 +73,8 @@ - - + +