coastline 0.0.4
Loading...
Searching...
No Matches
musicdevice.h
Go to the documentation of this file.
1#ifndef COASTLINE_EAR_MUSICDEVICE_H
2#define COASTLINE_EAR_MUSICDEVICE_H
3
4#include <stdint.h>
5
6#include <windows.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
17extern int32_t g_bCdAudioInitialized;
18
24extern int32_t g_bMidiSequencerInitialized;
25
32extern uint16_t g_wFirstCdAudioTrack;
37extern uint16_t g_wLastCdAudioTrack;
38
43extern UINT g_uConfiguredCdMixerId;
48extern UINT g_uConfiguredMidiMixerId;
53extern DWORD g_dwConfiguredCdMixerLineId;
58extern DWORD g_dwConfiguredMidiMixerLineId;
60
67void __stdcall OpenEarMusicDevice(int cdAudio);
68
74
80
113
114#ifdef __cplusplus
115}
116#endif
117
118#endif
void __stdcall OpenEarMusicDevice(int cdAudio)
Result of the most recent CD open through OpenEarMusicDevice(), cleared by CloseCdAudioDevice().
int LoadCdTrackPositions(void)
Read the positions of the tracks of the CD and find its first audio track.
void CloseMidiMusicDevice(void)
Close the MIDI sequencer when it is open.
int CloseCdAudioDoorAndWait(void)
Close the door of the CD audio device and wait for it.
void CloseCdAudioDevice(void)
Close the CD audio device and release the positions of its tracks.
int OpenCdAudioDoor(void)
Open the door of the CD audio device.
DWORD GetCdTrackCount(void)
int IsCdAudioMediaPresent(void)
typedef DWORD
typedef UINT