blob: f481d27f18d309db8e2fb7d9f1d787ba9713b208 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;
|