BltStream.h File Reference

BLT_Stream interface. More...

#include "Atomix.h"
#include "BltDefs.h"
#include "BltTypes.h"
#include "BltErrors.h"
#include "BltTime.h"
#include "BltEventListener.h"
#include "BltModule.h"
#include "BltCore.h"
#include "BltMediaNode.h"
#include "BltMediaPort.h"
#include "BltOutputNode.h"

Go to the source code of this file.

Data Structures

struct  BLT_StreamInfo
struct  BLT_StreamPosition
struct  BLT_SeekPoint
struct  BLT_StreamNodeInfo
struct  BLT_StreamStatus

Defines

#define BLT_ERROR_STREAM_NO_COMPATIBLE_NODE   (BLT_ERROR_BASE_STREAM - 0)
#define BLT_ERROR_STREAM_INPUT_NOT_FOUND   (BLT_ERROR_BASE_STREAM - 1)
#define BLT_STREAM_INFO_MASK_ALL   0xFFFF
#define BLT_STREAM_INFO_MASK_NOMINAL_BITRATE   0x001
#define BLT_STREAM_INFO_MASK_AVERAGE_BITRATE   0x002
#define BLT_STREAM_INFO_MASK_INSTANT_BITRATE   0x004
#define BLT_STREAM_INFO_MASK_SIZE   0x008
#define BLT_STREAM_INFO_MASK_DURATION   0x010
#define BLT_STREAM_INFO_MASK_SAMPLE_RATE   0x020
#define BLT_STREAM_INFO_MASK_CHANNEL_COUNT   0x040
#define BLT_STREAM_INFO_MASK_FLAGS   0x080
#define BLT_STREAM_INFO_MASK_DATA_TYPE   0x100
#define BLT_STREAM_INFO_FLAG_VBR   0x01
#define BLT_SEEK_POINT_MASK_TIME_STAMP   0x01
#define BLT_SEEK_POINT_MASK_POSITION   0x02
#define BLT_SEEK_POINT_MASK_OFFSET   0x04
#define BLT_SEEK_POINT_MASK_SAMPLE   0x08
#define BLT_STREAM_NODE_FLAG_TRANSIENT   1
#define BLT_Stream_SetEventListener(object, listener)   ATX_INTERFACE(object)->SetEventListener(object, listener)
#define BLT_Stream_ResetInput(object)   ATX_INTERFACE(object)->ResetInput(object)
#define BLT_Stream_SetInput(object, name, media_type)   ATX_INTERFACE(object)->SetInput(object, name, media_type)
#define BLT_Stream_SetInputNode(object, node)   ATX_INTERFACE(object)->SetInputNode(object, node)
#define BLT_Stream_GetInputNode(object, node)   ATX_INTERFACE(object)->GetInputNode(object, node)
#define BLT_Stream_ResetOutput(object)   ATX_INTERFACE(object)->ResetOutput(object)
#define BLT_Stream_SetOutput(object, name, media_type)   ATX_INTERFACE(object)->SetOutput(object, name, media_type)
#define BLT_Stream_AddNodeByName(object, where, name)   ATX_INTERFACE(object)->AddNodeByName(object, where, name)
#define BLT_Stream_GetStreamNodeInfo(object, node, info)   ATX_INTERFACE(object)->GetStreamNodeInfo(object, node, info)
#define BLT_Stream_GetFirstNode(object, node)   ATX_INTERFACE(object)->GetFirstNode(object, node)
#define BLT_Stream_GetNextNode(object, node, next)   ATX_INTERFACE(object)->GetNextNode(object, node, next)
#define BLT_Stream_PumpPacket(object)   ATX_INTERFACE(object)->PumpPacket(object)
#define BLT_Stream_Stop(object)   ATX_INTERFACE(object)->Stop(object)
#define BLT_Stream_Pause(object)   ATX_INTERFACE(object)->Pause(object)
#define BLT_Stream_SetInfo(object, info)   ATX_INTERFACE(object)->SetInfo(object, info)
#define BLT_Stream_GetInfo(object, info)   ATX_INTERFACE(object)->GetInfo(object, info)
#define BLT_Stream_GetStatus(object, status)   ATX_INTERFACE(object)->GetStatus(object, status)
#define BLT_Stream_GetProperties(object, properties)   ATX_INTERFACE(object)->GetProperties(object, properties)
#define BLT_Stream_GetSettings(object, settings)   ATX_INTERFACE(object)->GetSettings(object, settings)
#define BLT_Stream_EstimateSeekPoint(object, mode, point)   ATX_INTERFACE(object)->EstimateSeekPoint(object, mode, point)
#define BLT_Stream_SeekToTime(object, time)   ATX_INTERFACE(object)->SeekToTime(object, time)
#define BLT_Stream_SeekToPosition(object, offset, range)   ATX_INTERFACE(object)->SeekToPosition(object, offset, range)

Enumerations

enum  BLT_SeekMode {
  BLT_SEEK_MODE_IGNORE,
  BLT_SEEK_MODE_BY_TIME_STAMP,
  BLT_SEEK_MODE_BY_POSITION,
  BLT_SEEK_MODE_BY_OFFSET,
  BLT_SEEK_MODE_BY_SAMPLE
}

Variables

BLT_Result(* SetEventListener )(BLT_Stream *self, BLT_EventListener *listener)
BLT_Result(* ResetInput )(BLT_Stream *self)
BLT_Result(* SetInput )(BLT_Stream *self, BLT_CString name, BLT_CString type)
BLT_Result(* SetInputNode )(BLT_Stream *self, BLT_CString name, BLT_MediaNode *node)
BLT_Result(* GetInputNode )(BLT_Stream *self, BLT_MediaNode **node)
BLT_Result(* ResetOutput )(BLT_Stream *self)
BLT_Result(* SetOutput )(BLT_Stream *self, BLT_CString name, BLT_CString type)
BLT_Result(* SetOutputNode )(BLT_Stream *self, BLT_CString name, BLT_MediaNode *node)
BLT_Result(* GetOutputNode )(BLT_Stream *stream, BLT_MediaNode **node)
BLT_Result(* AddNode )(BLT_Stream *self, BLT_MediaNode *where, BLT_MediaNode *node)
BLT_Result(* AddNodeByName )(BLT_Stream *self, BLT_MediaNode *where, BLT_CString name)
BLT_Result(* GetStreamNodeInfo )(BLT_Stream *self, const BLT_MediaNode *node, BLT_StreamNodeInfo *info)
BLT_Result(* GetFirstNode )(BLT_Stream *self, BLT_MediaNode **node)
BLT_Result(* GetNextNode )(BLT_Stream *self, BLT_MediaNode *node, BLT_MediaNode **next)
BLT_Result(* PumpPacket )(BLT_Stream *self)
BLT_Result(* Stop )(BLT_Stream *self)
BLT_Result(* Pause )(BLT_Stream *self)
BLT_Result(* SetInfo )(BLT_Stream *self, const BLT_StreamInfo *info)
BLT_Result(* GetInfo )(BLT_Stream *self, BLT_StreamInfo *info)
BLT_Result(* GetStatus )(BLT_Stream *self, BLT_StreamStatus *status)
BLT_Result(* GetProperties )(BLT_Stream *self, ATX_Properties **settings)
BLT_Result(* EstimateSeekPoint )(BLT_Stream *self, BLT_SeekMode mode, BLT_SeekPoint *point)
BLT_Result(* SeekToTime )(BLT_Stream *self, BLT_UInt32 time)
BLT_Result(* SeekToPosition )(BLT_Stream *self, BLT_Size offset, BLT_Size range)


Detailed Description

BLT_Stream interface.