VirtualBox

source: vbox/trunk/src/VBox/Devices/Audio/DrvHostAudioPulseAudioStubsMangling.h@ 103914

Last change on this file since 103914 was 98103, checked in by vboxsync, 22 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.2 KB
Line 
1/* $Id: DrvHostAudioPulseAudioStubsMangling.h 98103 2023-01-17 14:15:46Z vboxsync $ */
2/** @file
3 * Mangle libpulse symbols.
4 *
5 * This is necessary on hosts which don't support the -fvisibility gcc switch.
6 */
7
8/*
9 * Copyright (C) 2013-2023 Oracle and/or its affiliates.
10 *
11 * This file is part of VirtualBox base platform packages, as
12 * available from https://www.virtualbox.org.
13 *
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation, in version 3 of the
17 * License.
18 *
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, see <https://www.gnu.org/licenses>.
26 *
27 * SPDX-License-Identifier: GPL-3.0-only
28 */
29
30#ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h
31#define VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h
32#ifndef RT_WITHOUT_PRAGMA_ONCE
33# pragma once
34#endif
35
36#define PULSE_MANGLER(symbol) VBox_##symbol
37
38#define pa_bytes_per_second PULSE_MANGLER(pa_bytes_per_second)
39#define pa_bytes_to_usec PULSE_MANGLER(pa_bytes_to_usec)
40#define pa_channel_map_init_auto PULSE_MANGLER(pa_channel_map_init_auto)
41
42#define pa_context_connect PULSE_MANGLER(pa_context_connect)
43#define pa_context_disconnect PULSE_MANGLER(pa_context_disconnect)
44#define pa_context_get_server_info PULSE_MANGLER(pa_context_get_server_info)
45#define pa_context_get_sink_info_by_name PULSE_MANGLER(pa_context_get_sink_info_by_name)
46#define pa_context_get_sink_info_list PULSE_MANGLER(pa_context_get_sink_info_list)
47#define pa_context_get_source_info_by_name PULSE_MANGLER(pa_context_get_source_info_by_name)
48#define pa_context_get_source_info_list PULSE_MANGLER(pa_context_get_source_info_list)
49#define pa_context_get_state PULSE_MANGLER(pa_context_get_state)
50#define pa_context_unref PULSE_MANGLER(pa_context_unref)
51#define pa_context_errno PULSE_MANGLER(pa_context_errno)
52#define pa_context_new PULSE_MANGLER(pa_context_new)
53#define pa_context_set_state_callback PULSE_MANGLER(pa_context_set_state_callback)
54
55#define pa_frame_size PULSE_MANGLER(pa_frame_size)
56#define pa_get_library_version PULSE_MANGLER(pa_get_library_version)
57#define pa_operation_unref PULSE_MANGLER(pa_operation_unref)
58#define pa_operation_get_state PULSE_MANGLER(pa_operation_get_state)
59#define pa_operation_cancel PULSE_MANGLER(pa_operation_cancel)
60#define pa_rtclock_now PULSE_MANGLER(pa_rtclock_now)
61#define pa_sample_format_to_string PULSE_MANGLER(pa_sample_format_to_string)
62#define pa_sample_spec_valid PULSE_MANGLER(pa_sample_spec_valid)
63
64#define pa_stream_connect_playback PULSE_MANGLER(pa_stream_connect_playback)
65#define pa_stream_connect_record PULSE_MANGLER(pa_stream_connect_record)
66#define pa_stream_cork PULSE_MANGLER(pa_stream_cork)
67#define pa_stream_disconnect PULSE_MANGLER(pa_stream_disconnect)
68#define pa_stream_drop PULSE_MANGLER(pa_stream_drop)
69#define pa_stream_get_sample_spec PULSE_MANGLER(pa_stream_get_sample_spec)
70#define pa_stream_set_latency_update_callback PULSE_MANGLER(pa_stream_set_latency_update_callback)
71#define pa_stream_write PULSE_MANGLER(pa_stream_write)
72#define pa_stream_unref PULSE_MANGLER(pa_stream_unref)
73#define pa_stream_get_state PULSE_MANGLER(pa_stream_get_state)
74#define pa_stream_get_latency PULSE_MANGLER(pa_stream_get_latency)
75#define pa_stream_get_timing_info PULSE_MANGLER(pa_stream_get_timing_info)
76#define pa_stream_set_buffer_attr PULSE_MANGLER(pa_stream_set_buffer_attr)
77#define pa_stream_set_state_callback PULSE_MANGLER(pa_stream_set_state_callback)
78#define pa_stream_set_underflow_callback PULSE_MANGLER(pa_stream_set_underflow_callback)
79#define pa_stream_set_overflow_callback PULSE_MANGLER(pa_stream_set_overflow_callback)
80#define pa_stream_set_write_callback PULSE_MANGLER(pa_stream_set_write_callback)
81#define pa_stream_flush PULSE_MANGLER(pa_stream_flush)
82#define pa_stream_drain PULSE_MANGLER(pa_stream_drain)
83#define pa_stream_trigger PULSE_MANGLER(pa_stream_trigger)
84#define pa_stream_new PULSE_MANGLER(pa_stream_new)
85#define pa_stream_get_buffer_attr PULSE_MANGLER(pa_stream_get_buffer_attr)
86#define pa_stream_peek PULSE_MANGLER(pa_stream_peek)
87#define pa_stream_readable_size PULSE_MANGLER(pa_stream_readable_size)
88#define pa_stream_writable_size PULSE_MANGLER(pa_stream_writable_size)
89
90#define pa_strerror PULSE_MANGLER(pa_strerror)
91
92#define pa_threaded_mainloop_stop PULSE_MANGLER(pa_threaded_mainloop_stop)
93#define pa_threaded_mainloop_get_api PULSE_MANGLER(pa_threaded_mainloop_get_api)
94#define pa_threaded_mainloop_free PULSE_MANGLER(pa_threaded_mainloop_free)
95#define pa_threaded_mainloop_signal PULSE_MANGLER(pa_threaded_mainloop_signal)
96#define pa_threaded_mainloop_unlock PULSE_MANGLER(pa_threaded_mainloop_unlock)
97#define pa_threaded_mainloop_new PULSE_MANGLER(pa_threaded_mainloop_new)
98#define pa_threaded_mainloop_wait PULSE_MANGLER(pa_threaded_mainloop_wait)
99#define pa_threaded_mainloop_start PULSE_MANGLER(pa_threaded_mainloop_start)
100#define pa_threaded_mainloop_lock PULSE_MANGLER(pa_threaded_mainloop_lock)
101
102#define pa_usec_to_bytes PULSE_MANGLER(pa_usec_to_bytes)
103
104#endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h */
105
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette