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_symbolloader.cpp
Go to the documentation of this file.
1// Copyright (C) 2024 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
5
6#include <pipewire/pipewire.h>
7
8extern "C" {
9#if !PW_CHECK_VERSION(0, 3, 75)
10bool pw_check_library_version(int major, int minor, int micro);
11#endif
12#if !PW_CHECK_VERSION(0, 3, 50)
13int pw_stream_get_time_n(struct pw_stream *stream, struct pw_time *time, size_t size);
14#endif
15}
16
17//BEGIN_INIT_FUNCS("pipewire-0.3", "0")
18BEGIN_INIT_FUNCS("pipewire-" PW_API_VERSION, "0")
19
20INIT_FUNC(pw_init);
52
53END_INIT_FUNCS()
54
55DEFINE_FUNC(pw_init, 2);
63DEFINE_FUNC(pw_thread_loop_new, 2);
64DEFINE_FUNC(pw_thread_loop_destroy, 1);
65DEFINE_FUNC(pw_thread_loop_get_loop, 1);
66DEFINE_FUNC(pw_thread_loop_start, 1);
67DEFINE_FUNC(pw_thread_loop_stop, 1);
68DEFINE_FUNC(pw_thread_loop_lock, 1);
69DEFINE_FUNC(pw_thread_loop_unlock, 1);
70DEFINE_FUNC(pw_thread_loop_timed_wait, 2);
71DEFINE_FUNC(pw_thread_loop_signal, 2);
72DEFINE_FUNC(pw_thread_loop_in_thread, 1);
73DEFINE_FUNC(pw_properties_new_dict, 1);
74DEFINE_FUNC(pw_properties_free, 1);
75DEFINE_FUNC(pw_stream_new, 3);
76DEFINE_FUNC(pw_stream_new_simple, 5);
77DEFINE_FUNC(pw_stream_destroy, 1);
78DEFINE_FUNC(pw_stream_add_listener, 4);
79DEFINE_FUNC(pw_stream_connect, 6);
80DEFINE_FUNC(pw_stream_disconnect, 1);
81DEFINE_FUNC(pw_stream_set_active, 2);
82DEFINE_FUNC(pw_stream_dequeue_buffer, 1);
83DEFINE_FUNC(pw_stream_queue_buffer, 2);
85DEFINE_FUNC(pw_proxy_destroy, 1);
86DEFINE_FUNC(pw_get_library_version, 0);
87
88DEFINE_IS_LOADED_CHECKER(qPipewireIsLoaded)
int pw_stream_get_time_n(struct pw_stream *stream, struct pw_time *time, size_t size)
bool pw_check_library_version(int major, int minor, int micro)
INIT_FUNC(pw_context_connect_fd)
INIT_FUNC(pw_context_connect)
INIT_FUNC(pw_properties_new_dict)
INIT_FUNC(pw_get_library_version)
INIT_FUNC(pw_stream_connect)
INIT_FUNC(pw_context_new)
INIT_FUNC(pw_thread_loop_get_loop)
INIT_FUNC(pw_stream_add_listener)
INIT_OPT_FUNC(pw_stream_get_time_n)
INIT_FUNC(pw_proxy_destroy)
INIT_FUNC(pw_properties_free)
INIT_FUNC(pw_stream_set_active)
INIT_FUNC(pw_thread_loop_signal)
INIT_FUNC(pw_deinit)
INIT_OPT_FUNC(pw_check_library_version)
INIT_FUNC(pw_stream_new_simple)
INIT_FUNC(pw_thread_loop_timed_wait)
INIT_FUNC(pw_stream_destroy)
INIT_FUNC(pw_thread_loop_unlock)
INIT_FUNC(pw_core_disconnect)
DEFINE_FUNC(pw_deinit, 0)
INIT_FUNC(pw_stream_new)
INIT_FUNC(pw_thread_loop_stop)
INIT_FUNC(pw_thread_loop_in_thread)
INIT_FUNC(pw_context_destroy)
INIT_FUNC(pw_thread_loop_start)
INIT_FUNC(pw_stream_disconnect)
INIT_FUNC(pw_thread_loop_destroy)
INIT_FUNC(pw_stream_queue_buffer)
INIT_FUNC(pw_thread_loop_new)
INIT_FUNC(pw_thread_loop_lock)
INIT_FUNC(pw_stream_dequeue_buffer)