Skip to content

Commit

Permalink
Fix bug where saving album got track start positions wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkilocke committed Dec 6, 2018
1 parent 8082634 commit fe45bea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ public partial class MainForm : Form {
string dest = Path.Combine(folder, string.Format("{0:00} - {1}", t + 1, filename(name))) + Properties.Settings.Default.OutputType;
Status("Saving {0} {1}", t + 1, name);
ExtractWaveProvider p = new ExtractWaveProvider(m_Reader, start, trk.LengthSeconds);
start += trk.LengthSeconds;
switch (Properties.Settings.Default.OutputType) {
case ".wma":
MediaFoundationEncoder.EncodeToWma(p, dest);
Expand Down
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("1.0.1.0")]
[assembly: AssemblyFileVersion("1.0.1.0")]

0 comments on commit fe45bea

Please sign in to comment.