AWS SDK for C++  1.9.44
AWS SDK for C++
Public Member Functions | List of all members
Aws::TextToSpeech::WaveOutPCMOutputDriver Class Reference

#include <WaveOutPCMOutputDriver.h>

+ Inheritance diagram for Aws::TextToSpeech::WaveOutPCMOutputDriver:

Public Member Functions

 WaveOutPCMOutputDriver ()
 
virtual ~WaveOutPCMOutputDriver ()
 
 WaveOutPCMOutputDriver (const WaveOutPCMOutputDriver &)=delete
 
WaveOutPCMOutputDriveroperator= (const WaveOutPCMOutputDriver &)=delete
 
 WaveOutPCMOutputDriver (WaveOutPCMOutputDriver &&)=delete
 
WaveOutPCMOutputDriveroperator= (WaveOutPCMOutputDriver &&)=delete
 
virtual bool WriteBufferToDevice (const unsigned char *buffer, size_t bufferSize) override
 
virtual Aws::Vector< DeviceInfoEnumerateDevices () const override
 
virtual void SetActiveDevice (const DeviceInfo &device, const CapabilityInfo &caps) override
 
const char * GetName () const override
 
- Public Member Functions inherited from Aws::TextToSpeech::PCMOutputDriver
virtual ~PCMOutputDriver ()
 
virtual void Prime ()
 
virtual void Flush ()
 

Detailed Description

Win32 implementation for PCM output.

Definition at line 22 of file WaveOutPCMOutputDriver.h.

Constructor & Destructor Documentation

◆ WaveOutPCMOutputDriver() [1/3]

Aws::TextToSpeech::WaveOutPCMOutputDriver::WaveOutPCMOutputDriver ( )

◆ ~WaveOutPCMOutputDriver()

virtual Aws::TextToSpeech::WaveOutPCMOutputDriver::~WaveOutPCMOutputDriver ( )
virtual

◆ WaveOutPCMOutputDriver() [2/3]

Aws::TextToSpeech::WaveOutPCMOutputDriver::WaveOutPCMOutputDriver ( const WaveOutPCMOutputDriver )
delete

◆ WaveOutPCMOutputDriver() [3/3]

Aws::TextToSpeech::WaveOutPCMOutputDriver::WaveOutPCMOutputDriver ( WaveOutPCMOutputDriver &&  )
delete

Member Function Documentation

◆ EnumerateDevices()

virtual Aws::Vector<DeviceInfo> Aws::TextToSpeech::WaveOutPCMOutputDriver::EnumerateDevices ( ) const
overridevirtual

Enumerate all devices and their capabilities. The device id and the capability will be returned to you when a user calls SetActiveDevice();

Implements Aws::TextToSpeech::PCMOutputDriver.

◆ GetName()

const char* Aws::TextToSpeech::WaveOutPCMOutputDriver::GetName ( ) const
overridevirtual

Get a friendly name for this driver.

Implements Aws::TextToSpeech::PCMOutputDriver.

◆ operator=() [1/2]

WaveOutPCMOutputDriver& Aws::TextToSpeech::WaveOutPCMOutputDriver::operator= ( const WaveOutPCMOutputDriver )
delete

◆ operator=() [2/2]

WaveOutPCMOutputDriver& Aws::TextToSpeech::WaveOutPCMOutputDriver::operator= ( WaveOutPCMOutputDriver &&  )
delete

◆ SetActiveDevice()

virtual void Aws::TextToSpeech::WaveOutPCMOutputDriver::SetActiveDevice ( const DeviceInfo ,
const CapabilityInfo  
)
overridevirtual

Set the device and format that this driver should use. After this call, you should expect all calls to WriteBufferToDevice() to be for the specified device and format.

Implements Aws::TextToSpeech::PCMOutputDriver.

◆ WriteBufferToDevice()

virtual bool Aws::TextToSpeech::WaveOutPCMOutputDriver::WriteBufferToDevice ( const unsigned char *  ,
size_t   
)
overridevirtual

Write a buffer of audio data to a device. The format of this data will be set in the SetActiveDevice function. returns true if audio was successfully written to the device, false otherwise.

Implements Aws::TextToSpeech::PCMOutputDriver.


The documentation for this class was generated from the following file: