16 #ifndef ACSDK_AUDIOENCODERINTERFACES_AUDIOENCODERINTERFACE_H_ 17 #define ACSDK_AUDIOENCODERINTERFACES_AUDIOENCODERINTERFACE_H_ 27 namespace audioEncoderInterfaces {
75 virtual std::shared_ptr<avsCommon::avs::AudioInputStream>
startEncoding(
76 const std::shared_ptr<avsCommon::avs::AudioInputStream>& inputStream,
95 virtual void stopEncoding(
bool stopImmediately =
false) = 0;
123 #endif // ACSDK_AUDIOENCODERINTERFACES_AUDIOENCODERINTERFACE_H_ virtual avsCommon::utils::AudioFormat::Encoding getEncoding()=0
Get output encoding type.
Reference
Specifies a reference to measure seek()/tell()/close() offsets against.
Definition: Reader.h:51
virtual std::string getAVSFormatName()=0
Get output format name for AVS service.
::std::string string
Definition: gtest-port.h:1097
virtual ~AudioEncoderInterface()=default
Virtual destructor.
Index
Index used for setting access.
Definition: StateReportGeneratorTest.cpp:41
virtual std::shared_ptr< avsCommon::avs::AudioInputStream > startEncoding(const std::shared_ptr< avsCommon::avs::AudioInputStream > &inputStream, avsCommon::utils::AudioFormat inputFormat, avsCommon::avs::AudioInputStream::Index begin, avsCommon::avs::AudioInputStream::Reader::Reference reference)=0
Start the new encoding session.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual void stopEncoding(bool stopImmediately=false)=0
Stop current encoding session.
Interface for encoding audio stream.
Definition: AudioEncoderInterface.h:48