VirtualBox

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

Last change on this file since 92463 was 88478, checked in by vboxsync, 4 years ago

DrvHostAudioPulse: Implemented basic device enumeration. bugref:9890

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.9 KB
Line 
1/* $Id: DrvHostAudioPulseAudioStubsMangling.h 88478 2021-04-13 00:03:47Z 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-2020 Oracle Corporation
10 *
11 * This file is part of VirtualBox Open Source Edition (OSE), as
12 * available from http://www.virtualbox.org. This file is free software;
13 * you can redistribute it and/or modify it under the terms of the GNU
14 * General Public License (GPL) as published by the Free Software
15 * Foundation, in version 2 as it comes in the "COPYING" file of the
16 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
17 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
18 */
19
20#ifndef VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h
21#define VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h
22#ifndef RT_WITHOUT_PRAGMA_ONCE
23# pragma once
24#endif
25
26#define PULSE_MANGLER(symbol) VBox_##symbol
27
28#define pa_bytes_per_second PULSE_MANGLER(pa_bytes_per_second)
29#define pa_bytes_to_usec PULSE_MANGLER(pa_bytes_to_usec)
30#define pa_channel_map_init_auto PULSE_MANGLER(pa_channel_map_init_auto)
31
32#define pa_context_connect PULSE_MANGLER(pa_context_connect)
33#define pa_context_disconnect PULSE_MANGLER(pa_context_disconnect)
34#define pa_context_get_server_info PULSE_MANGLER(pa_context_get_server_info)
35#define pa_context_get_sink_info_by_name PULSE_MANGLER(pa_context_get_sink_info_by_name)
36#define pa_context_get_sink_info_list PULSE_MANGLER(pa_context_get_sink_info_list)
37#define pa_context_get_source_info_by_name PULSE_MANGLER(pa_context_get_source_info_by_name)
38#define pa_context_get_source_info_list PULSE_MANGLER(pa_context_get_source_info_list)
39#define pa_context_get_state PULSE_MANGLER(pa_context_get_state)
40#define pa_context_unref PULSE_MANGLER(pa_context_unref)
41#define pa_context_errno PULSE_MANGLER(pa_context_errno)
42#define pa_context_new PULSE_MANGLER(pa_context_new)
43#define pa_context_set_state_callback PULSE_MANGLER(pa_context_set_state_callback)
44
45#define pa_frame_size PULSE_MANGLER(pa_frame_size)
46#define pa_get_library_version PULSE_MANGLER(pa_get_library_version)
47#define pa_operation_unref PULSE_MANGLER(pa_operation_unref)
48#define pa_operation_get_state PULSE_MANGLER(pa_operation_get_state)
49#define pa_operation_cancel PULSE_MANGLER(pa_operation_cancel)
50#define pa_rtclock_now PULSE_MANGLER(pa_rtclock_now)
51#define pa_sample_format_to_string PULSE_MANGLER(pa_sample_format_to_string)
52#define pa_sample_spec_valid PULSE_MANGLER(pa_sample_spec_valid)
53
54#define pa_stream_connect_playback PULSE_MANGLER(pa_stream_connect_playback)
55#define pa_stream_connect_record PULSE_MANGLER(pa_stream_connect_record)
56#define pa_stream_cork PULSE_MANGLER(pa_stream_cork)
57#define pa_stream_disconnect PULSE_MANGLER(pa_stream_disconnect)
58#define pa_stream_drop PULSE_MANGLER(pa_stream_drop)
59#define pa_stream_get_sample_spec PULSE_MANGLER(pa_stream_get_sample_spec)
60#define pa_stream_set_latency_update_callback PULSE_MANGLER(pa_stream_set_latency_update_callback)
61#define pa_stream_write PULSE_MANGLER(pa_stream_write)
62#define pa_stream_unref PULSE_MANGLER(pa_stream_unref)
63#define pa_stream_get_state PULSE_MANGLER(pa_stream_get_state)
64#define pa_stream_get_latency PULSE_MANGLER(pa_stream_get_latency)
65#define pa_stream_get_timing_info PULSE_MANGLER(pa_stream_get_timing_info)
66#define pa_stream_set_buffer_attr PULSE_MANGLER(pa_stream_set_buffer_attr)
67#define pa_stream_set_state_callback PULSE_MANGLER(pa_stream_set_state_callback)
68#define pa_stream_set_underflow_callback PULSE_MANGLER(pa_stream_set_underflow_callback)
69#define pa_stream_set_overflow_callback PULSE_MANGLER(pa_stream_set_overflow_callback)
70#define pa_stream_set_write_callback PULSE_MANGLER(pa_stream_set_write_callback)
71#define pa_stream_flush PULSE_MANGLER(pa_stream_flush)
72#define pa_stream_drain PULSE_MANGLER(pa_stream_drain)
73#define pa_stream_trigger PULSE_MANGLER(pa_stream_trigger)
74#define pa_stream_new PULSE_MANGLER(pa_stream_new)
75#define pa_stream_get_buffer_attr PULSE_MANGLER(pa_stream_get_buffer_attr)
76#define pa_stream_peek PULSE_MANGLER(pa_stream_peek)
77#define pa_stream_readable_size PULSE_MANGLER(pa_stream_readable_size)
78#define pa_stream_writable_size PULSE_MANGLER(pa_stream_writable_size)
79
80#define pa_strerror PULSE_MANGLER(pa_strerror)
81
82#define pa_threaded_mainloop_stop PULSE_MANGLER(pa_threaded_mainloop_stop)
83#define pa_threaded_mainloop_get_api PULSE_MANGLER(pa_threaded_mainloop_get_api)
84#define pa_threaded_mainloop_free PULSE_MANGLER(pa_threaded_mainloop_free)
85#define pa_threaded_mainloop_signal PULSE_MANGLER(pa_threaded_mainloop_signal)
86#define pa_threaded_mainloop_unlock PULSE_MANGLER(pa_threaded_mainloop_unlock)
87#define pa_threaded_mainloop_new PULSE_MANGLER(pa_threaded_mainloop_new)
88#define pa_threaded_mainloop_wait PULSE_MANGLER(pa_threaded_mainloop_wait)
89#define pa_threaded_mainloop_start PULSE_MANGLER(pa_threaded_mainloop_start)
90#define pa_threaded_mainloop_lock PULSE_MANGLER(pa_threaded_mainloop_lock)
91
92#define pa_usec_to_bytes PULSE_MANGLER(pa_usec_to_bytes)
93
94#endif /* !VBOX_INCLUDED_SRC_Audio_DrvHostAudioPulseAudioStubsMangling_h */
95
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