Om
1.0.0
A universal framework for multimedia simulation
|
A namespace containing classes handling input and output from audio devices. More...
Classes | |
class | DefaultSoundDevice |
A class that maintains a default input and output device abstraction layer. More... | |
class | MIDIDevice |
A class that represents a system MIDI device. More... | |
class | MIDIDeviceDelegate |
A class that contains function objects that recieve MIDIDevice events. More... | |
class | MIDIDeviceID |
A class that is used to encapsulate a unique identifier for a system MIDI device. More... | |
class | MIDIDeviceManager |
A class that queries the system for currently connected MIDI devices. More... | |
class | MIDIDeviceManagerDelegate |
A class that contains function objects that recieve MIDIDeviceManager events. More... | |
class | SoundDevice |
A class that represents a system sound device. More... | |
class | SoundDeviceDelegate |
A class that contains function objects that recieve SoundDevice events. More... | |
class | SoundDeviceID |
A class that is used to encapsulate a unique identifier for a system sound device. More... | |
class | SoundDeviceManager |
A class that queries the system for currently connected audio devices. More... | |
class | SoundDeviceManagerDelegate |
A class that contains function objects that recieve SoundDeviceManager events. More... | |
Typedefs | |
typedef Function< void(SoundDevice &device, const SoundBuffer &inputBuffer, Size numInputSamples, const Time &time)> | SoundInputCallback |
Define a short name for the type of the function object that is used to recieve audio from SoundDevice objects. More... | |
typedef Function< Size(SoundDevice &device, SoundBuffer &outputBuffer, Size numOutputSamples, const Time &time)> | SoundOutputCallback |
Define a short name for the type of the function object that is used to send audio to SoundDevice objects for output. More... | |
typedef Function< void(MIDIDevice &device, const MIDIBuffer &messages)> | MIDIInputCallback |
Define a short name for the type of the function object that is used to recieve MIDI from MIDIDevice objects. More... | |
A namespace containing classes handling input and output from audio devices.
typedef Function<void ( SoundDevice& device, const SoundBuffer& inputBuffer, Size numInputSamples, const Time& time )> om::sound::devices::SoundInputCallback |
Define a short name for the type of the function object that is used to recieve audio from SoundDevice objects.
The implementor of the function can read the specified number of samples from the input buffer and use them in some way.
The given time represents the absolute time of the first sample in the buffer, measured relative to the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
typedef Function<Size ( SoundDevice& device, SoundBuffer& outputBuffer, Size numOutputSamples, const Time& time )> om::sound::devices::SoundOutputCallback |
Define a short name for the type of the function object that is used to send audio to SoundDevice objects for output.
The implementor should write the specified number of samples to the output buffer for each channel and then return the number of samples that were successfully written to the output buffer.
The given time represents the absolute time of the first sample in the buffer, measured relative to the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
typedef Function<void ( MIDIDevice& device, const MIDIBuffer& messages )> om::sound::devices::MIDIInputCallback |
Define a short name for the type of the function object that is used to recieve MIDI from MIDIDevice objects.
The implementor of the function can then use the given MIDI messages to perform some action.