1// The extra include header needed in the generated stub file for defining
2// various Pulse types.
3
4extern "C" {
5
6#include <pulse/pulseaudio.h>
7
8#if PA_MAJOR > 12
9typedef const pa_context* const_pa_context_ptr;
10typedef const pa_operation* const_pa_operation_ptr;
11typedef const pa_proplist* const_pa_proplist_ptr;
12typedef const pa_stream* const_pa_stream_ptr;
13#else
14typedef pa_context* const_pa_context_ptr;
15typedef pa_operation* const_pa_operation_ptr;
16typedef pa_proplist* const_pa_proplist_ptr;
17typedef pa_stream* const_pa_stream_ptr;
18#endif
19}
20