|
coastline 0.0.4
|

Go to the source code of this file.
Classes | |
| struct | EarCdTrackPosition |
| Absolute CD track positions in the MCI millisecond time format. More... | |
Typedefs | |
| typedef struct EarCdTrackPosition | EarCdTrackPosition |
| Absolute CD track positions in the MCI millisecond time format. | |
Functions | |
| void | StopAndCloseMidiSequencer (void) |
| CD mixer initialisation marker, also set when mixer access is disabled. | |
| void | CloseActiveMidiSequencer (void) |
| Stop and close the MIDI sequencer when a playback is using it. | |
| void | RestoreMusicMixerControls (void) |
| Give the volume and the mute controls of the mixers back their values and close the mixers. | |
| uint16_t __stdcall | FindCdTrackAtPosition (DWORD position) |
| Find the track at a position using the loaded table. | |
| DWORD __stdcall | GetCdTrackStartPosition (uint16_t track) |
| DWORD __stdcall | GetCdTrackEndPosition (uint16_t track) |
| int __stdcall | OpenCdAudioMixer (UINT mixer) |
| Open the mixer of the CD audio, sharing the MIDI mixer when it is the same device. | |
| void | CloseCdAudioMixer (void) |
| Close the mixer of the CD audio, unless the MIDI mixer shares it. | |
| int __stdcall | OpenMidiMixer (UINT mixer) |
| Open the mixer of the MIDI music, sharing the CD audio mixer when it is the same device. | |
| void | CloseMidiMixer (void) |
| Close the mixer of the MIDI music, unless the CD audio mixer shares it. | |
| int __stdcall | CacheMidiMixerControls (DWORD line) |
| Find the volume and the mute controls of a line of the MIDI mixer and save their values. | |
| int __stdcall | CacheCdAudioMixerControls (DWORD line) |
| Find the volume and the mute controls of a line of the CD audio mixer and save their values. | |
| int | InitializeMusicMixers (void) |
| Open the mixers the configuration selects and save the values of their controls. | |
| int | OpenCdAudioDevice (void) |
| Open the CD audio device, timed in milliseconds, and read its tracks. | |
| DWORD | GetCdAudioDeviceMode (void) |
| int __stdcall | IsCdTrackInRange (DWORD track) |
| int | WaitForCdAudioReady (void) |
| Wait for an open CD audio device to close, closing its door when it has no CD and waiting up to a second at a time. | |
| int | OpenMidiSequencerDevice (void) |
| Open the MIDI sequencer. | |
| void | MarkMidiSequencerActive (void) |
| Record that a playback is using the MIDI sequencer. | |
| typedef struct EarCdTrackPosition EarCdTrackPosition |
Absolute CD track positions in the MCI millisecond time format.
| void StopAndCloseMidiSequencer | ( | void | ) |
CD mixer initialisation marker, also set when mixer access is disabled.
An independently closed mixer does not clear the native marker.
| void CloseActiveMidiSequencer | ( | void | ) |
Stop and close the MIDI sequencer when a playback is using it.
| void RestoreMusicMixerControls | ( | void | ) |
Give the volume and the mute controls of the mixers back their values and close the mixers.
| uint16_t __stdcall FindCdTrackAtPosition | ( | DWORD | position | ) |
Find the track at a position using the loaded table.
The native comparison excludes the stored final millisecond of each track.
| position | The position, in milliseconds. |
| DWORD __stdcall GetCdTrackStartPosition | ( | uint16_t | track | ) |
| track | The one-based track number in a loaded table. Zero is not a valid index. |
| DWORD __stdcall GetCdTrackEndPosition | ( | uint16_t | track | ) |
| track | The one-based track number in a loaded table. Zero is not a valid index. |
| int __stdcall OpenCdAudioMixer | ( | UINT | mixer | ) |
Open the mixer of the CD audio, sharing the MIDI mixer when it is the same device.
| mixer | The mixer device. |
| void CloseCdAudioMixer | ( | void | ) |
Close the mixer of the CD audio, unless the MIDI mixer shares it.
| int __stdcall OpenMidiMixer | ( | UINT | mixer | ) |
Open the mixer of the MIDI music, sharing the CD audio mixer when it is the same device.
| mixer | The mixer device. |
| void CloseMidiMixer | ( | void | ) |
Close the mixer of the MIDI music, unless the CD audio mixer shares it.
| int __stdcall CacheMidiMixerControls | ( | DWORD | line | ) |
Find the volume and the mute controls of a line of the MIDI mixer and save their values.
| line | The line. |
| int __stdcall CacheCdAudioMixerControls | ( | DWORD | line | ) |
Find the volume and the mute controls of a line of the CD audio mixer and save their values.
| line | The line. |
| int InitializeMusicMixers | ( | void | ) |
Open the mixers the configuration selects and save the values of their controls.
| int OpenCdAudioDevice | ( | void | ) |
Open the CD audio device, timed in milliseconds, and read its tracks.
| DWORD GetCdAudioDeviceMode | ( | void | ) |
| int __stdcall IsCdTrackInRange | ( | DWORD | track | ) |
| track | The track number to compare with the cached first and last audio-track numbers. |
| int WaitForCdAudioReady | ( | void | ) |
Wait for an open CD audio device to close, closing its door when it has no CD and waiting up to a second at a time.
| int OpenMidiSequencerDevice | ( | void | ) |
Open the MIDI sequencer.
| void MarkMidiSequencerActive | ( | void | ) |
Record that a playback is using the MIDI sequencer.