AudRecordLib
|
#include <InterfaceWrap.h>
Public Member Functions | |
virtual bool | IsRealTime ()=0 |
virtual IDataBuffer^ | AllocateDataUnit (DWORD dataSize)=0 |
Package Functions | |
void | RaiseOnHeader (IDataBuffer^ pBuffer) |
void | RaiseOnDataUnit (IDataBuffer^ pBuffer) |
void | RaiseOnEndWriting () |
Events | |
OnHeaderHandler^ | OnHeader |
OnDataUnitHandler^ | OnDataUnit |
OnEndWritingHandler^ | OnEndWriting |
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.
virtual IDataBuffer ^ AudRecord::ITargetSink::AllocateDataUnit | ( | DWORD | dataSize | ) | [pure virtual] |
Called by Windows Media runtime to ascertain whether the target needs data samples to be delivered in real time
dataSize | The size of data buffer to allocate |
virtual bool AudRecord::ITargetSink::IsRealTime | ( | ) | [pure virtual] |
Called by Windows Media runtime to ascertain whether the target needs data samples to be delivered in real time
void AudRecord::ITargetSink::RaiseOnDataUnit | ( | IDataBuffer^ | pBuffer | ) | [package] |
Internal function which raises the OnDataUnit event
pBuffer | The data packet containing the data to be passed |
void AudRecord::ITargetSink::RaiseOnEndWriting | ( | ) | [package] |
Internal function which raises the OnEndWriting event
void AudRecord::ITargetSink::RaiseOnHeader | ( | IDataBuffer^ | pBuffer | ) | [package] |
Internal function which raises the OnHeader event
pBuffer | The data packet to be passed to the event |
OnDataUnitHandler^ AudRecord::ITargetSink::OnDataUnit |
Event raised when a buffer has been filled with data and is ready to be written in whatever way is desired
OnEndWritingHandler^ AudRecord::ITargetSink::OnEndWriting |
OnHeaderHandler^ AudRecord::ITargetSink::OnHeader |
Event raised when the ASF header is ready to write headerBuffer contains the data. Can be raised more than once