Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5e4466a3
Commit
5e4466a3
authored
Sep 07, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Sep 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineoss: Drop "oss_" prefix in unixlib enum, apply it to the functions instead.
parent
d2c9a9f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
46 deletions
+46
-46
oss.c
dlls/wineoss.drv/oss.c
+0
-0
ossmidi.c
dlls/wineoss.drv/ossmidi.c
+10
-10
unixlib.h
dlls/wineoss.drv/unixlib.h
+36
-36
No files found.
dlls/wineoss.drv/oss.c
View file @
5e4466a3
This diff is collapsed.
Click to expand it.
dlls/wineoss.drv/ossmidi.c
View file @
5e4466a3
...
...
@@ -522,7 +522,7 @@ static UINT midi_exit(void)
return
0
;
}
NTSTATUS
midi_release
(
void
*
args
)
NTSTATUS
oss_
midi_release
(
void
*
args
)
{
/* stop the notify_wait thread */
notify_post
(
NULL
);
...
...
@@ -1685,7 +1685,7 @@ static UINT midi_in_reset(WORD dev_id, struct notify_context *notify)
return
err
;
}
NTSTATUS
midi_out_message
(
void
*
args
)
NTSTATUS
oss_
midi_out_message
(
void
*
args
)
{
struct
midi_out_message_params
*
params
=
args
;
...
...
@@ -1745,7 +1745,7 @@ NTSTATUS midi_out_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
midi_in_message
(
void
*
args
)
NTSTATUS
oss_
midi_in_message
(
void
*
args
)
{
struct
midi_in_message_params
*
params
=
args
;
...
...
@@ -1802,7 +1802,7 @@ NTSTATUS midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
midi_notify_wait
(
void
*
args
)
NTSTATUS
oss_
midi_notify_wait
(
void
*
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
return
MMSYSERR_NOERROR
;
}
NTSTATUS
wow64_midi_out_message
(
void
*
args
)
NTSTATUS
oss_
wow64_midi_out_message
(
void
*
args
)
{
struct
{
...
...
@@ -1977,7 +1977,7 @@ NTSTATUS wow64_midi_out_message(void *args)
return
STATUS_SUCCESS
;
}
midi_out_message
(
&
params
);
oss_
midi_out_message
(
&
params
);
switch
(
params32
->
msg
)
{
...
...
@@ -2030,7 +2030,7 @@ static UINT wow64_midi_in_unprepare(WORD dev_id, struct midi_hdr32 *hdr, UINT hd
return
MMSYSERR_NOERROR
;
}
NTSTATUS
wow64_midi_in_message
(
void
*
args
)
NTSTATUS
oss_
wow64_midi_in_message
(
void
*
args
)
{
struct
{
...
...
@@ -2102,7 +2102,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
midi_in_message
(
&
params
);
oss_
midi_in_message
(
&
params
);
switch
(
params32
->
msg
)
{
...
...
@@ -2137,7 +2137,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
wow64_midi_notify_wait
(
void
*
args
)
NTSTATUS
oss_
wow64_midi_notify_wait
(
void
*
args
)
{
struct
{
...
...
@@ -2155,7 +2155,7 @@ NTSTATUS wow64_midi_notify_wait(void *args)
};
notify32
->
send_notify
=
FALSE
;
midi_notify_wait
(
&
params
);
oss_
midi_notify_wait
(
&
params
);
if
(
!*
params
.
quit
&&
notify
.
send_notify
)
{
...
...
dlls/wineoss.drv/unixlib.h
View file @
5e4466a3
...
...
@@ -262,47 +262,47 @@ struct aux_message_params
enum
oss_funcs
{
oss_
test_connect
,
oss_
get_endpoint_ids
,
oss_
create_stream
,
oss_
release_stream
,
oss_
start
,
oss_
stop
,
oss_
reset
,
oss_
timer_loop
,
oss_
get_render_buffer
,
oss_
release_render_buffer
,
oss_
get_capture_buffer
,
oss_
release_capture_buffer
,
oss_
is_format_supported
,
oss_
get_mix_format
,
oss_
get_buffer_size
,
oss_
get_latency
,
oss_
get_current_padding
,
oss_
get_next_packet_size
,
oss_
get_frequency
,
oss_
get_position
,
oss_
set_volumes
,
oss_
set_event_handle
,
oss_
is_started
,
oss_
midi_release
,
oss_
midi_out_message
,
oss_
midi_in_message
,
oss_
midi_notify_wait
,
oss_
aux_message
,
test_connect
,
get_endpoint_ids
,
create_stream
,
release_stream
,
start
,
stop
,
reset
,
timer_loop
,
get_render_buffer
,
release_render_buffer
,
get_capture_buffer
,
release_capture_buffer
,
is_format_supported
,
get_mix_format
,
get_buffer_size
,
get_latency
,
get_current_padding
,
get_next_packet_size
,
get_frequency
,
get_position
,
set_volumes
,
set_event_handle
,
is_started
,
midi_release
,
midi_out_message
,
midi_in_message
,
midi_notify_wait
,
aux_message
,
};
NTSTATUS
midi_release
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_out_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_in_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
midi_release
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
midi_out_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
midi_in_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
#ifdef _WIN64
NTSTATUS
wow64_midi_out_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
wow64_midi_in_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
wow64_midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
wow64_midi_out_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
wow64_midi_in_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
oss_
wow64_midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
#endif
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)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment