Receiver that hands every event of the file to its builder.
More...
#include <mixmidibuilder.h>
|
| | BuilderReceiver (MixMidiBuilder *pOwner) |
| | Construct the receiver of a builder.
|
| | ~BuilderReceiver () override |
| | Release the receiver.
|
| void | OnNewTrack (unsigned char nTrack) override |
| | Begin a track.
|
| void | OnEndTrack () override |
| | End the track.
|
| void | OnAllDone () override |
| | End the file.
|
| void | OnMidi (int nTick, unsigned char nStatus, unsigned char nData1, unsigned char nData2) override |
| | Report a channel message.
|
| void | OnTempo (int nTick, int nMicrosecondsPerBeat) override |
| | Report a tempo change.
|
| void | OnText (int nTick, const char *pszText, unsigned char nType) override |
| | Report a text meta event.
|
| void | OnTimeSignature (int nTick, int nNumerator, int nDenominator) override |
| | Report a time signature.
|
| virtual | ~MidiReceiver () |
| | Release the receiver.
|
Receiver that hands every event of the file to its builder.
The RTTI includes the nested name and records MidiReceiver as the base. Every member is inline.
◆ BuilderReceiver()
| MixMidiBuilder::BuilderReceiver::BuilderReceiver |
( |
MixMidiBuilder * | pOwner | ) |
|
|
inlineexplicit |
Construct the receiver of a builder.
- Parameters
-
◆ ~BuilderReceiver()
| MixMidiBuilder::BuilderReceiver::~BuilderReceiver |
( |
| ) |
|
|
inlineoverride |
Release the receiver.
- Ghidra address:
- NTSC-U/C: 0x00356448
- Ghidra address:
- PAL: 0x003c36f8
◆ OnNewTrack()
| void MixMidiBuilder::BuilderReceiver::OnNewTrack |
( |
unsigned char | nTrack | ) |
|
|
inlineoverridevirtual |
Begin a track.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x003564c8
- Ghidra address:
- PAL: 0x003c3778
Implements MidiReceiver.
◆ OnEndTrack()
| void MixMidiBuilder::BuilderReceiver::OnEndTrack |
( |
| ) |
|
|
inlineoverridevirtual |
End the track.
- Ghidra address:
- NTSC-U/C: 0x003564e8
- Ghidra address:
- PAL: 0x003c3798
Implements MidiReceiver.
◆ OnAllDone()
| void MixMidiBuilder::BuilderReceiver::OnAllDone |
( |
| ) |
|
|
inlineoverridevirtual |
End the file.
- Ghidra address:
- NTSC-U/C: 0x00356508
- Ghidra address:
- PAL: 0x003c37b8
Implements MidiReceiver.
◆ OnMidi()
| void MixMidiBuilder::BuilderReceiver::OnMidi |
( |
int | nTick, |
|
|
unsigned char | nStatus, |
|
|
unsigned char | nData1, |
|
|
unsigned char | nData2 ) |
|
inlineoverridevirtual |
Report a channel message.
- Parameters
-
| nTick | The tick. |
| nStatus | The status byte. |
| nData1 | The first data byte. |
| nData2 | The second data byte. |
- Ghidra address:
- NTSC-U/C: 0x00356528
- Ghidra address:
- PAL: 0x003c37d8
Implements MidiReceiver.
◆ OnTempo()
| void MixMidiBuilder::BuilderReceiver::OnTempo |
( |
int | nTick, |
|
|
int | nMicrosecondsPerBeat ) |
|
inlineoverridevirtual |
Report a tempo change.
- Parameters
-
| nTick | The tick. |
| nMicrosecondsPerBeat | The new tempo. |
- Ghidra address:
- NTSC-U/C: 0x00356550
- Ghidra address:
- PAL: 0x003c3800
Implements MidiReceiver.
◆ OnText()
| void MixMidiBuilder::BuilderReceiver::OnText |
( |
int | nTick, |
|
|
const char * | pszText, |
|
|
unsigned char | nType ) |
|
inlineoverridevirtual |
Report a text meta event.
- Parameters
-
| nTick | The tick. |
| pszText | The text. |
| nType | The meta event type. |
- Ghidra address:
- NTSC-U/C: 0x00356570
- Ghidra address:
- PAL: 0x003c3820
Implements MidiReceiver.
◆ OnTimeSignature()
| void MixMidiBuilder::BuilderReceiver::OnTimeSignature |
( |
int | nTick, |
|
|
int | nNumerator, |
|
|
int | nDenominator ) |
|
inlineoverridevirtual |
Report a time signature.
- Parameters
-
| nTick | The tick. |
| nNumerator | The beats per bar. |
| nDenominator | The beat unit. |
- Ghidra address:
- NTSC-U/C: 0x00356590
- Ghidra address:
- PAL: 0x003c3840
Implements MidiReceiver.
The documentation for this class was generated from the following file: