summaryrefslogtreecommitdiff
path: root/drivers/pulseaudio
diff options
context:
space:
mode:
authorHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-20 00:13:33 +0100
committerHein-Pieter van Braam-Stewart <hp@tmm.cx>2021-02-20 01:24:30 +0100
commit5233d78f491420b26d7c06a44bc781a01da11d9f (patch)
tree05d19928a5a44ee26456726f49cfdbdaae9590ee /drivers/pulseaudio
parentdc1ae065578baee102d461353c757ebf2cc5cf8c (diff)
An update to the dylibloader for older inttypes
This #define's older inttypes to their newer versions and #includes <stdint.h> in the generated files. This will help with older glibc/compiler versions using headers generated on newer systems. This closes #46223
Diffstat (limited to 'drivers/pulseaudio')
-rw-r--r--drivers/pulseaudio/audio_driver_pulseaudio.cpp7
-rw-r--r--drivers/pulseaudio/pulse-so_wrap.c2866
-rw-r--r--drivers/pulseaudio/pulse-so_wrap.h6
3 files changed, 1802 insertions, 1077 deletions
diff --git a/drivers/pulseaudio/audio_driver_pulseaudio.cpp b/drivers/pulseaudio/audio_driver_pulseaudio.cpp
index 01bed4e735..5e87bc019b 100644
--- a/drivers/pulseaudio/audio_driver_pulseaudio.cpp
+++ b/drivers/pulseaudio/audio_driver_pulseaudio.cpp
@@ -233,7 +233,12 @@ Error AudioDriverPulseAudio::init_device() {
}
Error AudioDriverPulseAudio::init() {
- if (initialize_pulse()) {
+#ifdef DEBUG_ENABLED
+ int dylibloader_verbose = 1;
+#else
+ int dylibloader_verbose = 0;
+#endif
+ if (initialize_pulse(dylibloader_verbose)) {
return ERR_CANT_OPEN;
}
diff --git a/drivers/pulseaudio/pulse-so_wrap.c b/drivers/pulseaudio/pulse-so_wrap.c
index fdb002a2e5..12bdcc704e 100644
--- a/drivers/pulseaudio/pulse-so_wrap.c
+++ b/drivers/pulseaudio/pulse-so_wrap.c
@@ -1,8 +1,10 @@
// This file is generated. Do not edit!
// see https://github.com/hpvb/dynload-wrapper for details
-// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.2 on 2021-02-18 00:19:07
+// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.3 on 2021-02-20 00:08:31
// flags: /home/hp/Projects/godot/pulse/generate-wrapper.py --include /usr/include/pulse/pulseaudio.h --sys-include <pulse/pulseaudio.h> --soname libpulse.so.0 --omit-prefix _pa_ --init-name pulse --output-header pulse-so_wrap.h --output-implementation pulse-so_wrap.c
//
+#include <stdint.h>
+
#define pa_get_library_version pa_get_library_version_dylibloader_orig_pulse
#define pa_bytes_per_second pa_bytes_per_second_dylibloader_orig_pulse
#define pa_frame_size pa_frame_size_dylibloader_orig_pulse
@@ -1077,2156 +1079,2872 @@ struct timeval* (*pa_timeval_sub_dylibloader_wrapper_pulse)(struct timeval*, pa_
struct timeval* (*pa_timeval_store_dylibloader_wrapper_pulse)(struct timeval*, pa_usec_t);
pa_usec_t (*pa_timeval_load_dylibloader_wrapper_pulse)(struct timeval*);
pa_usec_t (*pa_rtclock_now_dylibloader_wrapper_pulse)( void);
-int initialize_pulse() {
+int initialize_pulse(int verbose) {
void *handle;
char *error;
handle = dlopen("libpulse.so.0", RTLD_LAZY);
if (!handle) {
- fprintf(stderr, "%s\n", dlerror());
+ if (verbose) {
+ fprintf(stderr, "%s\n", dlerror());
+ }
return(1);
}
dlerror();
// pa_get_library_version
*(void **) (&pa_get_library_version_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_library_version");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_bytes_per_second
*(void **) (&pa_bytes_per_second_dylibloader_wrapper_pulse) = dlsym(handle, "pa_bytes_per_second");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_frame_size
*(void **) (&pa_frame_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_frame_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_size
*(void **) (&pa_sample_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_size_of_format
*(void **) (&pa_sample_size_of_format_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_size_of_format");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_bytes_to_usec
*(void **) (&pa_bytes_to_usec_dylibloader_wrapper_pulse) = dlsym(handle, "pa_bytes_to_usec");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_usec_to_bytes
*(void **) (&pa_usec_to_bytes_dylibloader_wrapper_pulse) = dlsym(handle, "pa_usec_to_bytes");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_spec_init
*(void **) (&pa_sample_spec_init_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_spec_init");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_format_valid
*(void **) (&pa_sample_format_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_format_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_rate_valid
*(void **) (&pa_sample_rate_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_rate_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channels_valid
*(void **) (&pa_channels_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channels_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_spec_valid
*(void **) (&pa_sample_spec_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_spec_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_spec_equal
*(void **) (&pa_sample_spec_equal_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_spec_equal");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_format_to_string
*(void **) (&pa_sample_format_to_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_format_to_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_parse_sample_format
*(void **) (&pa_parse_sample_format_dylibloader_wrapper_pulse) = dlsym(handle, "pa_parse_sample_format");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_spec_snprint
*(void **) (&pa_sample_spec_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_spec_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_bytes_snprint
*(void **) (&pa_bytes_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_bytes_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_format_is_le
*(void **) (&pa_sample_format_is_le_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_format_is_le");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sample_format_is_be
*(void **) (&pa_sample_format_is_be_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sample_format_is_be");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_direction_valid
*(void **) (&pa_direction_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_direction_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_direction_to_string
*(void **) (&pa_direction_to_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_direction_to_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_api_once
*(void **) (&pa_mainloop_api_once_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_api_once");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_new
*(void **) (&pa_proplist_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_free
*(void **) (&pa_proplist_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_key_valid
*(void **) (&pa_proplist_key_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_key_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_sets
*(void **) (&pa_proplist_sets_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_sets");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_setp
*(void **) (&pa_proplist_setp_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_setp");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_setf
*(void **) (&pa_proplist_setf_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_setf");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_set
*(void **) (&pa_proplist_set_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_set");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_gets
*(void **) (&pa_proplist_gets_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_gets");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_get
*(void **) (&pa_proplist_get_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_get");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_update
*(void **) (&pa_proplist_update_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_update");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_unset
*(void **) (&pa_proplist_unset_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_unset");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_unset_many
*(void **) (&pa_proplist_unset_many_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_unset_many");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_iterate
*(void **) (&pa_proplist_iterate_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_iterate");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_to_string
*(void **) (&pa_proplist_to_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_to_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_to_string_sep
*(void **) (&pa_proplist_to_string_sep_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_to_string_sep");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_from_string
*(void **) (&pa_proplist_from_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_from_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_contains
*(void **) (&pa_proplist_contains_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_contains");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_clear
*(void **) (&pa_proplist_clear_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_clear");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_copy
*(void **) (&pa_proplist_copy_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_copy");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_size
*(void **) (&pa_proplist_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_isempty
*(void **) (&pa_proplist_isempty_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_isempty");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_proplist_equal
*(void **) (&pa_proplist_equal_dylibloader_wrapper_pulse) = dlsym(handle, "pa_proplist_equal");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_init
*(void **) (&pa_channel_map_init_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_init");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_init_mono
*(void **) (&pa_channel_map_init_mono_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_init_mono");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_init_stereo
*(void **) (&pa_channel_map_init_stereo_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_init_stereo");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_init_auto
*(void **) (&pa_channel_map_init_auto_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_init_auto");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_init_extend
*(void **) (&pa_channel_map_init_extend_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_init_extend");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_position_to_string
*(void **) (&pa_channel_position_to_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_position_to_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_position_from_string
*(void **) (&pa_channel_position_from_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_position_from_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_position_to_pretty_string
*(void **) (&pa_channel_position_to_pretty_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_position_to_pretty_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_snprint
*(void **) (&pa_channel_map_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_parse
*(void **) (&pa_channel_map_parse_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_parse");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_equal
*(void **) (&pa_channel_map_equal_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_equal");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_valid
*(void **) (&pa_channel_map_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_compatible
*(void **) (&pa_channel_map_compatible_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_compatible");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_superset
*(void **) (&pa_channel_map_superset_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_superset");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_can_balance
*(void **) (&pa_channel_map_can_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_can_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_can_fade
*(void **) (&pa_channel_map_can_fade_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_can_fade");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_can_lfe_balance
*(void **) (&pa_channel_map_can_lfe_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_can_lfe_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_to_name
*(void **) (&pa_channel_map_to_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_to_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_to_pretty_name
*(void **) (&pa_channel_map_to_pretty_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_to_pretty_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_has_position
*(void **) (&pa_channel_map_has_position_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_has_position");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_channel_map_mask
*(void **) (&pa_channel_map_mask_dylibloader_wrapper_pulse) = dlsym(handle, "pa_channel_map_mask");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_encoding_to_string
*(void **) (&pa_encoding_to_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_encoding_to_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_encoding_from_string
*(void **) (&pa_encoding_from_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_encoding_from_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_new
*(void **) (&pa_format_info_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_copy
*(void **) (&pa_format_info_copy_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_copy");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_free
*(void **) (&pa_format_info_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_valid
*(void **) (&pa_format_info_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_is_pcm
*(void **) (&pa_format_info_is_pcm_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_is_pcm");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_is_compatible
*(void **) (&pa_format_info_is_compatible_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_is_compatible");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_snprint
*(void **) (&pa_format_info_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_from_string
*(void **) (&pa_format_info_from_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_from_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_from_sample_spec
*(void **) (&pa_format_info_from_sample_spec_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_from_sample_spec");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_to_sample_spec
*(void **) (&pa_format_info_to_sample_spec_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_to_sample_spec");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_type
*(void **) (&pa_format_info_get_prop_type_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_type");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_int
*(void **) (&pa_format_info_get_prop_int_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_int");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_int_range
*(void **) (&pa_format_info_get_prop_int_range_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_int_range");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_int_array
*(void **) (&pa_format_info_get_prop_int_array_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_int_array");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_string
*(void **) (&pa_format_info_get_prop_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_prop_string_array
*(void **) (&pa_format_info_get_prop_string_array_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_prop_string_array");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_free_string_array
*(void **) (&pa_format_info_free_string_array_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_free_string_array");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_sample_format
*(void **) (&pa_format_info_get_sample_format_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_sample_format");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_rate
*(void **) (&pa_format_info_get_rate_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_rate");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_channels
*(void **) (&pa_format_info_get_channels_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_channels");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_get_channel_map
*(void **) (&pa_format_info_get_channel_map_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_get_channel_map");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_prop_int
*(void **) (&pa_format_info_set_prop_int_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_prop_int");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_prop_int_array
*(void **) (&pa_format_info_set_prop_int_array_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_prop_int_array");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_prop_int_range
*(void **) (&pa_format_info_set_prop_int_range_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_prop_int_range");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_prop_string
*(void **) (&pa_format_info_set_prop_string_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_prop_string");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_prop_string_array
*(void **) (&pa_format_info_set_prop_string_array_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_prop_string_array");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_sample_format
*(void **) (&pa_format_info_set_sample_format_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_sample_format");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_rate
*(void **) (&pa_format_info_set_rate_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_rate");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_channels
*(void **) (&pa_format_info_set_channels_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_channels");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_format_info_set_channel_map
*(void **) (&pa_format_info_set_channel_map_dylibloader_wrapper_pulse) = dlsym(handle, "pa_format_info_set_channel_map");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_operation_ref
*(void **) (&pa_operation_ref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_operation_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_operation_unref
*(void **) (&pa_operation_unref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_operation_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_operation_cancel
*(void **) (&pa_operation_cancel_dylibloader_wrapper_pulse) = dlsym(handle, "pa_operation_cancel");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_operation_get_state
*(void **) (&pa_operation_get_state_dylibloader_wrapper_pulse) = dlsym(handle, "pa_operation_get_state");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_operation_set_state_callback
*(void **) (&pa_operation_set_state_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_operation_set_state_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_new
*(void **) (&pa_context_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_new_with_proplist
*(void **) (&pa_context_new_with_proplist_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_new_with_proplist");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_unref
*(void **) (&pa_context_unref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_ref
*(void **) (&pa_context_ref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_state_callback
*(void **) (&pa_context_set_state_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_state_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_event_callback
*(void **) (&pa_context_set_event_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_event_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_errno
*(void **) (&pa_context_errno_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_errno");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_is_pending
*(void **) (&pa_context_is_pending_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_is_pending");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_state
*(void **) (&pa_context_get_state_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_state");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_connect
*(void **) (&pa_context_connect_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_connect");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_disconnect
*(void **) (&pa_context_disconnect_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_disconnect");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_drain
*(void **) (&pa_context_drain_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_drain");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_exit_daemon
*(void **) (&pa_context_exit_daemon_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_exit_daemon");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_default_sink
*(void **) (&pa_context_set_default_sink_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_default_sink");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_default_source
*(void **) (&pa_context_set_default_source_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_default_source");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_is_local
*(void **) (&pa_context_is_local_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_is_local");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_name
*(void **) (&pa_context_set_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_server
*(void **) (&pa_context_get_server_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_server");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_protocol_version
*(void **) (&pa_context_get_protocol_version_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_protocol_version");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_server_protocol_version
*(void **) (&pa_context_get_server_protocol_version_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_server_protocol_version");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_proplist_update
*(void **) (&pa_context_proplist_update_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_proplist_update");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_proplist_remove
*(void **) (&pa_context_proplist_remove_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_proplist_remove");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_index
*(void **) (&pa_context_get_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_rttime_new
*(void **) (&pa_context_rttime_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_rttime_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_rttime_restart
*(void **) (&pa_context_rttime_restart_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_rttime_restart");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_tile_size
*(void **) (&pa_context_get_tile_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_tile_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_load_cookie_from_file
*(void **) (&pa_context_load_cookie_from_file_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_load_cookie_from_file");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_equal
*(void **) (&pa_cvolume_equal_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_equal");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_init
*(void **) (&pa_cvolume_init_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_init");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_set
*(void **) (&pa_cvolume_set_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_set");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_snprint
*(void **) (&pa_cvolume_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_cvolume_snprint_dB
*(void **) (&pa_sw_cvolume_snprint_dB_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_cvolume_snprint_dB");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_snprint_verbose
*(void **) (&pa_cvolume_snprint_verbose_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_snprint_verbose");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_volume_snprint
*(void **) (&pa_volume_snprint_dylibloader_wrapper_pulse) = dlsym(handle, "pa_volume_snprint");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_snprint_dB
*(void **) (&pa_sw_volume_snprint_dB_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_snprint_dB");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_volume_snprint_verbose
*(void **) (&pa_volume_snprint_verbose_dylibloader_wrapper_pulse) = dlsym(handle, "pa_volume_snprint_verbose");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_avg
*(void **) (&pa_cvolume_avg_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_avg");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_avg_mask
*(void **) (&pa_cvolume_avg_mask_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_avg_mask");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_max
*(void **) (&pa_cvolume_max_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_max");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_max_mask
*(void **) (&pa_cvolume_max_mask_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_max_mask");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_min
*(void **) (&pa_cvolume_min_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_min");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_min_mask
*(void **) (&pa_cvolume_min_mask_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_min_mask");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_valid
*(void **) (&pa_cvolume_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_channels_equal_to
*(void **) (&pa_cvolume_channels_equal_to_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_channels_equal_to");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_multiply
*(void **) (&pa_sw_volume_multiply_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_multiply");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_cvolume_multiply
*(void **) (&pa_sw_cvolume_multiply_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_cvolume_multiply");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_cvolume_multiply_scalar
*(void **) (&pa_sw_cvolume_multiply_scalar_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_cvolume_multiply_scalar");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_divide
*(void **) (&pa_sw_volume_divide_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_divide");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_cvolume_divide
*(void **) (&pa_sw_cvolume_divide_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_cvolume_divide");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_cvolume_divide_scalar
*(void **) (&pa_sw_cvolume_divide_scalar_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_cvolume_divide_scalar");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_from_dB
*(void **) (&pa_sw_volume_from_dB_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_from_dB");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_to_dB
*(void **) (&pa_sw_volume_to_dB_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_to_dB");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_from_linear
*(void **) (&pa_sw_volume_from_linear_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_from_linear");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_sw_volume_to_linear
*(void **) (&pa_sw_volume_to_linear_dylibloader_wrapper_pulse) = dlsym(handle, "pa_sw_volume_to_linear");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_remap
*(void **) (&pa_cvolume_remap_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_remap");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_compatible
*(void **) (&pa_cvolume_compatible_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_compatible");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_compatible_with_channel_map
*(void **) (&pa_cvolume_compatible_with_channel_map_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_compatible_with_channel_map");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_get_balance
*(void **) (&pa_cvolume_get_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_get_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_set_balance
*(void **) (&pa_cvolume_set_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_set_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_get_fade
*(void **) (&pa_cvolume_get_fade_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_get_fade");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_set_fade
*(void **) (&pa_cvolume_set_fade_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_set_fade");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_get_lfe_balance
*(void **) (&pa_cvolume_get_lfe_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_get_lfe_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_set_lfe_balance
*(void **) (&pa_cvolume_set_lfe_balance_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_set_lfe_balance");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_scale
*(void **) (&pa_cvolume_scale_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_scale");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_scale_mask
*(void **) (&pa_cvolume_scale_mask_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_scale_mask");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_set_position
*(void **) (&pa_cvolume_set_position_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_set_position");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_get_position
*(void **) (&pa_cvolume_get_position_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_get_position");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_merge
*(void **) (&pa_cvolume_merge_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_merge");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_inc_clamp
*(void **) (&pa_cvolume_inc_clamp_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_inc_clamp");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_inc
*(void **) (&pa_cvolume_inc_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_inc");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_cvolume_dec
*(void **) (&pa_cvolume_dec_dylibloader_wrapper_pulse) = dlsym(handle, "pa_cvolume_dec");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_new
*(void **) (&pa_stream_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_new_with_proplist
*(void **) (&pa_stream_new_with_proplist_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_new_with_proplist");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_new_extended
*(void **) (&pa_stream_new_extended_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_new_extended");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_unref
*(void **) (&pa_stream_unref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_unref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_ref
*(void **) (&pa_stream_ref_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_ref");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_state
*(void **) (&pa_stream_get_state_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_state");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_context
*(void **) (&pa_stream_get_context_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_context");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_index
*(void **) (&pa_stream_get_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_device_index
*(void **) (&pa_stream_get_device_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_device_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_device_name
*(void **) (&pa_stream_get_device_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_device_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_is_suspended
*(void **) (&pa_stream_is_suspended_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_is_suspended");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_is_corked
*(void **) (&pa_stream_is_corked_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_is_corked");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_connect_playback
*(void **) (&pa_stream_connect_playback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_connect_playback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_connect_record
*(void **) (&pa_stream_connect_record_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_connect_record");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_disconnect
*(void **) (&pa_stream_disconnect_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_disconnect");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_begin_write
*(void **) (&pa_stream_begin_write_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_begin_write");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_cancel_write
*(void **) (&pa_stream_cancel_write_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_cancel_write");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_write
*(void **) (&pa_stream_write_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_write");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_write_ext_free
*(void **) (&pa_stream_write_ext_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_write_ext_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_peek
*(void **) (&pa_stream_peek_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_peek");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_drop
*(void **) (&pa_stream_drop_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_drop");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_writable_size
*(void **) (&pa_stream_writable_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_writable_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_readable_size
*(void **) (&pa_stream_readable_size_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_readable_size");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_drain
*(void **) (&pa_stream_drain_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_drain");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_update_timing_info
*(void **) (&pa_stream_update_timing_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_update_timing_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_state_callback
*(void **) (&pa_stream_set_state_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_state_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_write_callback
*(void **) (&pa_stream_set_write_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_write_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_read_callback
*(void **) (&pa_stream_set_read_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_read_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_overflow_callback
*(void **) (&pa_stream_set_overflow_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_overflow_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_underflow_index
*(void **) (&pa_stream_get_underflow_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_underflow_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_underflow_callback
*(void **) (&pa_stream_set_underflow_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_underflow_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_started_callback
*(void **) (&pa_stream_set_started_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_started_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_latency_update_callback
*(void **) (&pa_stream_set_latency_update_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_latency_update_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_moved_callback
*(void **) (&pa_stream_set_moved_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_moved_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_suspended_callback
*(void **) (&pa_stream_set_suspended_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_suspended_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_event_callback
*(void **) (&pa_stream_set_event_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_event_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_buffer_attr_callback
*(void **) (&pa_stream_set_buffer_attr_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_buffer_attr_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_cork
*(void **) (&pa_stream_cork_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_cork");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_flush
*(void **) (&pa_stream_flush_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_flush");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_prebuf
*(void **) (&pa_stream_prebuf_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_prebuf");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_trigger
*(void **) (&pa_stream_trigger_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_trigger");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_name
*(void **) (&pa_stream_set_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_time
*(void **) (&pa_stream_get_time_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_time");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_latency
*(void **) (&pa_stream_get_latency_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_latency");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_timing_info
*(void **) (&pa_stream_get_timing_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_timing_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_sample_spec
*(void **) (&pa_stream_get_sample_spec_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_sample_spec");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_channel_map
*(void **) (&pa_stream_get_channel_map_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_channel_map");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_format_info
*(void **) (&pa_stream_get_format_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_format_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_buffer_attr
*(void **) (&pa_stream_get_buffer_attr_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_buffer_attr");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_buffer_attr
*(void **) (&pa_stream_set_buffer_attr_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_buffer_attr");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_update_sample_rate
*(void **) (&pa_stream_update_sample_rate_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_update_sample_rate");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_proplist_update
*(void **) (&pa_stream_proplist_update_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_proplist_update");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_proplist_remove
*(void **) (&pa_stream_proplist_remove_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_proplist_remove");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_set_monitor_stream
*(void **) (&pa_stream_set_monitor_stream_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_set_monitor_stream");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_get_monitor_stream
*(void **) (&pa_stream_get_monitor_stream_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_get_monitor_stream");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sink_info_by_name
*(void **) (&pa_context_get_sink_info_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sink_info_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sink_info_by_index
*(void **) (&pa_context_get_sink_info_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sink_info_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sink_info_list
*(void **) (&pa_context_get_sink_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sink_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_volume_by_index
*(void **) (&pa_context_set_sink_volume_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_volume_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_volume_by_name
*(void **) (&pa_context_set_sink_volume_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_volume_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_mute_by_index
*(void **) (&pa_context_set_sink_mute_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_mute_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_mute_by_name
*(void **) (&pa_context_set_sink_mute_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_mute_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_suspend_sink_by_name
*(void **) (&pa_context_suspend_sink_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_suspend_sink_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_suspend_sink_by_index
*(void **) (&pa_context_suspend_sink_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_suspend_sink_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_port_by_index
*(void **) (&pa_context_set_sink_port_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_port_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_port_by_name
*(void **) (&pa_context_set_sink_port_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_port_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_source_info_by_name
*(void **) (&pa_context_get_source_info_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_source_info_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_source_info_by_index
*(void **) (&pa_context_get_source_info_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_source_info_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_source_info_list
*(void **) (&pa_context_get_source_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_source_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_volume_by_index
*(void **) (&pa_context_set_source_volume_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_volume_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_volume_by_name
*(void **) (&pa_context_set_source_volume_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_volume_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_mute_by_index
*(void **) (&pa_context_set_source_mute_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_mute_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_mute_by_name
*(void **) (&pa_context_set_source_mute_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_mute_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_suspend_source_by_name
*(void **) (&pa_context_suspend_source_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_suspend_source_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_suspend_source_by_index
*(void **) (&pa_context_suspend_source_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_suspend_source_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_port_by_index
*(void **) (&pa_context_set_source_port_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_port_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_port_by_name
*(void **) (&pa_context_set_source_port_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_port_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_server_info
*(void **) (&pa_context_get_server_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_server_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_module_info
*(void **) (&pa_context_get_module_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_module_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_module_info_list
*(void **) (&pa_context_get_module_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_module_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_load_module
*(void **) (&pa_context_load_module_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_load_module");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_unload_module
*(void **) (&pa_context_unload_module_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_unload_module");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_client_info
*(void **) (&pa_context_get_client_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_client_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_client_info_list
*(void **) (&pa_context_get_client_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_client_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_kill_client
*(void **) (&pa_context_kill_client_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_kill_client");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_card_info_by_index
*(void **) (&pa_context_get_card_info_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_card_info_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_card_info_by_name
*(void **) (&pa_context_get_card_info_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_card_info_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_card_info_list
*(void **) (&pa_context_get_card_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_card_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_card_profile_by_index
*(void **) (&pa_context_set_card_profile_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_card_profile_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_card_profile_by_name
*(void **) (&pa_context_set_card_profile_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_card_profile_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_port_latency_offset
*(void **) (&pa_context_set_port_latency_offset_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_port_latency_offset");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sink_input_info
*(void **) (&pa_context_get_sink_input_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sink_input_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sink_input_info_list
*(void **) (&pa_context_get_sink_input_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sink_input_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_move_sink_input_by_name
*(void **) (&pa_context_move_sink_input_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_move_sink_input_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_move_sink_input_by_index
*(void **) (&pa_context_move_sink_input_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_move_sink_input_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_input_volume
*(void **) (&pa_context_set_sink_input_volume_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_input_volume");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_sink_input_mute
*(void **) (&pa_context_set_sink_input_mute_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_sink_input_mute");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_kill_sink_input
*(void **) (&pa_context_kill_sink_input_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_kill_sink_input");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_source_output_info
*(void **) (&pa_context_get_source_output_info_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_source_output_info");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_source_output_info_list
*(void **) (&pa_context_get_source_output_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_source_output_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_move_source_output_by_name
*(void **) (&pa_context_move_source_output_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_move_source_output_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_move_source_output_by_index
*(void **) (&pa_context_move_source_output_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_move_source_output_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_output_volume
*(void **) (&pa_context_set_source_output_volume_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_output_volume");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_source_output_mute
*(void **) (&pa_context_set_source_output_mute_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_source_output_mute");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_kill_source_output
*(void **) (&pa_context_kill_source_output_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_kill_source_output");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_stat
*(void **) (&pa_context_stat_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_stat");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sample_info_by_name
*(void **) (&pa_context_get_sample_info_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sample_info_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sample_info_by_index
*(void **) (&pa_context_get_sample_info_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sample_info_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_sample_info_list
*(void **) (&pa_context_get_sample_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_sample_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_autoload_info_by_name
*(void **) (&pa_context_get_autoload_info_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_autoload_info_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_autoload_info_by_index
*(void **) (&pa_context_get_autoload_info_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_autoload_info_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_get_autoload_info_list
*(void **) (&pa_context_get_autoload_info_list_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_get_autoload_info_list");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_add_autoload
*(void **) (&pa_context_add_autoload_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_add_autoload");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_remove_autoload_by_name
*(void **) (&pa_context_remove_autoload_by_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_remove_autoload_by_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_remove_autoload_by_index
*(void **) (&pa_context_remove_autoload_by_index_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_remove_autoload_by_index");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_subscribe
*(void **) (&pa_context_subscribe_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_subscribe");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_set_subscribe_callback
*(void **) (&pa_context_set_subscribe_callback_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_set_subscribe_callback");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_connect_upload
*(void **) (&pa_stream_connect_upload_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_connect_upload");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_stream_finish_upload
*(void **) (&pa_stream_finish_upload_dylibloader_wrapper_pulse) = dlsym(handle, "pa_stream_finish_upload");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_remove_sample
*(void **) (&pa_context_remove_sample_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_remove_sample");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_play_sample
*(void **) (&pa_context_play_sample_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_play_sample");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_context_play_sample_with_proplist
*(void **) (&pa_context_play_sample_with_proplist_dylibloader_wrapper_pulse) = dlsym(handle, "pa_context_play_sample_with_proplist");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_strerror
*(void **) (&pa_strerror_dylibloader_wrapper_pulse) = dlsym(handle, "pa_strerror");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xmalloc
*(void **) (&pa_xmalloc_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xmalloc");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xmalloc0
*(void **) (&pa_xmalloc0_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xmalloc0");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xrealloc
*(void **) (&pa_xrealloc_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xrealloc");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xfree
*(void **) (&pa_xfree_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xfree");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xstrdup
*(void **) (&pa_xstrdup_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xstrdup");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xstrndup
*(void **) (&pa_xstrndup_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xstrndup");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_xmemdup
*(void **) (&pa_xmemdup_dylibloader_wrapper_pulse) = dlsym(handle, "pa_xmemdup");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_utf8_valid
*(void **) (&pa_utf8_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_utf8_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_ascii_valid
*(void **) (&pa_ascii_valid_dylibloader_wrapper_pulse) = dlsym(handle, "pa_ascii_valid");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_utf8_filter
*(void **) (&pa_utf8_filter_dylibloader_wrapper_pulse) = dlsym(handle, "pa_utf8_filter");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_ascii_filter
*(void **) (&pa_ascii_filter_dylibloader_wrapper_pulse) = dlsym(handle, "pa_ascii_filter");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_utf8_to_locale
*(void **) (&pa_utf8_to_locale_dylibloader_wrapper_pulse) = dlsym(handle, "pa_utf8_to_locale");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_locale_to_utf8
*(void **) (&pa_locale_to_utf8_dylibloader_wrapper_pulse) = dlsym(handle, "pa_locale_to_utf8");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_new
*(void **) (&pa_threaded_mainloop_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_free
*(void **) (&pa_threaded_mainloop_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_start
*(void **) (&pa_threaded_mainloop_start_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_start");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_stop
*(void **) (&pa_threaded_mainloop_stop_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_stop");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_lock
*(void **) (&pa_threaded_mainloop_lock_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_lock");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_unlock
*(void **) (&pa_threaded_mainloop_unlock_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_unlock");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_wait
*(void **) (&pa_threaded_mainloop_wait_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_wait");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_signal
*(void **) (&pa_threaded_mainloop_signal_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_signal");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_accept
*(void **) (&pa_threaded_mainloop_accept_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_accept");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_get_retval
*(void **) (&pa_threaded_mainloop_get_retval_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_get_retval");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_get_api
*(void **) (&pa_threaded_mainloop_get_api_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_get_api");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_in_thread
*(void **) (&pa_threaded_mainloop_in_thread_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_in_thread");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_set_name
*(void **) (&pa_threaded_mainloop_set_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_set_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_threaded_mainloop_once_unlocked
*(void **) (&pa_threaded_mainloop_once_unlocked_dylibloader_wrapper_pulse) = dlsym(handle, "pa_threaded_mainloop_once_unlocked");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_new
*(void **) (&pa_mainloop_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_free
*(void **) (&pa_mainloop_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_prepare
*(void **) (&pa_mainloop_prepare_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_prepare");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_poll
*(void **) (&pa_mainloop_poll_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_poll");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_dispatch
*(void **) (&pa_mainloop_dispatch_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_dispatch");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_get_retval
*(void **) (&pa_mainloop_get_retval_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_get_retval");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_iterate
*(void **) (&pa_mainloop_iterate_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_iterate");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_run
*(void **) (&pa_mainloop_run_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_run");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_get_api
*(void **) (&pa_mainloop_get_api_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_get_api");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_quit
*(void **) (&pa_mainloop_quit_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_quit");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_wakeup
*(void **) (&pa_mainloop_wakeup_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_wakeup");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_mainloop_set_poll_func
*(void **) (&pa_mainloop_set_poll_func_dylibloader_wrapper_pulse) = dlsym(handle, "pa_mainloop_set_poll_func");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_signal_init
*(void **) (&pa_signal_init_dylibloader_wrapper_pulse) = dlsym(handle, "pa_signal_init");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_signal_done
*(void **) (&pa_signal_done_dylibloader_wrapper_pulse) = dlsym(handle, "pa_signal_done");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_signal_new
*(void **) (&pa_signal_new_dylibloader_wrapper_pulse) = dlsym(handle, "pa_signal_new");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_signal_free
*(void **) (&pa_signal_free_dylibloader_wrapper_pulse) = dlsym(handle, "pa_signal_free");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_signal_set_destroy
*(void **) (&pa_signal_set_destroy_dylibloader_wrapper_pulse) = dlsym(handle, "pa_signal_set_destroy");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_get_user_name
*(void **) (&pa_get_user_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_user_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_get_host_name
*(void **) (&pa_get_host_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_host_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_get_fqdn
*(void **) (&pa_get_fqdn_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_fqdn");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_get_home_dir
*(void **) (&pa_get_home_dir_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_home_dir");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_get_binary_name
*(void **) (&pa_get_binary_name_dylibloader_wrapper_pulse) = dlsym(handle, "pa_get_binary_name");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_path_get_filename
*(void **) (&pa_path_get_filename_dylibloader_wrapper_pulse) = dlsym(handle, "pa_path_get_filename");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_msleep
*(void **) (&pa_msleep_dylibloader_wrapper_pulse) = dlsym(handle, "pa_msleep");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_thread_make_realtime
*(void **) (&pa_thread_make_realtime_dylibloader_wrapper_pulse) = dlsym(handle, "pa_thread_make_realtime");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_gettimeofday
*(void **) (&pa_gettimeofday_dylibloader_wrapper_pulse) = dlsym(handle, "pa_gettimeofday");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_diff
*(void **) (&pa_timeval_diff_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_diff");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_cmp
*(void **) (&pa_timeval_cmp_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_cmp");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_age
*(void **) (&pa_timeval_age_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_age");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_add
*(void **) (&pa_timeval_add_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_add");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_sub
*(void **) (&pa_timeval_sub_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_sub");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_store
*(void **) (&pa_timeval_store_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_store");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_timeval_load
*(void **) (&pa_timeval_load_dylibloader_wrapper_pulse) = dlsym(handle, "pa_timeval_load");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
// pa_rtclock_now
*(void **) (&pa_rtclock_now_dylibloader_wrapper_pulse) = dlsym(handle, "pa_rtclock_now");
- error = dlerror();
- if (error != NULL) {
- fprintf(stderr, "%s\n", error);
+ if (verbose) {
+ error = dlerror();
+ if (error != NULL) {
+ fprintf(stderr, "%s\n", error);
+ }
}
return 0;
}
diff --git a/drivers/pulseaudio/pulse-so_wrap.h b/drivers/pulseaudio/pulse-so_wrap.h
index 3f50617f81..7f9a70fae1 100644
--- a/drivers/pulseaudio/pulse-so_wrap.h
+++ b/drivers/pulseaudio/pulse-so_wrap.h
@@ -2,9 +2,11 @@
#define DYLIBLOAD_WRAPPER_PULSE
// This file is generated. Do not edit!
// see https://github.com/hpvb/dynload-wrapper for details
-// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.2 on 2021-02-18 00:19:07
+// generated by /home/hp/Projects/godot/pulse/generate-wrapper.py 0.3 on 2021-02-20 00:08:31
// flags: /home/hp/Projects/godot/pulse/generate-wrapper.py --include /usr/include/pulse/pulseaudio.h --sys-include <pulse/pulseaudio.h> --soname libpulse.so.0 --omit-prefix _pa_ --init-name pulse --output-header pulse-so_wrap.h --output-implementation pulse-so_wrap.c
//
+#include <stdint.h>
+
#define pa_get_library_version pa_get_library_version_dylibloader_orig_pulse
#define pa_bytes_per_second pa_bytes_per_second_dylibloader_orig_pulse
#define pa_frame_size pa_frame_size_dylibloader_orig_pulse
@@ -1437,7 +1439,7 @@ extern struct timeval* (*pa_timeval_sub_dylibloader_wrapper_pulse)(struct timeva
extern struct timeval* (*pa_timeval_store_dylibloader_wrapper_pulse)(struct timeval*, pa_usec_t);
extern pa_usec_t (*pa_timeval_load_dylibloader_wrapper_pulse)(struct timeval*);
extern pa_usec_t (*pa_rtclock_now_dylibloader_wrapper_pulse)( void);
-int initialize_pulse();
+int initialize_pulse(int verbose);
#ifdef __cplusplus
}
#endif