16 #ifndef ALEXA_CLIENT_SDK_CAPABILITYAGENTS_AIP_INCLUDE_AIP_AUDIOPROVIDER_H_ 17 #define ALEXA_CLIENT_SDK_CAPABILITYAGENTS_AIP_INCLUDE_AIP_AUDIOPROVIDER_H_ 24 namespace capabilityAgents {
45 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream,
60 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
71 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
82 std::shared_ptr<avsCommon::avs::AudioInputStream> stream,
98 operator bool()
const;
101 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream;
120 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream,
138 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream,
149 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream,
161 std::shared_ptr<avsCommon::avs::AudioInputStream>
stream,
184 return nullAudioProvider;
187 inline AudioProvider::operator bool()
const {
195 #endif // ALEXA_CLIENT_SDK_CAPABILITYAGENTS_AIP_INCLUDE_AIP_AUDIOPROVIDER_H_ static AudioProvider HoldAudioProvider(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, const avsCommon::utils::AudioFormat &format)
Definition: AudioProvider.h:160
AudioProvider(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, const avsCommon::utils::AudioFormat &format, ASRProfile profile, bool alwaysReadable, bool canOverride, bool canBeOverridden)
Definition: AudioProvider.h:119
bool canBeOverridden
Whether this AudioProvider should allow another AudioProvider to interrupt it.
Definition: AudioProvider.h:116
avsCommon::utils::AudioFormat format
The AudioFormat of the data in byteStream.
Definition: AudioProvider.h:104
static const AudioProvider & null()
Definition: AudioProvider.h:171
bool canOverride
Whether this AudioProvider should be allowed to interrupt/override another AudioProvider.
Definition: AudioProvider.h:113
Definition: AudioProvider.h:31
static AudioProvider WakeAudioProvider(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, const avsCommon::utils::AudioFormat &format)
Definition: AudioProvider.h:148
ASRProfile profile
The ASRProfile describing the acoustic environment for the audio input.
Definition: AudioProvider.h:107
bool alwaysReadable
Whether new audio data can be read at any time from byteStream.
Definition: AudioProvider.h:110
ASRProfile
Definition: ASRProfile.h:31
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
std::shared_ptr< avsCommon::avs::AudioInputStream > stream
The ByteStream to use for audio input.
Definition: AudioProvider.h:101
Cloud determines end of user speech (0 to 5 ft).
Client determines end of user speech (0 to 2.5 ft).
static AudioProvider TapAudioProvider(std::shared_ptr< avsCommon::avs::AudioInputStream > stream, const avsCommon::utils::AudioFormat &format)
Definition: AudioProvider.h:137