Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qpipewire_spa_pod_support_p.h
Go to the documentation of this file.
1// Copyright (C) 2025 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QPIPEWIRE_SPA_POD_SUPPORT_P_H
5#define QPIPEWIRE_SPA_POD_SUPPORT_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtMultimedia/private/qaudio_qspan_support_p.h>
19#include <QtMultimedia/private/qpipewire_spa_pod_parser_support_p.h>
20#include <QtMultimedia/qaudioformat.h>
21#include <QtMultimedia/qtmultimediaglobal.h>
22#include <QtCore/qglobal.h>
23#include <QtCore/qlist.h>
24#include <QtCore/qspan.h>
25
26#if __has_include(<spa/param/audio/iec958.h>)
27# include <spa/param/audio/iec958.h>
28#else
29# include <QtMultimedia/private/qpipewire_spa_compat_p.h>
30#endif
31#include <spa/param/audio/raw.h>
32#include <spa/pod/pod.h>
33
34QT_BEGIN_NAMESPACE
35
36namespace QtPipeWire {
37
48
49Q_MULTIMEDIA_EXPORT spa_audio_info_raw asSpaAudioInfoRaw(const QAudioFormat &);
50
73
74} // namespace QtPipeWire
75
76QT_END_NAMESPACE
77
78#endif // QPIPEWIRE_SPA_POD_SUPPORT_P_H
constexpr std::array channelPositions7Dot1
constexpr std::array channelPositions3Dot1
constexpr std::array channelPositions5Dot0
constexpr std::array channelPositions5Dot1
constexpr std::array channelPositionsStereo
constexpr std::array channelPositions7Dot0
constexpr std::array channelPositionsMono
spa_audio_info_raw asSpaAudioInfoRaw(const QAudioFormat &fmt)
constexpr std::array channelPositions2Dot1
constexpr std::array channelPositions3Dot0
#define __has_include(x)
static constexpr spa_media_subtype SPA_MEDIA_SUBTYPE_iec958
static constexpr spa_format SPA_FORMAT_AUDIO_iec958Codec