about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-10 11:24:59 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-10 11:25:07 +0200
commita7f8dbac565694ecbb8962bc4cc1e6b40ca67c48 (patch)
tree30656424e8231edcafe97bf04146e01e96dd777e /src
parentb0ec124329038418c1401f61b630f588f48f0d2d (diff)
downloadbox64-a7f8dbac565694ecbb8962bc4cc1e6b40ca67c48.tar.gz
box64-a7f8dbac565694ecbb8962bc4cc1e6b40ca67c48.zip
[WRAPPER] Minors adjustments to pulse audio wrapping
Diffstat (limited to 'src')
-rw-r--r--src/wrapped/generated/functions_list.txt14
-rw-r--r--src/wrapped/generated/wrappedpulsetypes.h13
-rw-r--r--src/wrapped/generated/wrapper.c10
-rw-r--r--src/wrapped/generated/wrapper.h5
-rw-r--r--src/wrapped/wrappedpulse_private.h70
-rw-r--r--src/wrapped/wrappedpulsesimple_private.h2
6 files changed, 58 insertions, 56 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt
index 934e0457..abbdbb89 100644
--- a/src/wrapped/generated/functions_list.txt
+++ b/src/wrapped/generated/functions_list.txt
@@ -1555,6 +1555,7 @@
 #() iFEppii
 #() iFEppip
 #() iFEppiA
+#() iFEppup
 #() iFEpplp
 #() iFEpppi
 #() iFEpppL
@@ -2394,7 +2395,7 @@
 #() iFEpLiLpp
 #() iFEpLiLpV
 #() iFEppuppp
-#() iFEppLpIi
+#() iFEppLpIu
 #() iFEpppiiu
 #() iFEpppLpp
 #() iFEpppppL
@@ -2888,7 +2889,7 @@
 #() pFpLpLLipui
 #() pFpLppLLiLi
 #() pFppiiiiiip
-#() pFppipppppp
+#() pFppupppppp
 #() pFpppiiiiii
 #() pFpppuipppp
 #() pFpppppiipp
@@ -5257,7 +5258,7 @@ wrappedpulse:
   - pa_stream_prebuf
   - pa_stream_trigger
   - pa_stream_update_timing_info
-- iFppip:
+- iFppup:
   - pa_context_connect
 - iFpppV:
   - pa_proplist_setf
@@ -5288,9 +5289,6 @@ wrappedpulse:
   - pa_stream_set_name
 - pFpiupp:
   - pa_ext_device_restore_read_formats
-- pFpippp:
-  - pa_context_proplist_update
-  - pa_stream_proplist_update
 - pFpuipp:
   - pa_context_set_sink_input_mute
   - pa_context_set_sink_mute_by_index
@@ -5299,17 +5297,19 @@ wrappedpulse:
   - pa_context_move_sink_input_by_index
   - pa_context_move_source_output_by_index
 - pFpuppp:
+  - pa_context_proplist_update
   - pa_context_set_card_profile_by_index
   - pa_context_set_sink_input_volume
   - pa_context_set_sink_port_by_index
   - pa_context_set_sink_volume_by_index
   - pa_context_set_source_port_by_index
   - pa_context_set_source_volume_by_index
+  - pa_stream_proplist_update
 - pFppppp:
   - pa_context_load_module
   - pa_context_set_sink_port_by_name
   - pa_context_set_source_volume_by_name
-- iFppLpIi:
+- iFppLpIu:
   - pa_stream_write
 - pFpiuCppp:
   - pa_ext_device_restore_save_formats
diff --git a/src/wrapped/generated/wrappedpulsetypes.h b/src/wrapped/generated/wrappedpulsetypes.h
index e62b209b..85e688e4 100644
--- a/src/wrapped/generated/wrappedpulsetypes.h
+++ b/src/wrapped/generated/wrappedpulsetypes.h
@@ -19,19 +19,18 @@ typedef void* (*pFpp_t)(void*, void*);
 typedef void (*vFppp_t)(void*, void*, void*);
 typedef void* (*pFipp_t)(int32_t, void*, void*);
 typedef void* (*pFppp_t)(void*, void*, void*);
-typedef int32_t (*iFppip_t)(void*, void*, int32_t, void*);
+typedef int32_t (*iFppup_t)(void*, void*, uint32_t, void*);
 typedef int32_t (*iFpppV_t)(void*, void*, void*, ...);
 typedef void* (*pFpipp_t)(void*, int32_t, void*, void*);
 typedef void* (*pFpupp_t)(void*, uint32_t, void*, void*);
 typedef void* (*pFpUpp_t)(void*, uint64_t, void*, void*);
 typedef void* (*pFpppp_t)(void*, void*, void*, void*);
 typedef void* (*pFpiupp_t)(void*, int32_t, uint32_t, void*, void*);
-typedef void* (*pFpippp_t)(void*, int32_t, void*, void*, void*);
 typedef void* (*pFpuipp_t)(void*, uint32_t, int32_t, void*, void*);
 typedef void* (*pFpuupp_t)(void*, uint32_t, uint32_t, void*, void*);
 typedef void* (*pFpuppp_t)(void*, uint32_t, void*, void*, void*);
 typedef void* (*pFppppp_t)(void*, void*, void*, void*, void*);
-typedef int32_t (*iFppLpIi_t)(void*, void*, uintptr_t, void*, int64_t, int32_t);
+typedef int32_t (*iFppLpIu_t)(void*, void*, uintptr_t, void*, int64_t, uint32_t);
 typedef void* (*pFpiuCppp_t)(void*, int32_t, uint32_t, uint8_t, void*, void*, void*);
 
 #define SUPER() ADDED_FUNCTIONS() \
@@ -77,7 +76,7 @@ typedef void* (*pFpiuCppp_t)(void*, int32_t, uint32_t, uint8_t, void*, void*, vo
 	GO(pa_stream_prebuf, pFppp_t) \
 	GO(pa_stream_trigger, pFppp_t) \
 	GO(pa_stream_update_timing_info, pFppp_t) \
-	GO(pa_context_connect, iFppip_t) \
+	GO(pa_context_connect, iFppup_t) \
 	GO(pa_proplist_setf, iFpppV_t) \
 	GO(pa_ext_device_restore_subscribe, pFpipp_t) \
 	GO(pa_stream_cork, pFpipp_t) \
@@ -101,23 +100,23 @@ typedef void* (*pFpiuCppp_t)(void*, int32_t, uint32_t, uint8_t, void*, void*, vo
 	GO(pa_stream_set_buffer_attr, pFpppp_t) \
 	GO(pa_stream_set_name, pFpppp_t) \
 	GO(pa_ext_device_restore_read_formats, pFpiupp_t) \
-	GO(pa_context_proplist_update, pFpippp_t) \
-	GO(pa_stream_proplist_update, pFpippp_t) \
 	GO(pa_context_set_sink_input_mute, pFpuipp_t) \
 	GO(pa_context_set_sink_mute_by_index, pFpuipp_t) \
 	GO(pa_context_set_source_mute_by_index, pFpuipp_t) \
 	GO(pa_context_move_sink_input_by_index, pFpuupp_t) \
 	GO(pa_context_move_source_output_by_index, pFpuupp_t) \
+	GO(pa_context_proplist_update, pFpuppp_t) \
 	GO(pa_context_set_card_profile_by_index, pFpuppp_t) \
 	GO(pa_context_set_sink_input_volume, pFpuppp_t) \
 	GO(pa_context_set_sink_port_by_index, pFpuppp_t) \
 	GO(pa_context_set_sink_volume_by_index, pFpuppp_t) \
 	GO(pa_context_set_source_port_by_index, pFpuppp_t) \
 	GO(pa_context_set_source_volume_by_index, pFpuppp_t) \
+	GO(pa_stream_proplist_update, pFpuppp_t) \
 	GO(pa_context_load_module, pFppppp_t) \
 	GO(pa_context_set_sink_port_by_name, pFppppp_t) \
 	GO(pa_context_set_source_volume_by_name, pFppppp_t) \
-	GO(pa_stream_write, iFppLpIi_t) \
+	GO(pa_stream_write, iFppLpIu_t) \
 	GO(pa_ext_device_restore_save_formats, pFpiuCppp_t)
 
 #endif // __wrappedpulseTYPES_H_
diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c
index c668ed85..7bdff045 100644
--- a/src/wrapped/generated/wrapper.c
+++ b/src/wrapped/generated/wrapper.c
@@ -1584,6 +1584,7 @@ typedef int32_t (*iFEpLpA_t)(x64emu_t*, void*, uintptr_t, void*, void*);
 typedef int32_t (*iFEppii_t)(x64emu_t*, void*, void*, int32_t, int32_t);
 typedef int32_t (*iFEppip_t)(x64emu_t*, void*, void*, int32_t, void*);
 typedef int32_t (*iFEppiA_t)(x64emu_t*, void*, void*, int32_t, void*);
+typedef int32_t (*iFEppup_t)(x64emu_t*, void*, void*, uint32_t, void*);
 typedef int32_t (*iFEpplp_t)(x64emu_t*, void*, void*, intptr_t, void*);
 typedef int32_t (*iFEpppi_t)(x64emu_t*, void*, void*, void*, int32_t);
 typedef int32_t (*iFEpppL_t)(x64emu_t*, void*, void*, void*, uintptr_t);
@@ -2422,7 +2423,7 @@ typedef int32_t (*iFEpUuppp_t)(x64emu_t*, void*, uint64_t, uint32_t, void*, void
 typedef int32_t (*iFEpLiLpp_t)(x64emu_t*, void*, uintptr_t, int32_t, uintptr_t, void*, void*);
 typedef int32_t (*iFEpLiLpV_t)(x64emu_t*, void*, uintptr_t, int32_t, uintptr_t, void*, void*);
 typedef int32_t (*iFEppuppp_t)(x64emu_t*, void*, void*, uint32_t, void*, void*, void*);
-typedef int32_t (*iFEppLpIi_t)(x64emu_t*, void*, void*, uintptr_t, void*, int64_t, int32_t);
+typedef int32_t (*iFEppLpIu_t)(x64emu_t*, void*, void*, uintptr_t, void*, int64_t, uint32_t);
 typedef int32_t (*iFEpppiiu_t)(x64emu_t*, void*, void*, void*, int32_t, int32_t, uint32_t);
 typedef int32_t (*iFEpppLpp_t)(x64emu_t*, void*, void*, void*, uintptr_t, void*, void*);
 typedef int32_t (*iFEpppppL_t)(x64emu_t*, void*, void*, void*, void*, void*, uintptr_t);
@@ -2915,7 +2916,7 @@ typedef void* (*pFpiiiiuuuu_t)(void*, int32_t, int32_t, int32_t, int32_t, uint32
 typedef void* (*pFpLpLLipui_t)(void*, uintptr_t, void*, uintptr_t, uintptr_t, int32_t, void*, uint32_t, int32_t);
 typedef void* (*pFpLppLLiLi_t)(void*, uintptr_t, void*, void*, uintptr_t, uintptr_t, int32_t, uintptr_t, int32_t);
 typedef void* (*pFppiiiiiip_t)(void*, void*, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t, void*);
-typedef void* (*pFppipppppp_t)(void*, void*, int32_t, void*, void*, void*, void*, void*, void*);
+typedef void* (*pFppupppppp_t)(void*, void*, uint32_t, void*, void*, void*, void*, void*, void*);
 typedef void* (*pFpppiiiiii_t)(void*, void*, void*, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t);
 typedef void* (*pFpppuipppp_t)(void*, void*, void*, uint32_t, int32_t, void*, void*, void*, void*);
 typedef void* (*pFpppppiipp_t)(void*, void*, void*, void*, void*, int32_t, int32_t, void*, void*);
@@ -4778,6 +4779,7 @@ void iFEpLpA(x64emu_t *emu, uintptr_t fcn) { iFEpLpA_t fn = (iFEpLpA_t)fcn; R_RA
 void iFEppii(x64emu_t *emu, uintptr_t fcn) { iFEppii_t fn = (iFEppii_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX); }
 void iFEppip(x64emu_t *emu, uintptr_t fcn) { iFEppip_t fn = (iFEppip_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX); }
 void iFEppiA(x64emu_t *emu, uintptr_t fcn) { iFEppiA_t fn = (iFEppiA_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX); }
+void iFEppup(x64emu_t *emu, uintptr_t fcn) { iFEppup_t fn = (iFEppup_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX); }
 void iFEpplp(x64emu_t *emu, uintptr_t fcn) { iFEpplp_t fn = (iFEpplp_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (intptr_t)R_RDX, (void*)R_RCX); }
 void iFEpppi(x64emu_t *emu, uintptr_t fcn) { iFEpppi_t fn = (iFEpppi_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX); }
 void iFEpppL(x64emu_t *emu, uintptr_t fcn) { iFEpppL_t fn = (iFEpppL_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX); }
@@ -5616,7 +5618,7 @@ void iFEpUuppp(x64emu_t *emu, uintptr_t fcn) { iFEpUuppp_t fn = (iFEpUuppp_t)fcn
 void iFEpLiLpp(x64emu_t *emu, uintptr_t fcn) { iFEpLiLpp_t fn = (iFEpLiLpp_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFEpLiLpV(x64emu_t *emu, uintptr_t fcn) { iFEpLiLpV_t fn = (iFEpLiLpV_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX, (uintptr_t)R_RCX, (void*)R_R8, (void*)(R_RSP + 8)); }
 void iFEppuppp(x64emu_t *emu, uintptr_t fcn) { iFEppuppp_t fn = (iFEppuppp_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); }
-void iFEppLpIi(x64emu_t *emu, uintptr_t fcn) { iFEppLpIi_t fn = (iFEppLpIi_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (int64_t)R_R8, (int32_t)R_R9); }
+void iFEppLpIu(x64emu_t *emu, uintptr_t fcn) { iFEppLpIu_t fn = (iFEppLpIu_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (int64_t)R_R8, (uint32_t)R_R9); }
 void iFEpppiiu(x64emu_t *emu, uintptr_t fcn) { iFEpppiiu_t fn = (iFEpppiiu_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (uint32_t)R_R9); }
 void iFEpppLpp(x64emu_t *emu, uintptr_t fcn) { iFEpppLpp_t fn = (iFEpppLpp_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX, (void*)R_R8, (void*)R_R9); }
 void iFEpppppL(x64emu_t *emu, uintptr_t fcn) { iFEpppppL_t fn = (iFEpppppL_t)fcn; R_RAX=(int32_t)fn(emu, (void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (uintptr_t)R_R9); }
@@ -6109,7 +6111,7 @@ void pFpiiiiuuuu(x64emu_t *emu, uintptr_t fcn) { pFpiiiiuuuu_t fn = (pFpiiiiuuuu
 void pFpLpLLipui(x64emu_t *emu, uintptr_t fcn) { pFpLpLLipui_t fn = (pFpLpLLipui_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX, (uintptr_t)R_RCX, (uintptr_t)R_R8, (int32_t)R_R9, *(void**)(R_RSP + 8), *(uint32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24)); }
 void pFpLppLLiLi(x64emu_t *emu, uintptr_t fcn) { pFpLppLLiLi_t fn = (pFpLppLLiLi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (uintptr_t)R_R8, (uintptr_t)R_R9, *(int32_t*)(R_RSP + 8), *(uintptr_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24)); }
 void pFppiiiiiip(x64emu_t *emu, uintptr_t fcn) { pFppiiiiiip_t fn = (pFppiiiiiip_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(void**)(R_RSP + 24)); }
-void pFppipppppp(x64emu_t *emu, uintptr_t fcn) { pFppipppppp_t fn = (pFppipppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); }
+void pFppupppppp(x64emu_t *emu, uintptr_t fcn) { pFppupppppp_t fn = (pFppupppppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); }
 void pFpppiiiiii(x64emu_t *emu, uintptr_t fcn) { pFpppiiiiii_t fn = (pFpppiiiiii_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (int32_t)R_RCX, (int32_t)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(int32_t*)(R_RSP + 16), *(int32_t*)(R_RSP + 24)); }
 void pFpppuipppp(x64emu_t *emu, uintptr_t fcn) { pFpppuipppp_t fn = (pFpppuipppp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (uint32_t)R_RCX, (int32_t)R_R8, (void*)R_R9, *(void**)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); }
 void pFpppppiipp(x64emu_t *emu, uintptr_t fcn) { pFpppppiipp_t fn = (pFpppppiipp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9, *(int32_t*)(R_RSP + 8), *(void**)(R_RSP + 16), *(void**)(R_RSP + 24)); }
diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h
index 5c86d609..d6f75c92 100644
--- a/src/wrapped/generated/wrapper.h
+++ b/src/wrapped/generated/wrapper.h
@@ -1592,6 +1592,7 @@ void iFEpLpA(x64emu_t *emu, uintptr_t fnc);
 void iFEppii(x64emu_t *emu, uintptr_t fnc);
 void iFEppip(x64emu_t *emu, uintptr_t fnc);
 void iFEppiA(x64emu_t *emu, uintptr_t fnc);
+void iFEppup(x64emu_t *emu, uintptr_t fnc);
 void iFEpplp(x64emu_t *emu, uintptr_t fnc);
 void iFEpppi(x64emu_t *emu, uintptr_t fnc);
 void iFEpppL(x64emu_t *emu, uintptr_t fnc);
@@ -2431,7 +2432,7 @@ void iFEpUuppp(x64emu_t *emu, uintptr_t fnc);
 void iFEpLiLpp(x64emu_t *emu, uintptr_t fnc);
 void iFEpLiLpV(x64emu_t *emu, uintptr_t fnc);
 void iFEppuppp(x64emu_t *emu, uintptr_t fnc);
-void iFEppLpIi(x64emu_t *emu, uintptr_t fnc);
+void iFEppLpIu(x64emu_t *emu, uintptr_t fnc);
 void iFEpppiiu(x64emu_t *emu, uintptr_t fnc);
 void iFEpppLpp(x64emu_t *emu, uintptr_t fnc);
 void iFEpppppL(x64emu_t *emu, uintptr_t fnc);
@@ -2925,7 +2926,7 @@ void pFpiiiiuuuu(x64emu_t *emu, uintptr_t fnc);
 void pFpLpLLipui(x64emu_t *emu, uintptr_t fnc);
 void pFpLppLLiLi(x64emu_t *emu, uintptr_t fnc);
 void pFppiiiiiip(x64emu_t *emu, uintptr_t fnc);
-void pFppipppppp(x64emu_t *emu, uintptr_t fnc);
+void pFppupppppp(x64emu_t *emu, uintptr_t fnc);
 void pFpppiiiiii(x64emu_t *emu, uintptr_t fnc);
 void pFpppuipppp(x64emu_t *emu, uintptr_t fnc);
 void pFpppppiipp(x64emu_t *emu, uintptr_t fnc);
diff --git a/src/wrapped/wrappedpulse_private.h b/src/wrapped/wrappedpulse_private.h
index fed2e1aa..aa739805 100644
--- a/src/wrapped/wrappedpulse_private.h
+++ b/src/wrapped/wrappedpulse_private.h
@@ -12,7 +12,7 @@ GO(pa_channel_map_can_fade, iFp)
 GO(pa_channel_map_compatible, iFpp)
 GO(pa_channel_map_equal, iFpp)
 GO(pa_channel_map_init, pFp)
-GO(pa_channel_map_init_auto, pFpui)
+GO(pa_channel_map_init_auto, pFpuu)
 GO(pa_channel_map_init_extend, pFpuu)
 GO(pa_channel_map_init_mono, pFp)
 GO(pa_channel_map_init_stereo, pFp)
@@ -24,27 +24,27 @@ GO(pa_channel_map_to_pretty_name, pFp)
 GO(pa_channel_map_valid, iFp)
 GO(pa_channel_position_to_pretty_string, pFi)
 GO(pa_channel_position_to_string, pFi)
-//GO(pa_context_add_autoload, 
-GOM(pa_context_connect, iFEppip)
+//GOM(pa_context_add_autoload, pFppupppp)
+GOM(pa_context_connect, iFEppup)
 GO(pa_context_disconnect, vFp)
 GOM(pa_context_drain, pFEppp)
 GO(pa_context_errno, iFp)
 GOM(pa_context_exit_daemon, pFEppp)
-//GO(pa_context_get_autoload_info_by_index, 
-//GO(pa_context_get_autoload_info_by_name, 
-//GO(pa_context_get_autoload_info_list, 
+//GOM(pa_context_get_autoload_info_by_index, pFpupp)
+//GOM(pa_context_get_autoload_info_by_name, pFppupp)
+//GOM(pa_context_get_autoload_info_list, pFppp)
 GOM(pa_context_get_card_info_by_index, pFEpupp)
-//GO(pa_context_get_card_info_by_name, 
+//GOM(pa_context_get_card_info_by_name, pFpppp)
 GOM(pa_context_get_card_info_list, pFEppp)
 GOM(pa_context_get_client_info, pFEpupp)
 GOM(pa_context_get_client_info_list, pFEppp)
 GO(pa_context_get_index, uFp)
-//GO(pa_context_get_module_info, 
+//GOM(pa_context_get_module_info, pFpupp)
 GOM(pa_context_get_module_info_list, pFEppp)
 GO(pa_context_get_protocol_version, uFp)
-//GO(pa_context_get_sample_info_by_index, 
-//GO(pa_context_get_sample_info_by_name, 
-//GO(pa_context_get_sample_info_list, 
+//GOM(pa_context_get_sample_info_by_index, pFpupp)
+//GOM(pa_context_get_sample_info_by_name, pFpppp)
+//GOM(pa_context_get_sample_info_list, pFppp)
 GO(pa_context_get_server, pFp)
 GOM(pa_context_get_server_info, pFEppp)
 GO(pa_context_get_server_protocol_version, uFp)
@@ -61,27 +61,27 @@ GOM(pa_context_get_source_output_info_list, pFEppp)
 GO(pa_context_get_state, uFp)
 GO(pa_context_is_local, iFp)
 GO(pa_context_is_pending, iFp)
-//GO(pa_context_kill_client, 
-//GO(pa_context_kill_sink_input, 
-//GO(pa_context_kill_source_output, 
+//GOM(pa_context_kill_client, pFpupp)
+//GOM(pa_context_kill_sink_input, pFpupp)
+//GOM(pa_context_kill_source_output, pFpupp)
 GOM(pa_context_load_module, pFEppppp)
 GOM(pa_context_move_sink_input_by_index, pFEpuupp)
-//GO(pa_context_move_sink_input_by_name, 
+//GOM(pa_context_move_sink_input_by_name, pFpuppp)
 GOM(pa_context_move_source_output_by_index, pFEpuupp)
-//GO(pa_context_move_source_output_by_name, 
+//GOM(pa_context_move_source_output_by_name, pFpuppp)
 GOM(pa_context_new, pFEpp)
 GOM(pa_context_new_with_proplist, pFEppp)
-//GO(pa_context_play_sample, 
-//GO(pa_context_play_sample_with_proplist, 
+//GOM(pa_context_play_sample, pFpppupp)
+//GOM(pa_context_play_sample_with_proplist, pFpppuppp)
 GOM(pa_context_proplist_remove, pFEpppp)
-GOM(pa_context_proplist_update, pFEpippp)
+GOM(pa_context_proplist_update, pFEpuppp)
 GO(pa_context_ref, pFp)
-//GO(pa_context_remove_autoload_by_index, 
-//GO(pa_context_remove_autoload_by_name, 
-//GO(pa_context_remove_sample, 
+//GOM(pa_context_remove_autoload_by_index, pFpupp)
+//GOM(pa_context_remove_autoload_by_name, pFppupp)
+//GOM(pa_context_remove_sample, pFpppp)
 GOM(pa_context_rttime_new, pFEpUpp)
 GOM(pa_context_set_card_profile_by_index, pFEpuppp)
-//GO(pa_context_set_card_profile_by_name, 
+//GOM(pa_context_set_card_profile_by_name, pFppppp)
 GOM(pa_context_set_default_sink, pFEpppp)
 GOM(pa_context_set_default_source, pFEpppp)
 GOM(pa_context_set_event_callback, vFEppp)
@@ -89,24 +89,24 @@ GOM(pa_context_set_name, pFEpppp)
 GOM(pa_context_set_sink_input_mute, pFEpuipp)
 GOM(pa_context_set_sink_input_volume, pFEpuppp)
 GOM(pa_context_set_sink_mute_by_index, pFEpuipp)
-//GO(pa_context_set_sink_mute_by_name, 
+//GOM(pa_context_set_sink_mute_by_name, pFppipp)
 GOM(pa_context_set_sink_port_by_index, pFEpuppp)
 GOM(pa_context_set_sink_port_by_name, pFEppppp)
 GOM(pa_context_set_sink_volume_by_index, pFEpuppp)
-//GO(pa_context_set_sink_volume_by_name, 
+//GOM(pa_context_set_sink_volume_by_name, pFppppp)
 GOM(pa_context_set_source_mute_by_index, pFEpuipp)
-//GO(pa_context_set_source_mute_by_name, 
+//GOM(pa_context_set_source_mute_by_name, pFppipp)
 GOM(pa_context_set_source_port_by_index, pFEpuppp)
 GOM(pa_context_set_source_volume_by_index, pFEpuppp)
 GOM(pa_context_set_source_volume_by_name, pFEppppp)
 GOM(pa_context_set_state_callback, vFEppp)
 GOM(pa_context_set_subscribe_callback, vFEppp)
-//GO(pa_context_stat, 
+//GOM(pa_context_stat, pFppp)
 GOM(pa_context_subscribe, pFEpupp)
-//GO(pa_context_suspend_sink_by_index, 
-//GO(pa_context_suspend_sink_by_name, 
-//GO(pa_context_suspend_source_by_index, 
-//GO(pa_context_suspend_source_by_name, 
+//GOM(pa_context_suspend_sink_by_index, pFpuipp)
+//GOM(pa_context_suspend_sink_by_name, pFppipp)
+//GOM(pa_context_suspend_source_by_index, pFpuipp)
+//GOM(pa_context_suspend_source_by_name, pFppipp)
 GOM(pa_context_unload_module, pFEpupp)
 GO(pa_context_unref, vFp)
 GO(pa_cvolume_avg, uFp)
@@ -123,7 +123,7 @@ GO(pa_cvolume_scale, pFpu)
 GO(pa_cvolume_set, pFpuu)
 GO(pa_cvolume_set_balance, pFppf)
 GO(pa_cvolume_set_fade, pFppf)
-GO(pa_cvolume_snprint, pFplp)
+GO(pa_cvolume_snprint, pFpLp)
 GO(pa_cvolume_valid, iFp)
 GOM(pa_ext_device_restore_read_formats, pFEpiupp)
 GOM(pa_ext_device_restore_read_formats_all, pFEppp)
@@ -145,7 +145,7 @@ GO(pa_get_host_name, pFpL)
 GO(pa_get_library_version, pFv)
 GO(pa_gettimeofday, pFp)
 GO(pa_get_user_name, pFpL)
-//GO(pa_locale_to_utf8, 
+GO(pa_locale_to_utf8, pFp)
 GOM(pa_mainloop_api_once, vFEppp)
 GO(pa_mainloop_dispatch, iFp)
 GOM(pa_mainloop_free, vFEp)
@@ -227,7 +227,7 @@ GO(pa_stream_new_with_proplist, pFppppp)
 GO(pa_stream_peek, iFppp)
 GOM(pa_stream_prebuf, pFEppp)
 GOM(pa_stream_proplist_remove, pFEpppp)
-GOM(pa_stream_proplist_update, pFEpippp)
+GOM(pa_stream_proplist_update, pFEpuppp)
 GO(pa_stream_readable_size, LFp)
 GO(pa_stream_ref, pFp)
 GOM(pa_stream_set_buffer_attr, pFEpppp)
@@ -249,7 +249,7 @@ GO(pa_stream_unref, vFp)
 GOM(pa_stream_update_sample_rate, pFEpupp)
 GOM(pa_stream_update_timing_info, pFEppp)
 GO(pa_stream_writable_size, LFp)
-GOM(pa_stream_write, iFEppLpIi)
+GOM(pa_stream_write, iFEppLpIu)
 GO(pa_strerror, pFi)
 GO(pa_sw_cvolume_divide, pFppp)
 GO(pa_sw_cvolume_multiply, pFppp)
diff --git a/src/wrapped/wrappedpulsesimple_private.h b/src/wrapped/wrappedpulsesimple_private.h
index fb602d82..c2bd718d 100644
--- a/src/wrapped/wrappedpulsesimple_private.h
+++ b/src/wrapped/wrappedpulsesimple_private.h
@@ -6,6 +6,6 @@ GO(pa_simple_drain, iFpp)
 GO(pa_simple_flush, iFpp)
 GO(pa_simple_free, vFp)
 GO(pa_simple_get_latency, UFpp)
-GO(pa_simple_new, pFppipppppp)
+GO(pa_simple_new, pFppupppppp)
 GO(pa_simple_read, iFppLp)
 GO(pa_simple_write, iFppLp)