The Syllable Media API


Classes

class  os::MediaAddon
 Media Addon. More...
class  os::MediaCodec
 Media Codec. More...
struct  os::MediaFormat_s
 Media Format. More...
class  os::MediaInput
 Media Input. More...
class  os::MediaInputSelector
 Media Input selector. More...
class  os::MediaManager
 Media Manager. More...
class  os::MediaOutput
 Media Output. More...
struct  os::MediaPacket_s
 Media Packet. More...
class  os::MediaSoundPlayer
 Media Sound Player. More...
class  os::MediaStage
 Media Stage. More...
class  os::MediaInputStage
 Media input stage. More...
class  os::MediaDecoderStage
 Media decoder stage. More...
class  os::MediaOutputStage
 Media output stage. More...
class  os::MediaSyncStage
 Media sync stage. More...

Enumerations

enum  os::media_physical_types {
  os::MEDIA_PHY_UNKNOWN = 0x00000000,
  os::MEDIA_PHY_SOFTWARE = 0x01000000,
  os::MEDIA_PHY_SOFT_DEMUX = 0x01000100,
  os::MEDIA_PHY_SOFT_CODEC = 0x0100200,
  os::MEDIA_PHY_SOFT_MUX = 0x01000300,
  os::MEDIA_PHY_SOFT_FILTER = 0x01000400,
  os::MEDIA_PHY_SOFT_SYNC = 0x01000500,
  os::MEDIA_PHY_HARDWARE = 0x02000000,
  os::MEDIA_PHY_SOUNDCARD = 0x02000100,
  os::MEDIA_PHY_SOUNDCARD_LINE_OUT = 0x02000101,
  os::MEDIA_PHY_SOUNDCARD_SPDIF_OUT = 0x02000102,
  os::MEDIA_PHY_SOUNDCARD_LINE_IN = 0x02000103,
  os::MEDIA_PHY_SOUNDCARD_MIC_IN = 0x02000104,
  os::MEDIA_PHY_SOUNDCARD_SPDIF_IN = 0x02000105,
  os::MEDIA_PHY_VIDEOCARD = 0x02000200,
  os::MEDIA_PHY_VIDEOCARD_ANALOG_IN = 0x02000201,
  os::MEDIA_PHY_CD_DVD = 0x02000300,
  os::MEDIA_PHY_CD_DVD_ANALOG_IN = 0x02000301,
  os::MEDIA_PHY_CD_DVD_DIGITAL_IN = 0x02000302,
  os::MEDIA_PHY_SCREEN = 0x02000400,
  os::MEDIA_PHY_SCREEN_OUT = 0x02000401
}
 Media physical object types. More...
enum  os::media_types {
  os::MEDIA_TYPE_AUDIO,
  os::MEDIA_TYPE_VIDEO,
  os::MEDIA_TYPE_OTHER
}
 Media types. More...
enum  os::media_stages {
  os::MEDIA_STAGE_OTHER,
  os::MEDIA_STAGE_INPUT,
  os::MEDIA_STAGE_CODEC,
  os::MEDIA_STAGE_OUTPUT,
  os::MEDIA_STAGE_SYNC
}
 Media stage typs. More...

Detailed Description

Here you will find documentation of the various C++ classes involved in the Media API

The Media API can be used to play or record audio and video content aswell as converting media data from one format to the other. It contains a lowlevel api that is especially important if you want to write drivers for the media system. Otherwise you can use the highlevel api (media stage objects) in most cases. To do anything with the media system you need to create a MediaManager object using MediaManager::Get() and keep it as long as you need to use any object of the media system. Call MediaManager::Put() when you have finished.


Enumeration Type Documentation

enum os::media_physical_types

Description:
Physical object types. Returned by the GetPhysicalType() method. It is a 32bit value with the following format: Byte 4: Class (e.g. hardware or software ) Byte 2-3: Subclass (e.g. soundcard) Byte 1: Connector
Author:
Arno Klenke
Enumerator:
MEDIA_PHY_UNKNOWN 
MEDIA_PHY_SOFTWARE 
MEDIA_PHY_SOFT_DEMUX 
MEDIA_PHY_SOFT_CODEC 
MEDIA_PHY_SOFT_MUX 
MEDIA_PHY_SOFT_FILTER 
MEDIA_PHY_SOFT_SYNC 
MEDIA_PHY_HARDWARE 
MEDIA_PHY_SOUNDCARD 
MEDIA_PHY_SOUNDCARD_LINE_OUT 
MEDIA_PHY_SOUNDCARD_SPDIF_OUT 
MEDIA_PHY_SOUNDCARD_LINE_IN 
MEDIA_PHY_SOUNDCARD_MIC_IN 
MEDIA_PHY_SOUNDCARD_SPDIF_IN 
MEDIA_PHY_VIDEOCARD 
MEDIA_PHY_VIDEOCARD_ANALOG_IN 
MEDIA_PHY_CD_DVD 
MEDIA_PHY_CD_DVD_ANALOG_IN 
MEDIA_PHY_CD_DVD_DIGITAL_IN 
MEDIA_PHY_SCREEN 
MEDIA_PHY_SCREEN_OUT 

enum os::media_stages

Description:
Types of stages.
Author:
Arno Klenke
Enumerator:
MEDIA_STAGE_OTHER 
MEDIA_STAGE_INPUT 
MEDIA_STAGE_CODEC 
MEDIA_STAGE_OUTPUT 
MEDIA_STAGE_SYNC 

enum os::media_types

Description:
Types of AV data. Used by the MediaFormat_s structure.
Author:
Arno Klenke
Enumerator:
MEDIA_TYPE_AUDIO 
MEDIA_TYPE_VIDEO 
MEDIA_TYPE_OTHER 


Generated on Sat May 9 22:49:18 2009 for Syllable Media API by  doxygen 1.5.1