|
ReactOS 0.4.17-dev-966-gf06eace
|
#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 "winternl.h"#include "wine/debug.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 623 of file mcicda.c.
Referenced by MCICDA_Info().
|
static |
Definition at line 84 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 334 of file mcicda.c.
Referenced by MCICDA_Play(), and MCICDA_Seek().
|
static |
Definition at line 381 of file mcicda.c.
Referenced by MCICDA_Status().
|
static |
Definition at line 536 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 216 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 185 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 557 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 318 of file mcicda.c.
Referenced by MCICDA_Info(), MCICDA_Play(), MCICDA_Seek(), MCICDA_SkipDataTracks(), and MCICDA_Status().
|
static |
Definition at line 232 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 272 of file mcicda.c.
Referenced by MCICDA_Status().
|
static |
Definition at line 656 of file mcicda.c.
Referenced by MCICDA_DriverProc().
|
static |
Definition at line 249 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 443 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 109 of file mcicda.c.
Referenced by MCICDA_Play().
|
static |
Definition at line 260 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 82 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().