#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()
§ Deinitialize()
void CAESinkDirectSound::Deinitialize |
( |
| ) |
|
|
virtual |
§ Drain()
void CAESinkDirectSound::Drain |
( |
| ) |
|
|
virtual |
§ EnumerateDevicesEx()
void CAESinkDirectSound::EnumerateDevicesEx |
( |
AEDeviceInfoList & |
deviceInfoList, |
|
|
bool |
force = false |
|
) |
| |
|
static |
§ 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()
bool CAESinkDirectSound::Initialize |
( |
AEAudioFormat & |
format, |
|
|
std::string & |
device |
|
) |
| |
|
virtual |
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: