Restored two files inadvertently changed in r12511
This commit is contained in:
parent
00897baa0d
commit
c686bdc3b7
|
@ -4,9 +4,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#undef WXUNUSED
|
||||
#define WXUNUSED( x )
|
||||
|
||||
namespace _sbsms_ {
|
||||
|
||||
typedef float t_fft[2];
|
||||
|
@ -52,7 +49,7 @@ typedef long (*SBSMSResampleCB)(void *cbData, SBSMSFrame *frame);
|
|||
class SBSMSInterface {
|
||||
public:
|
||||
virtual ~SBSMSInterface() {}
|
||||
virtual long samples(audio * WXUNUSED(buf), long WXUNUSED(n)) { return 0; }
|
||||
virtual long samples(audio *buf, long n) { return 0; }
|
||||
virtual float getStretch(float t)=0;
|
||||
virtual float getPitch(float t)=0;
|
||||
virtual long getPresamples()=0;
|
||||
|
@ -81,11 +78,11 @@ class SBSMSRenderer {
|
|||
public:
|
||||
virtual ~SBSMSRenderer() {}
|
||||
virtual void startFrame() {}
|
||||
virtual void startTime(int WXUNUSED(c), const TimeType & WXUNUSED(time), int WXUNUSED(n)) {}
|
||||
virtual void render(int WXUNUSED(c), SBSMSTrack * WXUNUSED(t)) {}
|
||||
virtual void endTime(int WXUNUSED(c)) {}
|
||||
virtual void startTime(int c, const TimeType &time, int n) {}
|
||||
virtual void render(int c, SBSMSTrack *t) {}
|
||||
virtual void endTime(int c) {}
|
||||
virtual void endFrame() {}
|
||||
virtual void end(const SampleCountType & WXUNUSED(samples)) {}
|
||||
virtual void end(const SampleCountType &samples) {}
|
||||
};
|
||||
|
||||
enum SBSMSError {
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
CommandLine="echo // Automatically generated file >"$(InputDir)/$(ConfigurationName)/config.h"
IF NOT "%DXSDK_DIR%" == "" echo #define PX_USE_WIN_DSOUND 1 >>"$(InputDir)/$(ConfigurationName)/config.h"
"
|
||||
ExcludedFromBuild="true"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
|
@ -150,7 +149,6 @@
|
|||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="set BASE="../../../lib-src/portmixer"
set CFLAGS=/Od /I "%BASE%/../portaudio-v19/include" /I "%BASE%/include" /D "WIN32" /D "_DEBUG" /D "_LIB" /D "PX_USE_WIN_MME" /D "_MBCS" /GF /FD /EHsc /RTC1 /MDd /Gy /Fo"$(IntDir)/" /Fd"$(IntDir)/" /W3 /nologo /c /ZI /wd4996 /FI "$(InputDir)/$(ConfigurationName)/config.h" /errorReport:prompt
set LIBS=

if "%DXSDK_DIR%"=="" goto NoDX

cl %CFLAGS% /I "%DXSDK_DIR%/include" "%BASE%/src/px_win_ds.c"

set LIBS="%DXSDK_DIR%/lib/x86/dxguid.lib"

:NoDX

lib /OUT:"$(TargetPath)" "$(IntDir)/*.obj" %LIBS%
"
|
||||
ExcludedFromBuild="true"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
|
|
Loading…
Reference in New Issue