mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-30 17:24:31 +01:00
0a52e70483
* Adds configuration options for ReplayGain as well as adds them to the configuration dialog box. * Adds the volume to the info box (I'm thinking maybe this should later say "computed volume" and be preceded by a list of the tags associated to the file). * Sadly, Winamp requires the methods related to opening, closing, seeking and getting data to basically be duplicated for the extended read functionality to work... * ReplayGain is intentionally ignored in the extended read functionality so that Winamp ReplayGain calculator can function properly. * NOTE: I think maybe the extended read functionality should ignore looping forever?
49 lines
2.2 KiB
Plaintext
49 lines
2.2 KiB
Plaintext
#include "resource.h"
|
|
//#include "afxres.h"
|
|
#include <windows.h>
|
|
#define IDC_STATIC -1
|
|
|
|
//elements: text, id, x, y, width, height [, style [, extended-style]]
|
|
IDD_CONFIG DIALOGEX 0, 0, 187, 164
|
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "in_vgmstream configuration"
|
|
FONT 8, "MS Sans Serif", 0, 0, 0x0
|
|
BEGIN
|
|
// right column
|
|
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
|
PUSHBUTTON "Default",IDC_DEFAULT_BUTTON,129,41,50,14
|
|
|
|
LTEXT "Thread Priority",IDC_STATIC,110,60,46,8
|
|
CONTROL "Slider1",IDC_THREAD_PRIORITY_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP,96,76,77,10
|
|
CTEXT "DATARIFIC",IDC_THREAD_PRIORITY_TEXT,96,92,77,18
|
|
|
|
LTEXT "ReplayGain",IDC_STATIC,100,108,38,8
|
|
COMBOBOX IDC_REPLAYGAIN,95,118,80,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "Clip Protect",IDC_STATIC,100,135,37,8
|
|
COMBOBOX IDC_CLIPPROTECT,95,145,80,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
|
|
|
|
// left column
|
|
LTEXT "Loop Count",IDC_STATIC,7,10,44,12
|
|
EDITTEXT IDC_LOOP_COUNT,52,7,39,14,ES_AUTOHSCROLL
|
|
|
|
LTEXT "Fade Length",IDC_STATIC,7,25,41,8
|
|
EDITTEXT IDC_FADE_SECONDS,52,23,39,14,ES_AUTOHSCROLL
|
|
LTEXT "seconds",IDC_STATIC,93,25,29,11
|
|
|
|
LTEXT "Fade Delay",IDC_STATIC,7,40,41,8
|
|
EDITTEXT IDC_FADE_DELAY_SECONDS,52,38,39,14,ES_AUTOHSCROLL
|
|
LTEXT "seconds",IDC_STATIC,93,40,29,11
|
|
|
|
CONTROL "Loop normally",IDC_LOOP_NORMALLY,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,7,57,77,10
|
|
CONTROL "Loop forever",IDC_LOOP_FOREVER,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,7,70,77,10
|
|
CONTROL "Ignore looping",IDC_IGNORE_LOOP,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,7,83,77,10
|
|
|
|
CONTROL "Disable subsongs",IDC_DISABLE_SUBSONGS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,99,87,10
|
|
|
|
LTEXT "Downmix",IDC_STATIC,7,115,48,12
|
|
EDITTEXT IDC_DOWNMIX_CHANNELS,52,112,37,14,ES_AUTOHSCROLL
|
|
|
|
CONTROL "Disable tagfile",IDC_TAGFILE_DISABLE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,131,87,10
|
|
END
|