#include <stdint.h>
#include <windows.h>
Go to the source code of this file.
◆ OpenEarMusicDevice()
| void __stdcall OpenEarMusicDevice |
( |
int | cdAudio | ) |
|
Result of the most recent CD open through OpenEarMusicDevice(), cleared by CloseCdAudioDevice().
- Ghidra address:
- EAR: 0x1003b7bc Open the mixers and then the CD audio device or the MIDI sequencer.
- Parameters
-
| cdAudio | Whether to open the CD audio device rather than the MIDI sequencer. |
- Ghidra address:
- EAR: 0x10003cdb
◆ CloseCdAudioDevice()
| void CloseCdAudioDevice |
( |
void | | ) |
|
Close the CD audio device and release the positions of its tracks.
- Ghidra address:
- EAR: 0x10003fe4
◆ CloseMidiMusicDevice()
| void CloseMidiMusicDevice |
( |
void | | ) |
|
Close the MIDI sequencer when it is open.
- Ghidra address:
- EAR: 0x100040bb
◆ GetCdTrackCount()
| DWORD GetCdTrackCount |
( |
void | | ) |
|
- Returns
- The number of tracks of the CD.
- Ghidra address:
- EAR: 0x10004832
◆ LoadCdTrackPositions()
| int LoadCdTrackPositions |
( |
void | | ) |
|
Read the positions of the tracks of the CD and find its first audio track.
- Returns
- Whether an audio track is found or a previous nonzero first-track value remains. Zero also indicates a missing device or failure to close an open door.
- Ghidra address:
- EAR: 0x10004b08
◆ IsCdAudioMediaPresent()
| int IsCdAudioMediaPresent |
( |
void | | ) |
|
- Returns
- Whether the CD audio device has a CD.
- Ghidra address:
- EAR: 0x100063c3
◆ OpenCdAudioDoor()
| int OpenCdAudioDoor |
( |
void | | ) |
|
Open the door of the CD audio device.
- Returns
- Whether the command succeeded.
- Ghidra address:
- EAR: 0x10006443
◆ CloseCdAudioDoorAndWait()
| int CloseCdAudioDoorAndWait |
( |
void | | ) |
|
Close the door of the CD audio device and wait for it.
- Returns
- Whether the command succeeded.
- Ghidra address:
- EAR: 0x10006480