{
public:
CActiveAESink(CEvent *inMsgEvent);
- void EnumerateSinkList();
+ void EnumerateSinkList(bool force);
void EnumerateOutputDevices(AEDeviceList &devices, bool passthrough);
std::string GetDefaultDevice(bool passthrough);
void Start();
void Dispose();
bool HasVolume();
+ AEDeviceType GetDeviceType(const std::string &device);
+ bool HasPassthroughDevice();
CSinkControlProtocol m_controlPort;
CSinkDataProtocol m_dataPort;
bool m_bStateMachineSelfTrigger;
int m_extTimeout;
bool m_extError;
- bool m_extSilence;
- int m_extCycleCounter;
+ unsigned int m_extSilenceTimeout;
+ XbmcThreads::EndTime m_extSilenceTimer;
CSampleBuffer m_sampleOfSilence;
- CSampleBuffer m_sampleOfNoise;
uint8_t *m_convertBuffer;
int m_convertBufferSampleSize;
CAEConvert::AEConvertFrFn m_convertFn;