#include <AESinkXAudio.h>
◆ CAESinkXAudio()
CAESinkXAudio::CAESinkXAudio |
( |
| ) |
|
◆ ~CAESinkXAudio()
CAESinkXAudio::~CAESinkXAudio |
( |
| ) |
|
|
virtual |
◆ AddPackets()
unsigned int CAESinkXAudio::AddPackets |
( |
uint8_t ** | data, |
|
|
unsigned int | frames, |
|
|
unsigned int | offset ) |
|
overridevirtual |
Adds packets to be sent out, this routine MUST block or sleep.
- Parameters
-
data | array of pointers to planes holding audio data |
frames | number of audio frames in data |
offset | offset in frames where audio data starts |
- Returns
- number of frames consumed by the sink
Implements IAESink.
◆ Create()
std::unique_ptr< IAESink > CAESinkXAudio::Create |
( |
std::string & | device, |
|
|
AEAudioFormat & | desiredFormat ) |
|
static |
◆ Deinitialize()
void CAESinkXAudio::Deinitialize |
( |
| ) |
|
|
overridevirtual |
◆ Drain()
void CAESinkXAudio::Drain |
( |
| ) |
|
|
overridevirtual |
- Todo
- use FormatMessage for a human readable error message
Reimplemented from IAESink.
◆ EnumerateDevicesEx()
◆ GetCacheTotal()
double CAESinkXAudio::GetCacheTotal |
( |
| ) |
|
|
overridevirtual |
◆ GetDelay()
Return a timestamped status structure with delay and sink info.
- Parameters
-
status | structure filled with sink status |
Implements IAESink.
◆ GetLatency()
double CAESinkXAudio::GetLatency |
( |
| ) |
|
|
overridevirtual |
◆ GetName()
virtual const char * CAESinkXAudio::GetName |
( |
| ) |
|
|
inlinevirtual |
◆ Initialize()
◆ Register()
void CAESinkXAudio::Register |
( |
| ) |
|
|
static |
The documentation for this class was generated from the following files: