Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
bc404b6c
Commit
bc404b6c
authored
Sep 09, 2022
by
Davide Beatrici
Committed by
Alexandre Julliard
Sep 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecoreaudio: Drop "unix_" prefix in unixlib enum, apply it to the functions instead.
parent
2fa22538
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
48 deletions
+48
-48
coreaudio.c
dlls/winecoreaudio.drv/coreaudio.c
+0
-0
coremidi.c
dlls/winecoreaudio.drv/coremidi.c
+13
-13
unixlib.h
dlls/winecoreaudio.drv/unixlib.h
+35
-35
No files found.
dlls/winecoreaudio.drv/coreaudio.c
View file @
bc404b6c
This diff is collapsed.
Click to expand it.
dlls/winecoreaudio.drv/coremidi.c
View file @
bc404b6c
...
...
@@ -308,7 +308,7 @@ static void midi_in_read_proc(const MIDIPacketList *pktlist, void *refCon, void
}
}
NTSTATUS
midi_init
(
void
*
args
)
NTSTATUS
unix_
midi_init
(
void
*
args
)
{
CFStringRef
name
=
CFStringCreateWithFormat
(
kCFAllocatorDefault
,
NULL
,
CFSTR
(
"wineMIDIClient.%d"
),
getpid
());
struct
midi_init_params
*
params
=
args
;
...
...
@@ -422,7 +422,7 @@ NTSTATUS midi_init(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
midi_release
(
void
*
args
)
NTSTATUS
unix_
midi_release
(
void
*
args
)
{
/* stop the notify_wait thread */
notify_post
(
NULL
);
...
...
@@ -1122,7 +1122,7 @@ static UINT midi_in_reset(WORD dev_id, struct notify_context *notify)
return
err
;
}
NTSTATUS
midi_out_message
(
void
*
args
)
NTSTATUS
unix_
midi_out_message
(
void
*
args
)
{
struct
midi_out_message_params
*
params
=
args
;
...
...
@@ -1177,7 +1177,7 @@ NTSTATUS midi_out_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
midi_in_message
(
void
*
args
)
NTSTATUS
unix_
midi_in_message
(
void
*
args
)
{
struct
midi_in_message_params
*
params
=
args
;
...
...
@@ -1229,7 +1229,7 @@ NTSTATUS midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
midi_notify_wait
(
void
*
args
)
NTSTATUS
unix_
midi_notify_wait
(
void
*
args
)
{
struct
midi_notify_wait_params
*
params
=
args
;
...
...
@@ -1250,7 +1250,7 @@ NTSTATUS midi_notify_wait(void *args)
typedef
UINT
PTR32
;
NTSTATUS
wow64_midi_init
(
void
*
args
)
NTSTATUS
unix_
wow64_midi_init
(
void
*
args
)
{
struct
{
...
...
@@ -1260,7 +1260,7 @@ NTSTATUS wow64_midi_init(void *args)
{
.
err
=
ULongToPtr
(
params32
->
err
)
};
return
midi_init
(
&
params
);
return
unix_
midi_init
(
&
params
);
}
struct
notify_context32
...
...
@@ -1343,7 +1343,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
unix_
wow64_midi_out_message
(
void
*
args
)
{
struct
{
...
...
@@ -1414,7 +1414,7 @@ NTSTATUS wow64_midi_out_message(void *args)
return
STATUS_SUCCESS
;
}
midi_out_message
(
&
params
);
unix_
midi_out_message
(
&
params
);
switch
(
params32
->
msg
)
{
...
...
@@ -1467,7 +1467,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
unix_
wow64_midi_in_message
(
void
*
args
)
{
struct
{
...
...
@@ -1539,7 +1539,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
midi_in_message
(
&
params
);
unix_
midi_in_message
(
&
params
);
switch
(
params32
->
msg
)
{
...
...
@@ -1574,7 +1574,7 @@ NTSTATUS wow64_midi_in_message(void *args)
return
STATUS_SUCCESS
;
}
NTSTATUS
wow64_midi_notify_wait
(
void
*
args
)
NTSTATUS
unix_
wow64_midi_notify_wait
(
void
*
args
)
{
struct
{
...
...
@@ -1592,7 +1592,7 @@ NTSTATUS wow64_midi_notify_wait(void *args)
};
notify32
->
send_notify
=
FALSE
;
midi_notify_wait
(
&
params
);
unix_
midi_notify_wait
(
&
params
);
if
(
!*
params
.
quit
&&
notify
.
send_notify
)
{
...
...
dlls/winecoreaudio.drv/unixlib.h
View file @
bc404b6c
...
...
@@ -231,46 +231,46 @@ struct midi_notify_wait_params
enum
unix_funcs
{
unix_
get_endpoint_ids
,
unix_
create_stream
,
unix_
release_stream
,
unix_
start
,
unix_
stop
,
unix_
reset
,
unix_
get_render_buffer
,
unix_
release_render_buffer
,
unix_
get_capture_buffer
,
unix_
release_capture_buffer
,
unix_
get_mix_format
,
unix_
is_format_supported
,
unix_
get_buffer_size
,
unix_
get_latency
,
unix_
get_current_padding
,
unix_
get_next_packet_size
,
unix_
get_position
,
unix_
get_frequency
,
unix_
is_started
,
unix_
set_volumes
,
unix_
midi_init
,
unix_
midi_release
,
unix_
midi_out_message
,
unix_
midi_in_message
,
unix_
midi_notify_wait
,
get_endpoint_ids
,
create_stream
,
release_stream
,
start
,
stop
,
reset
,
get_render_buffer
,
release_render_buffer
,
get_capture_buffer
,
release_capture_buffer
,
get_mix_format
,
is_format_supported
,
get_buffer_size
,
get_latency
,
get_current_padding
,
get_next_packet_size
,
get_position
,
get_frequency
,
is_started
,
set_volumes
,
midi_init
,
midi_release
,
midi_out_message
,
midi_in_message
,
midi_notify_wait
,
};
NTSTATUS
midi_init
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_release
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_out_message
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_in_message
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
midi_notify_wait
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
midi_init
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
midi_release
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
midi_out_message
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
midi_in_message
(
void
*
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
midi_notify_wait
(
void
*
)
DECLSPEC_HIDDEN
;
#ifdef _WIN64
NTSTATUS
wow64_midi_init
(
void
*
args
)
DECLSPEC_HIDDEN
;
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
unix_
wow64_midi_init
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
wow64_midi_out_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
wow64_midi_in_message
(
void
*
args
)
DECLSPEC_HIDDEN
;
NTSTATUS
unix_
wow64_midi_notify_wait
(
void
*
args
)
DECLSPEC_HIDDEN
;
#endif
extern
unixlib_handle_t
coreaudio_handle
;
#define UNIX_CALL( func, params ) __wine_unix_call( coreaudio_handle,
unix_ ##
func, params )
#define UNIX_CALL( func, params ) __wine_unix_call( coreaudio_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