16 #ifndef ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZA2DPSOURCE_H_ 17 #define ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZA2DPSOURCE_H_ 24 namespace bluetoothImplementations {
27 class BlueZDeviceManager;
39 static std::shared_ptr<BlueZA2DPSource>
create(std::shared_ptr<BlueZDeviceManager> deviceManager);
44 std::shared_ptr<avsCommon::utils::bluetooth::FormattedAudioStreamAdapter>
getSourceStream()
override;
51 std::shared_ptr<avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface>
getRecord()
override;
52 void setup()
override;
67 std::shared_ptr<avsCommon::utils::bluetooth::A2DPSourceRecord> m_record;
72 std::shared_ptr<BlueZDeviceManager> m_deviceManager;
79 #endif // ALEXA_CLIENT_SDK_BLUETOOTHIMPLEMENTATIONS_BLUEZ_INCLUDE_BLUEZ_BLUEZA2DPSOURCE_H_ Definition: BlueZA2DPSource.h:32
void setup() override
Called for any necessary setup of the service.
std::shared_ptr< avsCommon::sdkInterfaces::bluetooth::services::SDPRecordInterface > getRecord() override
std::shared_ptr< avsCommon::utils::bluetooth::FormattedAudioStreamAdapter > getSourceStream() override
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
void cleanup() override
Called for any necessary cleanup of the service.
Definition: A2DPSourceInterface.h:33
static std::shared_ptr< BlueZA2DPSource > create(std::shared_ptr< BlueZDeviceManager > deviceManager)