15 #ifndef ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_PLAYBACKCONFIGURATION_H_ 16 #define ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_PLAYBACKCONFIGURATION_H_ 22 namespace mediaPlayer {
57 enum class SampleFormat { UNSIGNED_8 = 8, SIGNED_16 = 16, SIGNED_32 = 32 };
113 const bool isLittleEndian,
114 const size_t sampleRate,
123 const bool m_isLittleEndian;
126 const size_t m_sampleRate;
135 const size_t m_numberChannels;
139 return m_isLittleEndian;
147 return m_sampleFormat;
151 return m_numberChannels;
155 constexpr
size_t byteSize = 8;
156 return static_cast<size_t>(m_sampleFormat) / byteSize;
166 return stream <<
"UNSIGNED_8";
168 return stream <<
"SIGNED_16";
170 return stream <<
"SIGNED_32";
172 return stream <<
"INVALID";
179 #endif // ALEXA_CLIENT_SDK_MEDIAPLAYER_ANDROIDSLESMEDIAPLAYER_INCLUDE_ANDROIDSLESMEDIAPLAYER_PLAYBACKCONFIGURATION_H_
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36