Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarti856 committed Feb 22, 2023
1 parent 5f43bca commit 2a85fc1
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 22 deletions.
1 change: 1 addition & 0 deletions EuroSoundExplorer2/PanelDocks/Misc/FormMediaPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ private void ButtonSave_Click(object sender, EventArgs e)
//Save Data
if (soundToPlay.channels > 1)
{

WaveFileWriter.CreateWaveFile16(filePath, audioFunctions.CreateStereoWav(ref providerLeft, ref providerRight, soundToPlay.PcmData, soundToPlay).ToSampleProvider());
}
else
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACG
CQAAAk1TRnQBSQFMAgEBAwEAAXABAAFwAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CQAAAk1TRnQBSQFMAgEBAwEAAXgBAAF4AQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ public void ShowSampleData(Sample sampleData)
listView1.Items.Add(listViewItem);
}
listView1.EndUpdate();
TextboxSamplesCount.Text = listView1.Items.Count.ToString();
}

//-------------------------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACw
CAAAAk1TRnQBSQFMAwEBAAFYAQABWAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
CAAAAk1TRnQBSQFMAwEBAAFgAQABYAEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
AUADAAEQAwABAQEAAQgGAAEEGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void ShowStreamData()
}

//Create item
ListViewItem listViewItem2 = new ListViewItem(new string[] { i.ToString(), "??", blockPos, currentSample.MarkerSize.ToString(), audioOff, currentSample.AudioSize.ToString(), currentSample.BaseVolume.ToString() })
ListViewItem listViewItem2 = new ListViewItem(new string[] { (i+1).ToString(), "??", blockPos, currentSample.MarkerSize.ToString(), audioOff, currentSample.AudioSize.ToString(), currentSample.BaseVolume.ToString() })
{
ImageIndex = 0,
Tag = i
Expand Down
4 changes: 2 additions & 2 deletions EuroSoundExplorer2/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// Puede especificar todos los valores o usar los valores predeterminados de número de compilación y de revisión
// utilizando el carácter "*", como se muestra a continuación:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.4.0")]
[assembly: AssemblyFileVersion("2.0.4.0")]
[assembly: AssemblyVersion("2.0.5.0")]
[assembly: AssemblyFileVersion("2.0.5.0")]
2 changes: 1 addition & 1 deletion MusX/CalculusLoopOffsets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static uint ReverseGetXboxAlignedNumber(uint inputValue)
//-------------------------------------------------------------------------------------------------------------------------------
public static uint GetSoundBankEurocomImaLoopOffset(uint loopOffsetPS2)
{
uint positionAligned = (uint)(loopOffsetPS2 * 3.498389);
uint positionAligned = (uint)(loopOffsetPS2 * 3.4453125);
return GetLoopOffsetAligned(positionAligned);
}

Expand Down

0 comments on commit 2a85fc1

Please sign in to comment.