|
ReactOS 0.4.17-dev-966-gf06eace
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <math.h>#include "wine/test.h"#include "windef.h"#include "winbase.h"#include "winnls.h"#include "mmsystem.h"#include "mmreg.h"#include "msacm.h"#include "wine/msacmdrv.h"
Go to the source code of this file.
Classes | |
| struct | stream_output |
Macros | |
| #define | NOBITMAP |
Functions | |
| static BOOL CALLBACK | FormatTagEnumProc (HACMDRIVERID hadid, PACMFORMATTAGDETAILSA paftd, DWORD_PTR dwInstance, DWORD fdwSupport) |
| static BOOL CALLBACK | FormatEnumProc (HACMDRIVERID hadid, LPACMFORMATDETAILSA pafd, DWORD_PTR dwInstance, DWORD fd) |
| static BOOL CALLBACK | DriverEnumProc (HACMDRIVERID hadid, DWORD_PTR dwInstance, DWORD fdwSupport) |
| static const char * | get_metric (UINT uMetric) |
| static void | check_count (UINT uMetric) |
| static void | driver_tests (void) |
| static void | test_prepareheader (void) |
| static void | test_convert (void) |
| static void | test_acmFormatSuggest (void) |
| static void | test_acmFormatTagDetails (void) |
| static void | test_acmFormatChoose (void) |
| static void | test_mp3 (void) |
| static LRESULT CALLBACK | acm_driver_func (DWORD_PTR id, HDRVR handle, UINT msg, LPARAM param1, LPARAM param2) |
| static void | test_acmDriverAdd (void) |
| START_TEST (msacm) | |
Variables | |
| static const BYTE | input [64] = {0,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,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63} |
| static const struct stream_output | expected_output [] |
| struct { | |
| struct { | |
| int load | |
| int free | |
| int open | |
| int close | |
| int enable | |
| int disable | |
| int install | |
| int remove | |
| int details | |
| int notify | |
| int querycfg | |
| int about | |
| } driver | |
| struct { | |
| int tag_details | |
| int details | |
| int suggest | |
| } format | |
| struct { | |
| int open | |
| int close | |
| int size | |
| int convert | |
| int prepare | |
| int unprepare | |
| int reset | |
| } stream | |
| int other | |
| } | driver_calls |
|
static |
Definition at line 1379 of file msacm.c.
Referenced by test_acmDriverAdd().
Definition at line 777 of file msacm.c.
Referenced by driver_tests().
Definition at line 808 of file msacm.c.
Referenced by START_TEST().
|
static |
Definition at line 317 of file msacm.c.
Referenced by driver_tests().
|
static |
Definition at line 232 of file msacm.c.
Referenced by DriverEnumProc().
|
static |
Definition at line 36 of file msacm.c.
Referenced by DriverEnumProc().
Definition at line 735 of file msacm.c.
Referenced by check_count().
| START_TEST | ( | msacm | ) |
Definition at line 1523 of file msacm.c.
Definition at line 1483 of file msacm.c.
Referenced by START_TEST().
Definition at line 1252 of file msacm.c.
Referenced by START_TEST().
Definition at line 1143 of file msacm.c.
Referenced by START_TEST().
Definition at line 1240 of file msacm.c.
Referenced by START_TEST().
Definition at line 1101 of file msacm.c.
Referenced by START_TEST().
Definition at line 1279 of file msacm.c.
Referenced by START_TEST().
Definition at line 842 of file msacm.c.
Referenced by START_TEST().
| int convert |
Definition at line 1374 of file msacm.c.
Referenced by _isctype_l(), check_convertible(), main(), MLangConvertCharset_create(), MsiSourceListEnumMediaDisksW(), SetConvertStg(), setValue(), test_D3DXFloat_Array(), test_IMLangConvertCharset(), texture2d_blt(), and tt_face_get_name().
| int details |
Definition at line 1366 of file msacm.c.
Referenced by codeview_fetch_type(), codeview_parse_one_type(), component_GetDetails(), CreateInfFileDetails(), GetDetailsOf(), mixer_test_controlA(), mixer_test_controlW(), SHELL_GetDetailsOfToBuffer(), START_TEST(), test_printers_folder(), and TestLibDependency().
| int disable |
Definition at line 1365 of file msacm.c.
Referenced by AdjustTokenPrivileges(), GetProcessPriorityBoost(), request_set_option(), SetProcessPriorityBoost(), SetThreadPriorityBoost(), and test_WinHttpSendRequest().
| struct { ... } driver |
| struct { ... } driver_calls |
Referenced by acm_driver_func(), and test_acmDriverAdd().
|
static |
Definition at line 1056 of file msacm.c.
Referenced by test_convert(), and test_shader_semantics().
| struct { ... } format |
|
static |
Definition at line 1045 of file msacm.c.
Referenced by test_convert(), and test_prepareheader().
| int install |
Definition at line 1365 of file msacm.c.
Referenced by calc_sizes(), FGetComponentPath(), and InstallEngineTiming_GetRates().
| int load |
Definition at line 1365 of file msacm.c.
Referenced by allocate_temp_registers_recurse(), append_output_copy(), append_output_var_copy(), cff_index_init(), compute_liveness_recurse(), copy_propagation_replace_with_constant_vector(), copy_propagation_replace_with_single_instr(), copy_propagation_transform_load(), copy_propagation_transform_object_load(), copy_propagation_transform_resource_load(), copy_propagation_transform_swizzle(), dump_ir_resource_load(), free_ir_load(), free_ir_resource_load(), hlsl_init_deref_from_index_chain(), hlsl_new_load_component(), hlsl_new_load_index(), hlsl_new_resource_load(), insert_early_return_break(), lower_combined_samples(), lower_discard_neg(), lower_f16tof32(), lower_f32tof16(), lower_index_loads(), lower_matrix_swizzles(), lower_nonconstant_array_loads(), lower_return(), prepend_input_copy(), prepend_input_var_copy(), prepend_uniform_copy(), resolve_fx_4_state_block_values(), shader_glsl_load_uav_typed(), sm1_generate_vsir_instr_load(), sm1_generate_vsir_instr_resource_load(), spirv_compiler_prepare_image(), split_copy(), test_ResolveDelayLoadedAPI(), track_components_usage(), track_object_components_sampler_dim(), TT_Load_Simple_Glyph(), tt_prepare_zone(), validate_dereferences(), write_fx_4_state_assignment(), write_sm4_load(), write_sm4_resinfo(), write_sm4_resource_load(), write_sm4_sample(), and write_sm4_sampleinfo().
| int notify |
Definition at line 1366 of file msacm.c.
Referenced by AEV_RegisterControlChangeNotify(), AEV_UnregisterControlChangeNotify(), common_notify4(), discard_eol(), disk_check_notify(), IDirectSoundCaptureNotifyImpl_SetNotificationPositions(), IDirectSoundNotifyImpl_SetNotificationPositions(), ITextDocument2Old_fnNotify(), LISTVIEW_KeyDown(), LISTVIEW_KillFocus(), LISTVIEW_LButtonDblClk(), LISTVIEW_LButtonDown(), LISTVIEW_RButtonDblClk(), LISTVIEW_RButtonDown(), LISTVIEW_SetFocus(), notify_remove_pair(), op_cb_notify_deviceid_args(), read_more_data(), refill_buffer(), scroll_abs(), scroll_h_abs(), scroll_v_abs(), SendNotify(), SendNotifyEx(), set_scroll_range_pos(), start_next_chunk(), surface_allocator_AdviseNotify(), test_allocate_surface_helper(), test_changed3ddevice(), test_COM(), test_duplicate(), test_gettext(), test_notifyevent(), test_renderless_formats(), test_surface_allocator_notify_refcount(), test_wm_notify(), TRACKBAR_LButtonUp(), TRACKBAR_RecalculateTics(), TRACKBAR_SetTic(), VMR9_SurfaceAllocator_AdviseNotify(), vring_new_virtqueue_packed(), and vring_new_virtqueue_split().
| int other |
Definition at line 1376 of file msacm.c.
Referenced by __rb_erase_color(), LocaleTest::_time_put_get(), AntiMonikerImpl_CommonPrefixWith(), AntiMonikerImpl_IsEqual(), AntiMonikerImpl_RelativePathTo(), audio_IAudioMediaStream_SetSameFormat(), __crt_strtox::big_integer::big_integer(), __crt_strtox::c_string_character_source< Character >::c_string_character_source(), ATL::CComBSTR::CComBSTR(), ATL::CComVariant::CComVariant(), ClassMoniker_CommonPrefixWith(), ClassMoniker_IsEqual(), CompositeMonikerImpl_CommonPrefixWith(), CompositeMonikerImpl_IsEqual(), CompositeMonikerImpl_RelativePathTo(), convert_old_args(), ATL::CComBSTR::CopyTo(), ddraw_IDirectDrawMediaStream_SetSameFormat(), dwritefont3_Equals(), dwritefontface5_Equals(), DownloadInfo::Equal(), FileMonikerImpl_IsEqual(), fontfacereference_Equals(), hlsl_copy_deref(), __crt_strtox::input_adapter_character_source< InputAdapter >::input_adapter_character_source(), ItemMonikerImpl_CommonPrefixWith(), ItemMonikerImpl_IsEqual(), ItemMonikerImpl_RelativePathTo(), MainProc(), monoTriangulationOpt(), monoTriangulationRecGenOpt(), nsURI_Equals(), nsURI_EqualsExceptRef(), ObjrefMonikerImpl_CommonPrefixWith(), ObjrefMonikerImpl_IsEqual(), ObjrefMonikerImpl_RelativePathTo(), StackAllocator< _Tp >::operator!=(), Data::operator<(), __crt_strtox::big_integer::operator=(), __crt_strtox::c_string_character_source< Character >::operator=(), ATL::CComBSTR::operator=(), CCreature::operator=(), __crt_strtox::input_adapter_character_source< InputAdapter >::operator=(), Data::operator==(), MyIntComparable::operator==(), StackAllocator< _Tp >::operator==(), PointerMonikerImpl_CommonPrefixWith(), PointerMonikerImpl_IsEqual(), PointerMonikerImpl_RelativePathTo(), RECTL_Intersect(), sampleMonoPoly(), tinyxml2::XMLElement::ShallowEqual(), StackAllocator< _Tp >::swap(), test_dialog_parent(), test_GetCharsetInfo_other(), test_SendInput_mouse_messages(), test_SetActiveWindow_0_proc(), TLB_get_size_from_hreftype(), tinyxml2::StrPair::TransferTo(), Uri_IsEqual(), wined3d_clip_blit(), xmlParseNameAndCompare(), xsltMergeAttrSets(), xsltResolveAttrSet(), and xsltResolveUseAttrSets().
| int remove |
Definition at line 1366 of file msacm.c.
Referenced by _unlink(), close_file_store(), copy_file(), create_cache(), FxDevice::DeleteObject(), CCFDATAStorage::Destroy(), do_typelib_reg_key(), EndLog(), get_subtests(), GetHostnameFromCommand(), LocalRmCmd(), main(), ModifyShellContextMenu(), pnfs_layout_state_close(), process_state_property(), RmCpTest::remove1(), remove_volume_child(), START_TEST(), SwapBookmarkFiles(), test__stat32(), test_searchenv(), test_stat(), test_utf8(), Maplist::undefine(), unpack_iso(), verify_volume(), and WinMain().
| struct { ... } stream |
| int suggest |
Definition at line 1370 of file msacm.c.
Referenced by test_acmFormatSuggest().