#include <AESinkDirectSound.h>
◆ CAESinkDirectSound()
CAESinkDirectSound::CAESinkDirectSound |
( |
| ) |
|
◆ ~CAESinkDirectSound()
CAESinkDirectSound::~CAESinkDirectSound |
( |
| ) |
|
|
virtual |
◆ AddPackets()
unsigned int CAESinkDirectSound::AddPackets |
( |
uint8_t ** | data, |
|
|
unsigned int | frames, |
|
|
unsigned int | offset ) |
|
virtual |
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 > CAESinkDirectSound::Create |
( |
std::string & | device, |
|
|
AEAudioFormat & | desiredFormat ) |
|
static |
◆ Deinitialize()
void CAESinkDirectSound::Deinitialize |
( |
| ) |
|
|
virtual |
◆ Drain()
void CAESinkDirectSound::Drain |
( |
| ) |
|
|
virtual |
◆ EnumerateDevicesEx()
◆ GetCacheTotal()
double CAESinkDirectSound::GetCacheTotal |
( |
| ) |
|
|
virtual |
returns total cache capacity in seconds
Implements IAESink.
◆ GetDefaultDevice()
std::string CAESinkDirectSound::GetDefaultDevice |
( |
| ) |
|
|
static |
◆ GetDelay()
Return a timestamped status structure with delay and sink info.
- Parameters
-
status | structure filled with sink status |
returns current cached data duration in seconds
Implements IAESink.
◆ GetName()
virtual const char * CAESinkDirectSound::GetName |
( |
| ) |
|
|
inlinevirtual |
◆ Initialize()
Better position accuracy
Vista+ accurate position
Allows background playing
Implements IAESink.
◆ Register()
void CAESinkDirectSound::Register |
( |
| ) |
|
|
static |
◆ Stop()
void CAESinkDirectSound::Stop |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: