1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

winepulse: Return STATUS_SUCCESS for unused unixlib functions.

This commit is contained in:
Davide Beatrici 2023-03-03 01:56:39 +01:00 committed by Alexandre Julliard
parent 09fd62b3d4
commit c24df1bb6c

View file

@ -119,6 +119,11 @@ static const REFERENCE_TIME DefaultPeriod = 100000;
static pthread_mutex_t pulse_mutex;
static pthread_cond_t pulse_cond = PTHREAD_COND_INITIALIZER;
static NTSTATUS pulse_not_implemented(void *args)
{
return STATUS_SUCCESS;
}
static void pulse_lock(void)
{
pthread_mutex_lock(&pulse_mutex);
@ -2373,7 +2378,7 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
pulse_release_render_buffer,
pulse_get_capture_buffer,
pulse_release_capture_buffer,
NULL,
pulse_not_implemented,
pulse_get_mix_format,
pulse_get_device_period,
pulse_get_buffer_size,
@ -2387,12 +2392,12 @@ const unixlib_entry_t __wine_unix_call_funcs[] =
pulse_test_connect,
pulse_is_started,
pulse_get_prop_value,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
};
#ifdef _WIN64
@ -2820,7 +2825,7 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
pulse_release_render_buffer,
pulse_wow64_get_capture_buffer,
pulse_release_capture_buffer,
NULL,
pulse_not_implemented,
pulse_wow64_get_mix_format,
pulse_wow64_get_device_period,
pulse_wow64_get_buffer_size,
@ -2834,12 +2839,12 @@ const unixlib_entry_t __wine_unix_call_wow64_funcs[] =
pulse_wow64_test_connect,
pulse_is_started,
pulse_wow64_get_prop_value,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
pulse_not_implemented,
};
#endif /* _WIN64 */