|
Wing Commander
Reconstructed Win32 source (1996)
|
DirectSound driver opening and the mixer service thread. More...
Go to the source code of this file.
Macros | |
| #define | IX_MIXER_FILE "D:\\rnd\\prj\\ix\\win95\\dsp\\mixer.cpp" |
Functions | |
| BOOL CALLBACK | ix_dsp_open_driver (LPGUID guid, LPSTR description, LPSTR module, LPVOID context) |
| DWORD WINAPI | ix_mixer_thread_proc (void *parameter) |
| int | ix_mixer_service (void) |
Variables | |
| unsigned int | dwSoundBufferSize |
| unsigned int | dwMixerWriteOffset |
| HANDLE | hIxPlaybackThread |
| HWND | hPlaybackWindow |
| HANDLE | hAudioWakeEvent |
| LPDIRECTSOUND | pDspDevice |
| unsigned int | dwDspFlags |
| LPDIRECTSOUNDBUFFER | pMixerBuffer |
| unsigned int | dwDspTick |
| LPDIRECTSOUNDBUFFER | pDspPrimaryBuffer |
DirectSound driver opening and the mixer service thread.
Originally D:\rnd\prj\ix\win95\dsp\mixer.cpp, address range 445f60-44679f, recovered from the module's own assert __FILE__ anchors.
Definition in file mixer.cpp.
| #define IX_MIXER_FILE "D:\\rnd\\prj\\ix\\win95\\dsp\\mixer.cpp" |
Definition at line 16 of file mixer.cpp.
Referenced by ix_mixer_service(), and ix_mixer_thread_proc().
| BOOL CALLBACK ix_dsp_open_driver | ( | LPGUID | guid, |
| LPSTR | description, | ||
| LPSTR | module, | ||
| LPVOID | context ) |
Definition at line 106 of file dsp.cpp.
References dwDspFlags, hPlaybackWindow, ix_dsp_open_driver(), ix_log_printf(), and pDspDevice.
Referenced by ix_dsp_open_driver(), and ix_mixer_thread_proc().
| int ix_mixer_service | ( | void | ) |
Definition at line 157 of file mixer.cpp.
References csMixer, dwDspFlags, dwDspTick, dwMixerWriteOffset, dwSoundBufferSize, ix_dsp_result_to_text(), ix_dspv_mix(), ix_log_printf(), IX_MIXER_FILE, ix_mixer_service(), and pMixerBuffer.
Referenced by ix_mixer_service(), and ix_mixer_thread_proc().
| DWORD WINAPI ix_mixer_thread_proc | ( | void * | parameter | ) |
Definition at line 33 of file mixer.cpp.
References dwDspFlags, dwSoundBufferSize, hAudioWakeEvent, ix_dsp_open_driver(), ix_dsp_result_to_text(), ix_log_printf(), IX_MIXER_FILE, ix_mixer_service(), ix_mixer_thread_proc(), nMasterVolume, pDspDevice, pDspPrimaryBuffer, and pMixerBuffer.
Referenced by ix_dsp_init(), and ix_mixer_thread_proc().
|
extern |
Definition at line 27 of file dsp.cpp.
Referenced by ix_dsp_configure(), ix_dsp_get_flags(), ix_dsp_init(), ix_dsp_open_driver(), ix_dsp_set_config_bit1(), ix_dsp_set_config_bit3(), ix_dsp_set_master_volume(), ix_dsp_shutdown(), ix_mixer_service(), and ix_mixer_thread_proc().
|
extern |
Definition at line 31 of file dsp.cpp.
Referenced by ix_dsp_get_tick(), and ix_mixer_service().
|
extern |
Definition at line 24 of file dsp.cpp.
Referenced by ix_dsp_init(), and ix_mixer_service().
|
extern |
Definition at line 26 of file dsp.cpp.
Referenced by ix_mixer_service(), and ix_mixer_thread_proc().
|
extern |
Definition at line 23 of file dsp.cpp.
Referenced by ix_dsp_configure(), ix_dsp_init(), ix_dsp_shutdown(), and ix_mixer_thread_proc().
|
extern |
Definition at line 21 of file dsp.cpp.
Referenced by ix_dsp_init(), and ix_dsp_shutdown().
|
extern |
Definition at line 22 of file dsp.cpp.
Referenced by ix_dsp_configure(), and ix_dsp_open_driver().
|
extern |
Definition at line 25 of file dsp.cpp.
Referenced by ix_dsp_configure(), ix_dsp_open_driver(), ix_dsp_shutdown(), and ix_mixer_thread_proc().
|
extern |
Definition at line 32 of file dsp.cpp.
Referenced by ix_mixer_thread_proc().
|
extern |
Definition at line 29 of file dsp.cpp.
Referenced by ix_mixer_service(), and ix_mixer_thread_proc().