x64 build for wavpack, library updated to 4.5.0

This commit is contained in:
chudov
2008-10-15 00:34:23 +00:00
parent 692a18f602
commit e342ad80c2
24 changed files with 12372 additions and 379 deletions

View File

@@ -36,15 +36,8 @@ using namespace APETagsDotNet;
#include <stdio.h>
#include <memory.h>
#include "WavPack\wavpack.h"
#include "wavpack.h"
#include <string.h>
//typedef char str_ansi;
//typedef wchar_t str_utf16;
//#define BOOL int
//#define TRUE 1
//#define FALSE 0
//#include "..\MAC_SDK\Shared\SmartPtr.h"
//#include "..\MAC_SDK\Shared\APETag.h"
namespace WavPackDotNet {
int write_block(void *id, void *data, int32_t length);
@@ -63,7 +56,7 @@ namespace WavPackDotNet {
memcpy ((void*) pPath, (const wchar_t*)pathChars.ToPointer(), pathLen*sizeof(wchar_t));
Marshal::FreeHGlobal(pathChars);
_wpc = WavpackOpenFileInput(pPath, errorMessage, OPEN_WVC, 0);
_wpc = WavpackOpenFileInput (pPath, errorMessage, OPEN_WVC, 0);
if (_wpc == NULL) {
throw gcnew Exception("Unable to initialize the decoder.");
}