Commit 5e4466a3 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

wineoss: Drop "oss_" prefix in unixlib enum, apply it to the functions instead.

parent d2c9a9f0
...@@ -522,7 +522,7 @@ static UINT midi_exit(void) ...@@ -522,7 +522,7 @@ static UINT midi_exit(void)
return 0; return 0;
} }
NTSTATUS midi_release(void *args) NTSTATUS oss_midi_release(void *args)
{ {
/* stop the notify_wait thread */ /* stop the notify_wait thread */
notify_post(NULL); notify_post(NULL);
...@@ -1685,7 +1685,7 @@ static UINT midi_in_reset(WORD dev_id, struct notify_context *notify) ...@@ -1685,7 +1685,7 @@ static UINT midi_in_reset(WORD dev_id, struct notify_context *notify)
return err; return err;
} }
NTSTATUS midi_out_message(void *args) NTSTATUS oss_midi_out_message(void *args)
{ {
struct midi_out_message_params *params = args; struct midi_out_message_params *params = args;
...@@ -1745,7 +1745,7 @@ NTSTATUS midi_out_message(void *args) ...@@ -1745,7 +1745,7 @@ NTSTATUS midi_out_message(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS midi_in_message(void *args) NTSTATUS oss_midi_in_message(void *args)
{ {
struct midi_in_message_params *params = args; struct midi_in_message_params *params = args;
...@@ -1802,7 +1802,7 @@ NTSTATUS midi_in_message(void *args) ...@@ -1802,7 +1802,7 @@ NTSTATUS midi_in_message(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS midi_notify_wait(void *args) NTSTATUS oss_midi_notify_wait(void *args)
{ {
struct midi_notify_wait_params *params = args; struct midi_notify_wait_params *params = args;
...@@ -1906,7 +1906,7 @@ static UINT wow64_midi_out_unprepare(WORD dev_id, struct midi_hdr32 *hdr, UINT h ...@@ -1906,7 +1906,7 @@ static UINT wow64_midi_out_unprepare(WORD dev_id, struct midi_hdr32 *hdr, UINT h
return MMSYSERR_NOERROR; return MMSYSERR_NOERROR;
} }
NTSTATUS wow64_midi_out_message(void *args) NTSTATUS oss_wow64_midi_out_message(void *args)
{ {
struct struct
{ {
...@@ -1977,7 +1977,7 @@ NTSTATUS wow64_midi_out_message(void *args) ...@@ -1977,7 +1977,7 @@ NTSTATUS wow64_midi_out_message(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
midi_out_message(&params); oss_midi_out_message(&params);
switch (params32->msg) switch (params32->msg)
{ {
...@@ -2030,7 +2030,7 @@ static UINT wow64_midi_in_unprepare(WORD dev_id, struct midi_hdr32 *hdr, UINT hd ...@@ -2030,7 +2030,7 @@ static UINT wow64_midi_in_unprepare(WORD dev_id, struct midi_hdr32 *hdr, UINT hd
return MMSYSERR_NOERROR; return MMSYSERR_NOERROR;
} }
NTSTATUS wow64_midi_in_message(void *args) NTSTATUS oss_wow64_midi_in_message(void *args)
{ {
struct struct
{ {
...@@ -2102,7 +2102,7 @@ NTSTATUS wow64_midi_in_message(void *args) ...@@ -2102,7 +2102,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
midi_in_message(&params); oss_midi_in_message(&params);
switch (params32->msg) switch (params32->msg)
{ {
...@@ -2137,7 +2137,7 @@ NTSTATUS wow64_midi_in_message(void *args) ...@@ -2137,7 +2137,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS wow64_midi_notify_wait(void *args) NTSTATUS oss_wow64_midi_notify_wait(void *args)
{ {
struct struct
{ {
...@@ -2155,7 +2155,7 @@ NTSTATUS wow64_midi_notify_wait(void *args) ...@@ -2155,7 +2155,7 @@ NTSTATUS wow64_midi_notify_wait(void *args)
}; };
notify32->send_notify = FALSE; notify32->send_notify = FALSE;
midi_notify_wait(&params); oss_midi_notify_wait(&params);
if (!*params.quit && notify.send_notify) if (!*params.quit && notify.send_notify)
{ {
......
...@@ -262,47 +262,47 @@ struct aux_message_params ...@@ -262,47 +262,47 @@ struct aux_message_params
enum oss_funcs enum oss_funcs
{ {
oss_test_connect, test_connect,
oss_get_endpoint_ids, get_endpoint_ids,
oss_create_stream, create_stream,
oss_release_stream, release_stream,
oss_start, start,
oss_stop, stop,
oss_reset, reset,
oss_timer_loop, timer_loop,
oss_get_render_buffer, get_render_buffer,
oss_release_render_buffer, release_render_buffer,
oss_get_capture_buffer, get_capture_buffer,
oss_release_capture_buffer, release_capture_buffer,
oss_is_format_supported, is_format_supported,
oss_get_mix_format, get_mix_format,
oss_get_buffer_size, get_buffer_size,
oss_get_latency, get_latency,
oss_get_current_padding, get_current_padding,
oss_get_next_packet_size, get_next_packet_size,
oss_get_frequency, get_frequency,
oss_get_position, get_position,
oss_set_volumes, set_volumes,
oss_set_event_handle, set_event_handle,
oss_is_started, is_started,
oss_midi_release, midi_release,
oss_midi_out_message, midi_out_message,
oss_midi_in_message, midi_in_message,
oss_midi_notify_wait, midi_notify_wait,
oss_aux_message, aux_message,
}; };
NTSTATUS midi_release(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_midi_release(void *args) DECLSPEC_HIDDEN;
NTSTATUS midi_out_message(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_midi_out_message(void *args) DECLSPEC_HIDDEN;
NTSTATUS midi_in_message(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_midi_in_message(void *args) DECLSPEC_HIDDEN;
NTSTATUS midi_notify_wait(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_midi_notify_wait(void *args) DECLSPEC_HIDDEN;
#ifdef _WIN64 #ifdef _WIN64
NTSTATUS wow64_midi_out_message(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_wow64_midi_out_message(void *args) DECLSPEC_HIDDEN;
NTSTATUS wow64_midi_in_message(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_wow64_midi_in_message(void *args) DECLSPEC_HIDDEN;
NTSTATUS wow64_midi_notify_wait(void *args) DECLSPEC_HIDDEN; NTSTATUS oss_wow64_midi_notify_wait(void *args) DECLSPEC_HIDDEN;
#endif #endif
extern unixlib_handle_t oss_handle; extern unixlib_handle_t oss_handle;
#define OSS_CALL(func, params) __wine_unix_call(oss_handle, oss_ ## func, params) #define OSS_CALL(func, params) __wine_unix_call(oss_handle, func, params)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment