~aleteoryx/muditaos

ref: 061479780b11b2c88a88ef5fa8742ba02428407a muditaos/module-services/service-bluetooth/ServiceBluetoothCommon.hpp -rw-r--r-- 521 bytes
06147978 — Bartosz Cichocki [EGD-4011] added BT audio device with A2DP playback (#870) 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <FreeRTOS.h>
#include <queue.h>
#include <module-bluetooth/Bluetooth/Device.hpp>

class BluetoothStreamData
{
  public:
    QueueHandle_t in  = nullptr;
    QueueHandle_t out = nullptr;
    DeviceMetadata_t metadata;
    BluetoothStreamData(QueueHandle_t in, QueueHandle_t out, DeviceMetadata_t metadata)
        : in(in), out(out), metadata(metadata)
    {}
};