ReactOS 0.4.16-dev-258-g81860b4
|
#include "stdafx.h"
#include <commctrl.h>
#include <commdlg.h>
#include <winnls.h>
#include "sndrec32.h"
#include "shellapi.h"
Go to the source code of this file.
Macros | |
#define | gprintf _snprintf |
Functions | |
ATOM | MyRegisterClass (HINSTANCE hInstance) |
ATOM | MyRegisterClass_wave (HINSTANCE hInstance) |
BOOL | InitInstance (HINSTANCE, int) |
BOOL | InitInstance_wave (HWND, HINSTANCE, int) |
LRESULT CALLBACK | WndProc (HWND, UINT, WPARAM, LPARAM) |
LRESULT CALLBACK | WndProc_wave (HWND, UINT, WPARAM, LPARAM) |
int APIENTRY | _tWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) |
void | l_play_finished (void) |
void | l_audio_arrival (unsigned int samples_arrival) |
void | l_buffer_resized (unsigned int new_size) |
VOID | enable_but (DWORD id) |
VOID | disable_but (DWORD id) |
BOOL | open_wav (TCHAR *f) |
BOOL | write_wav (TCHAR *f) |
Variables | |
HINSTANCE | hInst |
TCHAR | szTitle [MAX_LOADSTRING] |
TCHAR | szWindowClass [MAX_LOADSTRING] |
BOOL | win_first |
BOOL | wout_first |
HWND | main_win |
HWND | wave_win |
HWND | slider |
HWND | buttons [5] |
HBITMAP | butbmps [5] |
HBITMAP | butbmps_dis [5] |
WNDPROC | buttons_std_proc |
BOOL | butdisabled [5] |
BOOL | stopped_flag |
BOOL | isnew |
BOOL | display_dur |
DWORD | slider_pos |
WORD | slider_min |
WORD | slider_max |
DWORD | samples_max |
OPENFILENAME | ofn |
TCHAR | file_path [MAX_PATH] |
TCHAR | str_pos [MAX_LOADSTRING] |
TCHAR | str_dur [MAX_LOADSTRING] |
TCHAR | str_buf [MAX_LOADSTRING] |
TCHAR | str_fmt [MAX_LOADSTRING] |
TCHAR | str_chan [MAX_LOADSTRING] |
TCHAR | str_mono [10] |
TCHAR | str_stereo [10] |
BOOL | path_set |
snd::audio_membuffer * | AUD_BUF |
snd::audio_waveout * | AUD_OUT |
snd::audio_wavein * | AUD_IN |
BOOL | s_recording |
NONCLIENTMETRICS | s_info |
RECT | text_rect |
RECT | text2_rect |
RECT | cli |
Definition at line 19 of file sndrec32.cpp.
int APIENTRY _tWinMain | ( | HINSTANCE | hInstance, |
HINSTANCE | hPrevInstance, | ||
LPTSTR | lpCmdLine, | ||
int | nCmdShow | ||
) |
Definition at line 83 of file sndrec32.cpp.
Definition at line 911 of file sndrec32.cpp.
Referenced by l_play_finished(), open_wav(), and WndProc().
Definition at line 246 of file sndrec32.cpp.
Referenced by _tWinMain().
Definition at line 299 of file sndrec32.cpp.
Referenced by WndProc().
Definition at line 890 of file sndrec32.cpp.
Referenced by _tWinMain().
Definition at line 224 of file sndrec32.cpp.
Referenced by _tWinMain().
Definition at line 277 of file sndrec32.cpp.
Referenced by _tWinMain().
Definition at line 923 of file sndrec32.cpp.
Referenced by WndProc().
Definition at line 422 of file sndrec32.cpp.
Referenced by MyRegisterClass().
Definition at line 335 of file sndrec32.cpp.
Referenced by MyRegisterClass_wave().
Definition at line 1043 of file sndrec32.cpp.
Referenced by WndProc().
snd::audio_membuffer* AUD_BUF |
Definition at line 69 of file sndrec32.cpp.
Referenced by _tWinMain(), open_wav(), WndProc(), and write_wav().
snd::audio_wavein* AUD_IN |
Definition at line 71 of file sndrec32.cpp.
Referenced by _tWinMain(), WndProc(), and WndProc_wave().
snd::audio_waveout* AUD_OUT |
Definition at line 70 of file sndrec32.cpp.
Referenced by _tWinMain(), WndProc(), and WndProc_wave().
HBITMAP butbmps[5] |
Definition at line 41 of file sndrec32.cpp.
Referenced by _tWinMain(), enable_but(), and WndProc().
HBITMAP butbmps_dis[5] |
Definition at line 42 of file sndrec32.cpp.
Referenced by _tWinMain(), and disable_but().
BOOL butdisabled[5] |
Definition at line 45 of file sndrec32.cpp.
Referenced by disable_but(), enable_but(), and WndProc().
HWND buttons[5] |
Definition at line 40 of file sndrec32.cpp.
Referenced by CDefView::_MergeToolbar(), CToolbar< TItemData >::AddButtons(), basic_test(), DECLARE_INTERFACE_(), disable_but(), enable_but(), HH_AddToolbar(), CFontsDialog::InitToolbar(), rebuild_toolbar_with_buttons(), taskdialog_find_button(), test_get_set_style(), test_setrows(), and WndProc().
WNDPROC buttons_std_proc |
Definition at line 43 of file sndrec32.cpp.
RECT cli |
Definition at line 79 of file sndrec32.cpp.
Referenced by WndProc_wave().
BOOL display_dur |
Definition at line 48 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
Definition at line 57 of file sndrec32.cpp.
Referenced by create_cache_entry(), DocObjectService_FireBeforeNavigate2(), install_from_unix_file(), on_before_navigate2(), test_cache_read(), test_interfaces(), VfdInstallDriver(), VfdRemoveDriver(), and WndProc().
HINSTANCE hInst |
Definition at line 24 of file sndrec32.cpp.
Referenced by InitInstance(), InitInstance_wave(), and WndProc().
BOOL isnew |
Definition at line 47 of file sndrec32.cpp.
Referenced by _tWinMain(), open_wav(), and WndProc().
HWND main_win |
Definition at line 37 of file sndrec32.cpp.
Referenced by _tWinMain(), InitInstance(), open_wav(), and write_wav().
OPENFILENAME ofn |
Definition at line 56 of file sndrec32.cpp.
Referenced by ActionDlg_OnBrowse(), COpenWithDialog::Browse(), BtrfsSend::Browse(), BrowseCursor(), BrowseFile(), BrowseRequiredFile(), CaptureDialogProc(), CreateTemplateDialog(), dialog_print_to_file(), DialogOpenFile(), DoFileOpen(), DoFileSave(), DoOpenFile(), DoSaveAs(), DoSaveFile(), export_file_dlg_proc(), ExportFile(), ExportRegistryFile(), FD31_ScanDir(), FD31_WMInitDialog(), FILEDLG95_OnOpen(), FILEDLG95_OnOpenMultipleFiles(), FileExtractDialogWndProc(), GetFileDialog95(), GetFileNameFromBrowse(), CMainWindow::GetOpenFileName(), GetOpenFileNameA(), GetOpenFileNameW(), GetOpenFileNameWrapW(), GetSaveFileNameA(), GetSaveFileNameW(), GetSaveFileNameWrapW(), import_file_dlg_proc(), ImportRegistryFile(), init_filedlg_infoA(), init_filedlg_infoW(), LoadClipboardFromFile(), LoadHive(), MainWnd_OnExport(), MainWnd_OnImport(), MountFloppy(), OnBrowse(), OnBrowseButton(), PickIconProc(), promptdisk_browse(), RecvSubvolGUIW(), RunDlgProc(), SoundsDlgProc(), test_arrange(), test_create_view_template(), test_create_view_window2(), test_DialogCancel(), test_extension(), test_extension_helper(), test_getfolderpath(), test_mru(), test_ok(), test_ole_initialization(), test_resizable2(), test_resize(), and WndProc().
BOOL path_set |
Definition at line 67 of file sndrec32.cpp.
Referenced by _tWinMain().
NONCLIENTMETRICS s_info |
Definition at line 75 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
BOOL s_recording |
Definition at line 73 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
DWORD samples_max |
Definition at line 54 of file sndrec32.cpp.
Referenced by _tWinMain(), l_audio_arrival(), open_wav(), and WndProc().
HWND slider |
Definition at line 39 of file sndrec32.cpp.
Referenced by BtrfsDeviceResize::DeviceResizeDlgProc(), and WndProc().
WORD slider_max |
Definition at line 52 of file sndrec32.cpp.
Referenced by _tWinMain(), l_audio_arrival(), and WndProc().
WORD slider_min |
Definition at line 51 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
DWORD slider_pos |
Definition at line 50 of file sndrec32.cpp.
Referenced by _tWinMain(), l_audio_arrival(), and WndProc().
BOOL stopped_flag |
Definition at line 46 of file sndrec32.cpp.
Referenced by _tWinMain(), l_play_finished(), and WndProc().
TCHAR str_buf[MAX_LOADSTRING] |
Definition at line 60 of file sndrec32.cpp.
Referenced by _tWinMain(), test_sorting(), testScreenBuffer(), and WndProc().
TCHAR str_chan[MAX_LOADSTRING] |
Definition at line 62 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR str_dur[MAX_LOADSTRING] |
Definition at line 59 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR str_fmt[MAX_LOADSTRING] |
Definition at line 61 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR str_mono[10] |
Definition at line 64 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR str_pos[MAX_LOADSTRING] |
Definition at line 58 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR str_stereo[10] |
Definition at line 65 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
TCHAR szTitle[MAX_LOADSTRING] |
Definition at line 25 of file sndrec32.cpp.
Referenced by _tWinMain(), and InitInstance().
TCHAR szWindowClass[MAX_LOADSTRING] |
Definition at line 26 of file sndrec32.cpp.
Referenced by _tWinMain(), InitInstance(), and MyRegisterClass().
RECT text2_rect |
Definition at line 78 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
RECT text_rect |
Definition at line 77 of file sndrec32.cpp.
Referenced by _tWinMain(), MONTHCAL_PaintTodayTitle(), and WndProc().
HWND wave_win |
Definition at line 38 of file sndrec32.cpp.
Referenced by InitInstance_wave(), l_play_finished(), and WndProc().
BOOL win_first |
Definition at line 35 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().
BOOL wout_first |
Definition at line 35 of file sndrec32.cpp.
Referenced by _tWinMain(), and WndProc().