|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "config.h"#include <stdarg.h>#include <stdio.h>#include <string.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "wownt32.h"#include "mmddk.h"#include "winioctl.h"#include "ntddcdrm.h"#include "wine/winternl.h"#include "wine/debug.h"#include "wine/unicode.h"#include "dsound.h"
Go to the source code of this file.
Classes | |
| struct | WINE_MCICDAUDIO |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | CDFRAMES_PERSEC 75 |
| #define | CDFRAMES_PERMIN (CDFRAMES_PERSEC * 60) |
| #define | FRAME_OF_ADDR(a) ((a)[1] * CDFRAMES_PERMIN + (a)[2] * CDFRAMES_PERSEC + (a)[3]) |
| #define | FRAME_OF_TOC(toc, idx) FRAME_OF_ADDR((toc).TrackData[idx - (toc).FirstTrack].Address) |
| #define | RAW_SECTOR_SIZE (2352) |
| #define | CDDA_FRAG_SIZE (32768) |
| #define | CDDA_FRAG_COUNT (3) |
| #define | XX(x) case (x): str = #x; break |
Typedefs | |
| typedef HRESULT(WINAPI * | LPDIRECTSOUNDCREATE) (LPCGUID, LPDIRECTSOUND *, LPUNKNOWN) |
Variables | |
| static LPDIRECTSOUNDCREATE | pDirectSoundCreate |
| #define CDFRAMES_PERMIN (CDFRAMES_PERSEC * 60) |
| #define FRAME_OF_ADDR | ( | a | ) | ((a)[1] * CDFRAMES_PERMIN + (a)[2] * CDFRAMES_PERSEC + (a)[3]) |
| #define FRAME_OF_TOC | ( | toc, | |
| idx | |||
| ) | FRAME_OF_ADDR((toc).TrackData[idx - (toc).FirstTrack].Address) |
| typedef HRESULT(WINAPI * LPDIRECTSOUNDCREATE) (LPCGUID, LPDIRECTSOUND *, LPUNKNOWN) |
Definition at line 621 of file mcicda.c.
Referenced by MCICDA_Info().
|
static |
Definition at line 82 of file mcicda.c.
Referenced by MCICDA_CalcFrame(), MCICDA_CalcTime(), MCICDA_GetStatus(), MCICDA_Info(), MCICDA_Pause(), MCICDA_Play(), MCICDA_playLoop(), MCICDA_ReadTOC(), MCICDA_Resume(), MCICDA_Seek(), MCICDA_SetDoor(), MCICDA_Status(), and MCICDA_Stop().
|
static |
Definition at line 332 of file mcicda.c.
Referenced by MCICDA_Play(), and MCICDA_Seek().
|
static |
Definition at line 379 of file mcicda.c.
Referenced by MCICDA_Status().
|
static |
Definition at line 534 of file mcicda.c.
Referenced by MCICDA_DriverProc().
| LRESULT CALLBACK MCICDA_DriverProc | ( | DWORD_PTR | dwDevID, |
| HDRVR | hDriv, | ||
| UINT | wMsg, | ||
| LPARAM | dwParam1, | ||
| LPARAM | dwParam2 | ||
| ) |
Definition at line 1310 of file mcicda.c.
Definition at line 214 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 183 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 555 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 316 of file mcicda.c.
Referenced by MCICDA_Info(), MCICDA_Play(), MCICDA_Seek(), MCICDA_SkipDataTracks(), and MCICDA_Status().
|
static |
Definition at line 230 of file mcicda.c.
Referenced by MCICDA_Close(), MCICDA_Info(), MCICDA_Pause(), MCICDA_Play(), MCICDA_Resume(), MCICDA_Seek(), MCICDA_Set(), MCICDA_SetDoor(), MCICDA_Status(), and MCICDA_Stop().
|
static |
Definition at line 270 of file mcicda.c.
Referenced by MCICDA_Status().
|
static |
Definition at line 654 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 247 of file mcicda.c.
Referenced by MCICDA_Close(), MCICDA_GetDevCaps(), MCICDA_Info(), MCICDA_Pause(), MCICDA_Resume(), MCICDA_Seek(), MCICDA_Set(), MCICDA_Status(), and MCICDA_Stop().
|
static |
Definition at line 441 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 1120 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 898 of file mcicda.c.
Referenced by MCICDA_DriverProc().
Definition at line 107 of file mcicda.c.
Referenced by MCICDA_Play().
|
static |
Definition at line 258 of file mcicda.c.
Referenced by MCICDA_Play(), MCICDA_Seek(), MCICDA_SkipDataTracks(), and MCICDA_Status().
|
static |
Definition at line 1150 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 1176 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 1263 of file mcicda.c.
Referenced by MCICDA_DriverProc().
Definition at line 1243 of file mcicda.c.
Referenced by MCICDA_Set().
|
static |
Definition at line 867 of file mcicda.c.
Referenced by MCICDA_Play(), and MCICDA_Seek().
|
static |
Definition at line 708 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 1082 of file mcicda.c.
Referenced by MCICDA_Close(), MCICDA_DriverProc(), and MCICDA_Seek().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | mcicda | ) |
|
static |
Definition at line 80 of file mcicda.c.
Referenced by dsenum_callback(), IDirectSound_tests(), MCICDA_drvOpen(), MCICDA_Play(), START_TEST(), test_block_align(), test_dsound(), test_duplicate(), test_for_driver(), test_frequency(), test_hw_buffers(), test_invalid_fmts(), test_primary(), test_primary_3d(), test_primary_3d_with_listener(), test_primary_secondary(), and test_secondary().