summaryrefslogtreecommitdiff
path: root/plugins/BASS_interface
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-24 18:40:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-24 18:40:40 +0000
commit1669f2403ec0b3aae586555cb22ca70d60786b52 (patch)
treeac239c36740996d61ad5f5f5d7580ddf11394323 /plugins/BASS_interface
parent96f294c774de5951c7e264b797027f6d31e108d9 (diff)
fix for new bass.h
git-svn-id: http://svn.miranda-ng.org/main/trunk@5470 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BASS_interface')
-rw-r--r--plugins/BASS_interface/src/Main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp
index 4933159ad3..63f0890022 100644
--- a/plugins/BASS_interface/src/Main.cpp
+++ b/plugins/BASS_interface/src/Main.cpp
@@ -6,8 +6,6 @@ Copyright (C) 2010, 2011 tico-tico
#define BASSDEF(f) (WINAPI *f)
#include "bass.h"
-#define BASS_TCHAR BASS_UNICODE
-
#define LOADBASSFUNCTION(f) (*((void**)&f)=(void*)GetProcAddress(hBass,#f))
HINSTANCE hInst;
@@ -100,7 +98,7 @@ static int OnPlaySnd(WPARAM wParam, LPARAM lParam)
if (doPlay) {
BASS_StreamFree(sndSSnd[sndNSnd]);
- sndSSnd[sndNSnd] = BASS_StreamCreateFile(FALSE, ptszFile, 0, 0, BASS_TCHAR | BASS_STREAM_AUTOFREE);
+ sndSSnd[sndNSnd] = BASS_StreamCreateFileW(FALSE, ptszFile, 0, 0, BASS_STREAM_AUTOFREE);
BASS_ChannelPlay(sndSSnd[sndNSnd], FALSE);
sndNSnd = (sndNSnd + 1)%sndLimSnd;
}