-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdsp_width.h
More file actions
32 lines (28 loc) · 996 Bytes
/
dsp_width.h
File metadata and controls
32 lines (28 loc) · 996 Bytes
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
30
31
32
#pragma once
#include "stdafx.h"
static void RunDSPConfigPopup(const dsp_preset& p_data, HWND p_parent, dsp_preset_edit_callback& p_callback);
struct dsp_width_params {
dsp_width_params(audio_sample width) { set_width(width); }
audio_sample width;
audio_sample c1, c2;
void set_width(audio_sample width);
};
class DspWidth : public dsp_impl_base {
public:
DspWidth(dsp_preset const& in);
static GUID g_get_guid();
static void g_get_name(pfc::string_base&);
static bool g_have_config_popup();
void on_endofplayback(abort_callback&);
void on_endoftrack(abort_callback&);
void flush();
double get_latency();
bool need_track_change_mark();
bool on_chunk(audio_chunk*, abort_callback&);
static bool g_get_default_preset(dsp_preset&);
static void g_show_config_popup(const dsp_preset&, HWND, dsp_preset_edit_callback&);
static void make_preset(dsp_width_params, dsp_preset&);
static void parse_preset(dsp_width_params&, const dsp_preset&);
private:
dsp_width_params m_params;
};