mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-25 16:34:45 -04:00
refactor(song): Remove song length from Song and assume the user knows MAX_SAMPLES
Trying to force a specific song length other than the default never quite worked, so we'll only support the default MAX_SAMPLES & will calculate it for the user in the user in the exported .h header file.
This commit is contained in:
@ -158,7 +158,7 @@ func DeserializeAsm(asmcode string) (*Song, error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
s := Song{BPM: bpm, Patterns: patterns, Tracks: tracks, Patch: patch, SongLength: -1}
|
||||
s := Song{BPM: bpm, Patterns: patterns, Tracks: tracks, Patch: patch}
|
||||
return &s, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user