ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <math.h>
#include <wine/test.h>
#include <wingdi.h>
#include <mmreg.h>
#include <mmsystem.h>
#include <dsound.h>
#include <dsconf.h>
#include <ks.h>
#include <ksmedia.h>
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | _INC_WINDOWS |
#define | COM_NO_WINDOWS_H |
#define | COBJMACROS |
#define | NB_FORMATS (sizeof(formats)/sizeof(*formats)) |
#define | NB_TAGS (sizeof(format_tags)/sizeof(*format_tags)) |
#define | TIME_SLICE 31 |
#define | BUFFER_LEN 400 |
Functions | |
char * | wave_generate_la (WAVEFORMATEX *, double, DWORD *, BOOL) |
HWND | get_hwnd (void) |
void | init_format (WAVEFORMATEX *, int, int, int, int) |
void | test_buffer (LPDIRECTSOUND, LPDIRECTSOUNDBUFFER *, BOOL, BOOL, LONG, BOOL, LONG, BOOL, double, BOOL, LPDIRECTSOUND3DLISTENER, BOOL, BOOL, BOOL, DWORD) |
void | test_buffer8 (LPDIRECTSOUND8, LPDIRECTSOUNDBUFFER *, BOOL, BOOL, LONG, BOOL, LONG, BOOL, double, BOOL, LPDIRECTSOUND3DLISTENER, BOOL, BOOL) |
const char * | getDSBCAPS (DWORD xmask) |
int | align (int length, int align) |
const char * | format_string (const WAVEFORMATEX *wfx) |
Variables | |
static const unsigned int | formats [][4] |
static const unsigned int | format_tags [] = {WAVE_FORMAT_PCM, WAVE_FORMAT_IEEE_FLOAT} |
#define _INC_WINDOWS |
Definition at line 27 of file dsound_test.h.
#define BUFFER_LEN 400 |
Definition at line 98 of file dsound_test.h.
#define COBJMACROS |
Definition at line 29 of file dsound_test.h.
#define COM_NO_WINDOWS_H |
Definition at line 28 of file dsound_test.h.
#define NB_TAGS (sizeof(format_tags)/sizeof(*format_tags)) |
Definition at line 94 of file dsound_test.h.
#define TIME_SLICE 31 |
Definition at line 97 of file dsound_test.h.
#define WIN32_NO_STATUS |
Definition at line 26 of file dsound_test.h.
Definition at line 36 of file dsound8.c.
Referenced by _test_img_align(), Align(), align(), align_length(), align_output(), align_pointer(), align_pointer_clear(), align_pointer_offset(), align_pointer_offset_clear(), AlignAndAlloca(), AlignAndAllocaAndBigLocals(), AlignAndAllocaAndEbpAdj(), AlignAndBigLocals(), AlignAndEbpAdj(), anonymous_namespace{activex.cpp}::aligndown(), anonymous_namespace{activex.cpp}::alignup(), clamp_align(), d3d8_device_DrawIndexedPrimitiveUP(), d3d8_device_DrawPrimitiveUP(), d3d9_device_DrawIndexedPrimitiveUP(), d3d9_device_DrawPrimitiveUP(), d3d_device7_DrawIndexedPrimitive(), d3d_device7_DrawIndexedPrimitiveStrided(), d3d_device7_DrawPrimitive(), d3d_device7_DrawPrimitiveStrided(), DrawStatusTextW(), EMFDC_SetTextAlign(), EMFDRV_SetTextAlign(), field_memsize(), fields_memsize(), GdipGetStringFormatAlign(), GdipGetStringFormatLineAlign(), GdipSetStringFormatAlign(), GdipSetStringFormatLineAlign(), get_padding(), get_required_buffer_size_type(), GSCookieAndAlign(), GSCookieAndAlignAndAlloca(), GSCookieAndAlignAndAllocaAndBigLocals(), GSCookieAndAlignAndAllocaAndEbpAdj(), GSCookieAndAlignAndBigLocals(), GSCookieAndAlignAndEbpAdj(), macho_map_file(), ME_DebugWrite(), ME_DrawParagraph(), ME_InsertRowStart(), METADC_SetTextAlign(), MFDRV_SetTextAlign(), psh_hint_align(), query_align_status(), StringFormat::SetAlignment(), StringFormat::SetLineAlignment(), taskdialog_layout(), test_constructor(), test_dsound(), test_dsound8(), test_frequency(), test_getgenericdefault(), test_getgenerictypographic(), test_primary_secondary(), test_primary_secondary8(), test_secondary(), test_secondary8(), test_SysAllocString(), test_TabbedText(), ThemeDrawCaptionText(), TLB_get_size_from_hreftype(), TLB_size_instance(), TREEVIEW_DrawItem(), TryAndAlign(), TryAndAlignAndAlloca(), TryAndAlignAndAllocaAndBigLocals(), TryAndAlignAndAllocaAndEbpAdj(), TryAndAlignAndBigLocals(), TryAndAlignAndEbpAdj(), TryAndGSCookieAndAlign(), TryAndGSCookieAndAlignAndAlloca(), TryAndGSCookieAndAlignAndAllocaAndBigLocals(), TryAndGSCookieAndAlignAndAllocaAndEbpAdj(), TryAndGSCookieAndAlignAndBigLocals(), TryAndGSCookieAndAlignAndEbpAdj(), type_buffer_alignment(), type_memsize(), type_memsize_and_alignment(), UDFFindMinSuitableExtent(), union_memsize(), VARIANT_UserMarshal(), VARIANT_UserSize(), VARIANT_UserUnmarshal(), vring_init(), vring_size(), vring_size_split(), wined3d_resource_allocate_sysmem(), write_array_tfs(), write_fixed_array_pointer_descriptions(), write_func_param_struct(), write_no_repeat_pointer_descriptions(), write_pointer_description_offsets(), write_struct_members(), write_struct_tfs(), write_union_tfs(), write_varying_array_pointer_descriptions(), XXH_readLE32_align(), XXH_readLE64_align(), and ZSTD_cwksp_align().
const char * format_string | ( | const WAVEFORMATEX * | wfx | ) |
Definition at line 84 of file capture.c.
Referenced by acpi_extract_package(), dscenum_callback(), test_buffer(), test_buffer8(), test_primary_secondary(), and test_primary_secondary8().
Definition at line 146 of file ds3d.c.
Referenced by test_buffer(), test_primary(), test_primary_3d(), test_primary_3d_with_listener(), and test_secondary().
Definition at line 106 of file ds3d.c.
Referenced by test_secondary(), and test_secondary8().
Definition at line 154 of file ds3d.c.
Referenced by dscenum_callback(), test_block_align(), test_buffer(), test_buffer8(), test_COM(), test_dsound(), test_dsound8(), test_duplicate(), test_frequency(), test_primary(), test_primary8(), test_primary_secondary(), test_primary_secondary8(), test_secondary(), and test_secondary8().
void test_buffer | ( | LPDIRECTSOUND | dso, |
LPDIRECTSOUNDBUFFER * | dsbo, | ||
BOOL | is_primary, | ||
BOOL | set_volume, | ||
LONG | volume, | ||
BOOL | set_pan, | ||
LONG | pan, | ||
BOOL | play, | ||
double | duration, | ||
BOOL | buffer3d, | ||
LPDIRECTSOUND3DLISTENER | listener, | ||
BOOL | move_listener, | ||
BOOL | move_sound, | ||
BOOL | set_frequency, | ||
DWORD | frequency | ||
) |
Definition at line 315 of file ds3d.c.
void test_buffer8 | ( | LPDIRECTSOUND8 | dso, |
LPDIRECTSOUNDBUFFER * | dsbo, | ||
BOOL | is_primary, | ||
BOOL | set_volume, | ||
LONG | volume, | ||
BOOL | set_pan, | ||
LONG | pan, | ||
BOOL | play, | ||
double | duration, | ||
BOOL | buffer3d, | ||
LPDIRECTSOUND3DLISTENER | listener, | ||
BOOL | move_listener, | ||
BOOL | move_sound | ||
) |
Definition at line 167 of file ds3d8.c.
Referenced by test_primary8(), test_primary_3d8(), test_primary_3d_with_listener8(), test_primary_secondary8(), and test_secondary8().
char * wave_generate_la | ( | WAVEFORMATEX * | wfx, |
double | duration, | ||
DWORD * | size, | ||
BOOL | ieee | ||
) |
Definition at line 35 of file ds3d.c.
Referenced by test_buffer(), and test_buffer8().
|
static |
Definition at line 93 of file dsound_test.h.
Referenced by test_primary_secondary(), test_primary_secondary8(), test_secondary(), and test_secondary8().
Definition at line 41 of file dsound_test.h.