|  | 
| virtual const char * | GetName () | 
|  | 
| virtual bool | Initialize (AEAudioFormat &format, std::string &device) | 
|  | 
| virtual void | Deinitialize () | 
|  | 
| virtual void | Stop () | 
|  | 
| virtual void | Drain () | 
|  | 
| virtual void | GetDelay (AEDelayStatus &status) | 
|  | Return a timestamped status structure with delay and sink info.  More... 
 | 
|  | 
| virtual double | GetCacheTotal () | 
|  | 
| virtual unsigned int | AddPackets (uint8_t **data, unsigned int frames, unsigned int offset) | 
|  | Adds packets to be sent out, this routine MUST block or sleep.  More... 
 | 
|  | 
| virtual double | GetLatency () | 
|  | 
| virtual void | AddPause (unsigned int millis) | 
|  | instruct the sink to add a pause  More... 
 | 
|  | 
| virtual bool | HasVolume () | 
|  | 
| virtual void | SetVolume (float volume) | 
|  | 
|  | 
| static void | Register () | 
|  | 
| static std::unique_ptr< IAESink > | Create (std::string &device, AEAudioFormat &desiredFormat) | 
|  | 
| static std::string | GetDefaultDevice () | 
|  | 
| static void | EnumerateDevicesEx (AEDeviceInfoList &deviceInfoList, bool force=false) | 
|  | 
◆ 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.
 
 
◆ GetCacheTotal()
  
  | 
        
          | double CAESinkDirectSound::GetCacheTotal | ( |  | ) |  |  | virtual | 
 
returns total cache capacity in seconds 
Implements IAESink.
 
 
◆ 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.
 
 
◆ Initialize()
  
  | 
        
          | bool CAESinkDirectSound::Initialize | ( | AEAudioFormat & | format, |  
          |  |  | std::string & | device |  
          |  | ) |  |  |  | virtual | 
 
Better position accuracy
Vista+ accurate position
Allows background playing 
Implements IAESink.
 
 
The documentation for this class was generated from the following files:
- xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.h
- xbmc/cores/AudioEngine/Sinks/AESinkDirectSound.cpp