AudRecordLib
Public Member Functions | Public Attributes
AudRecord::abstract Struct Reference

#include <InterfaceWrap.h>

List of all members.

Public Member Functions

virtual bool IsRealTime ()=0
virtual IDataBuffer AllocateDataUnit (DWORD dataSize)=0
void RaiseOnDataUnit (IDataBuffer^pBuffer)
void RaiseOnEndWriting ()

Public Attributes

event OnHeaderHandler OnHeader
event OnDataUnitHandler OnDataUnit
event OnEndWritingHandler OnEndWriting
internal __pad0__: void RaiseOnHeader(IDataBuffer^ pBuffer)

Detailed Description

The base interface for a custom target. This is a ref struct rather than an ref interface because we need to have the event raising methods as members.


Member Function Documentation

virtual IDataBuffer AudRecord::abstract::AllocateDataUnit ( DWORD  dataSize) [pure virtual]

Called by Windows Media runtime to ascertain whether the target needs data samples to be delivered in real time

Parameters:
dataSizeThe size of data buffer to allocate
Returns:
The new data buffer object
virtual bool AudRecord::abstract::IsRealTime ( ) [pure virtual]

Called by Windows Media runtime to ascertain whether the target needs data samples to be delivered in real time

Returns:
true if the sink needs realtime data, false if it can live without

Member Data Documentation

event OnDataUnitHandler AudRecord::abstract::OnDataUnit

Event raised when a buffer has been filled with data and is ready to be written in whatever way is desired

event OnEndWritingHandler AudRecord::abstract::OnEndWriting

Event raised when all writing to a target has finished. If the target is still present in the Recorder when Record() is called again, it will start receiving calls again

event OnHeaderHandler AudRecord::abstract::OnHeader

Event raised when the ASF header is ready to write headerBuffer contains the data. Can be raised more than once


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines