diff --git a/Assets/Scripts/EditorGame/Base/ProjectFiles/SongInformation.cs b/Assets/Scripts/EditorGame/Base/ProjectFiles/SongInformation.cs index f4150bbe..b046c6e6 100644 --- a/Assets/Scripts/EditorGame/Base/ProjectFiles/SongInformation.cs +++ b/Assets/Scripts/EditorGame/Base/ProjectFiles/SongInformation.cs @@ -56,10 +56,11 @@ namespace Ichni.RhythmGame (int)(mpegFile.Length / sizeof(float) / mpegFile.Channels), mpegFile.Channels, mpegFile.SampleRate, - true, + false, data => { int actualReadCount = mpegFile.ReadSamples(data, 0, data.Length); }, position => { mpegFile = new MpegFile(filepath); }); + return ac; } diff --git a/Assets/Scripts/Manager/MusicPlayer.cs b/Assets/Scripts/Manager/MusicPlayer.cs index 8b756482..1d4778f4 100644 --- a/Assets/Scripts/Manager/MusicPlayer.cs +++ b/Assets/Scripts/Manager/MusicPlayer.cs @@ -12,7 +12,7 @@ namespace Ichni.Editor public bool isDebugging; public bool isPlaying; public AudioSource audioSource; - + private float DspTime => (float)AudioSettings.dspTime; private void Update() { if (isDebugging) diff --git a/Assets/StreamingAssets/AutoSave/World of white lies.meta b/Assets/StreamingAssets/AutoSave/World of white lies.meta new file mode 100644 index 00000000..14daa289 --- /dev/null +++ b/Assets/StreamingAssets/AutoSave/World of white lies.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8ade827ad61102946926e5f15fbfad63 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json b/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json new file mode 100644 index 00000000..4b4a59c4 --- /dev/null +++ b/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json @@ -0,0 +1,13 @@ +{ + "BeatMap" : { + "__type" : "Ichni.RhythmGame.Beatmap.BeatmapContainer_BM,Assembly-CSharp", + "value" : { + "elementList" : [ + + ], + "attachedElementGuid" : { + "value" : "00000000-0000-0000-0000-000000000000" + } + } + } +} \ No newline at end of file diff --git a/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json.meta b/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json.meta new file mode 100644 index 00000000..a1c716c1 --- /dev/null +++ b/Assets/StreamingAssets/AutoSave/World of white lies/AutoSave_0.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 7a16dd0f183be7e49b40a885552321f1 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: