Multimedia Classes
From the beginning, Magnum was not only created to be a stable and fast platform for 3d content, but also for multimedia content like audio and video. Although the multimedia module is still at its infancy, the architecture is already mature and has proven its usability.
Its multithreaded nature ensures a smooth playback, while the main application can concentrate on its main tasks, without having to care about time critical media processing.
- Media Graph. Magnum implements so called media graphs which contain an arbitrary number of media nodes which can be connected together. Nodes can be file decoders for WAV, OGG or MPEG files, but they can also be mixers, filters or special effects. This architecture allows a flexible configuration of the media data flow between the nodes enabling advanced media processing.
- WAV Decoder. A simple WAV decoder allows to read in uncompressed Windows WAV files.
- OGG Decoder. By using the official Ogg Vorbis library, Magnum is also able to decode Ogg files, which offer a superior audio quality at the same compression rate compared to MP3 files. Plus Ogg is a completely free format without the need to pay any license fees.
- Wave Playback and Recording. A simple wave output and input class allows playback and recordingof audio data.