Skip to content

Commit

Permalink
Removed broken OptimFrog support
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster442 committed Nov 5, 2016
1 parent 594703a commit 1d9eeac
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 16 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
#1.07 - 2016.11.05
* Fixed broken bassmidi.dll
* Removed OFR support, because the current version of the bass plugin is broken, will reenable it when it's fixed

#1.06 - 2016.11.04

* Added options dialog, with various settings
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Code compiles with Visual Studio Community

##Features

* Supports various audio formats: MP3, MP4, AAC, OGG, WAV, FLAC, WavPack, Apple Lossless (ALAC), WMA, AC3, CDDA, APE, MPC, MP+, MPP, OFR, OFS, SPX, TTA, DSF, OPUS
* Supports various audio formats: MP3, MP4, AAC, OGG, WAV, FLAC, WavPack, Apple Lossless (ALAC), WMA, AC3, CDDA, APE, MPC, MP+, MPP, SPX, TTA, DSF, OPUS
* Support MIDI & tracker files playback: midi, mid, rmi, kar, xm, it, s3m, mod, mtm, umx, .mo3
* Supports various playlist formats: PLS, M3U, WPL
* 64 bit & 32 bit support
Expand Down
6 changes: 6 additions & 0 deletions TCPlayer/Code/Native.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ internal class Native
// Unregisters the hot key with Windows.
[DllImport("user32.dll")]
public static extern bool UnregisterHotKey(IntPtr hWnd, int id);

[DllImport("kernel32.dll", EntryPoint = "LoadLibrary")]
public static extern IntPtr LoadLibrary(string DllToLoad);

[DllImport("kernel32.dll", EntryPoint = "FreeLibrary")]
public static extern bool FreeLibrary(IntPtr hLib);
}


Expand Down
3 changes: 0 additions & 3 deletions TCPlayer/Code/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ You should have received a copy of the GNU General Public License
*/
using ManagedBass;
using ManagedBass.Cd;
using ManagedBass.DirectX8;
using ManagedBass.Fx;
using ManagedBass.Midi;
using ManagedBass.Mix;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;

namespace TCPlayer.Code
{
Expand Down Expand Up @@ -55,7 +53,6 @@ public Player()
Bass.PluginLoad(enginedir + "\\bass_ac3.dll");
Bass.PluginLoad(enginedir + "\\bass_ape.dll");
Bass.PluginLoad(enginedir + "\\bass_mpc.dll");
Bass.PluginLoad(enginedir + "\\bass_ofr.dll");
Bass.PluginLoad(enginedir + "\\bass_spx.dll");
Bass.PluginLoad(enginedir + "\\bass_tta.dll");
Bass.PluginLoad(enginedir + "\\bassalac.dll");
Expand Down
Binary file removed TCPlayer/Engine/x64/OptimFROG.dll
Binary file not shown.
Binary file removed TCPlayer/Engine/x64/bass_ofr.dll
Binary file not shown.
Binary file removed TCPlayer/Engine/x86/OptimFROG.dll
Binary file not shown.
Binary file removed TCPlayer/Engine/x86/bass_ofr.dll
Binary file not shown.
12 changes: 0 additions & 12 deletions TCPlayer/TCPlayer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -470,18 +470,12 @@
<Content Include="Engine\x64\bass_mpc.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x64\bass_ofr.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x64\bass_spx.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x64\bass_tta.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x64\OptimFROG.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x64\tags.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down Expand Up @@ -530,18 +524,12 @@
<Content Include="Engine\x86\bass_mpc.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x86\bass_ofr.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x86\bass_spx.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x86\bass_tta.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x86\OptimFROG.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Engine\x86\tags.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Expand Down

0 comments on commit 1d9eeac

Please sign in to comment.