-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Accounts for inclusive ends Similar issue to trying to use arr[arr.size] to index the last element in an array, the actual last element is at arr[arr.size - 1]. So start = scratchAudio.totalFrames is correct if I want to access one past the last sector of audio. * Corrects the end value of a sector. Before, we would have verseAudio.totalFrames = 2. The sectors for this should be [0 .. 3], since 2 frames 4 bytes, however, it was [0 .. 4]. Adding 1 after converting the frames to bytes corrects this issue, and removes "dead" space between sectors. * Ensures no dead space on new verse and verse edit actions * Updated chapter edit and chapter import fix Based on meeting with Joe. Uses until (-1) instead of (+1), because using (+1) does not correctly account for varying frame sizes * Fixed incorrect start for record again action * Updated return value in finalizeVerse, since we are not finalizing sectors with until * Updated tests
- Loading branch information
1 parent
b9d7e09
commit 4c3e493
Showing
7 changed files
with
162 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.