![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
This acts as a wrapper around PortAudio, a cross-platform open-source audio I/O library. More...
#include <PortAudioMicrophoneWrapper.h>
Public Member Functions | |
bool | stopStreamingMicrophoneData () override |
bool | startStreamingMicrophoneData () override |
bool | isStreaming () override |
~PortAudioMicrophoneWrapper () | |
![]() | |
virtual | ~MicrophoneInterface ()=default |
Static Public Member Functions | |
static std::unique_ptr< PortAudioMicrophoneWrapper > | create (std::shared_ptr< avsCommon::avs::AudioInputStream > stream) |
This acts as a wrapper around PortAudio, a cross-platform open-source audio I/O library.
alexaClientSDK::sampleApplications::ipcServerSampleApp::PortAudioMicrophoneWrapper::~PortAudioMicrophoneWrapper | ( | ) |
Destructor.
|
static |
Creates a PortAudioMicrophoneWrapper
.
stream | The shared data stream to write to. |
PortAudioMicrophoneWrapper
if creation was successful and nullptr
otherwise.
|
overridevirtual |
Whether the microphone is currently streaming.
Implements alexaClientSDK::applicationUtilities::resources::audio::MicrophoneInterface.
|
overridevirtual |
Starts streaming from the microphone.
Implements alexaClientSDK::applicationUtilities::resources::audio::MicrophoneInterface.
|
overridevirtual |
Stops streaming from the microphone.
Implements alexaClientSDK::applicationUtilities::resources::audio::MicrophoneInterface.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0