16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MEDIAENDPOINT_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MEDIAENDPOINT_H_ 20 #include <condition_variable> 35 namespace bluetoothImplementations {
90 void onRelease(GVariant* arguments, GDBusMethodInvocation* invocation);
122 std::shared_ptr<avsCommon::utils::bluetooth::FormattedAudioStreamAdapter>
getAudioStream();
128 enum class OperatingMode {
158 std::string operatingModeToString(OperatingMode mode);
170 void setOperatingMode(OperatingMode mode);
177 void abortStreaming();
192 bool m_operatingModeChanged;
197 std::atomic<OperatingMode> m_operatingMode;
202 std::vector<uint8_t> m_sbcBuffer;
212 std::mutex m_streamMutex;
217 std::condition_variable m_modeChangeSignal;
222 std::shared_ptr<avsCommon::utils::bluetooth::FormattedAudioStreamAdapter> m_ioStream;
227 std::vector<uint8_t> m_ioBuffer;
238 std::shared_ptr<MediaContext> m_currentMediaContext;
243 std::thread m_thread;
250 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_MEDIAENDPOINT_H_
::std::string string
Definition: gtest-port.h:1097
Definition: DBusObject.h:41
MediaStreamingState
An Enum representing the current state of the stream.
Definition: MediaStreamingState.h:25
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36