mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
29
Src/Plugins/Output/out_ds/out_ds.h
Normal file
29
Src/Plugins/Output/out_ds/out_ds.h
Normal file
@ -0,0 +1,29 @@
|
||||
#define STRICT
|
||||
#include <windows.h>
|
||||
#include "../Winamp/out.h"
|
||||
#include "ds2.h"
|
||||
#include "../pfc/pfc.h"
|
||||
|
||||
#define NAME "DirectSound output "DS2_ENGINE_VER
|
||||
|
||||
extern cfg_int cfg_def_fade;
|
||||
|
||||
class FadeCfg
|
||||
{
|
||||
public:
|
||||
const wchar_t * name;
|
||||
cfg_int time;
|
||||
cfg_int on,usedef;
|
||||
inline UINT get_time() {return on ? (usedef ? cfg_def_fade : time) : 0;}
|
||||
inline operator int() {return get_time();}
|
||||
FadeCfg(const wchar_t* name,const wchar_t* vname,int vtime,bool von,bool vusedef);
|
||||
};
|
||||
|
||||
#ifdef HAVE_SSRC
|
||||
typedef struct
|
||||
{
|
||||
UINT src_freq,src_bps,dst_freq,dst_bps;
|
||||
} RESAMPLING_STATUS;
|
||||
#endif
|
||||
|
||||
extern FadeCfg cfg_fade_start,cfg_fade_firststart,cfg_fade_stop,cfg_fade_pause,cfg_fade_seek;
|
Reference in New Issue
Block a user