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
716cfcb1
Commit
716cfcb1
authored
Oct 18, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 19, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Use wide-char string literals.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d98cd9e8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
dsound_main.c
dlls/dsound/dsound_main.c
+3
-7
propset.c
dlls/dsound/propset.c
+1
-1
No files found.
dlls/dsound/dsound_main.c
View file @
716cfcb1
...
...
@@ -88,7 +88,7 @@ CRITICAL_SECTION DSOUND_capturers_lock = { &DSOUND_capturers_lock_debug, -1, 0,
GUID
DSOUND_renderer_guids
[
MAXWAVEDRIVERS
];
GUID
DSOUND_capture_guids
[
MAXWAVEDRIVERS
];
const
WCHAR
wine_vxd_drv
[]
=
{
'w'
,
'i'
,
'n'
,
'e'
,
'm'
,
'm'
,
'.'
,
'v'
,
'x'
,
'd'
,
0
}
;
const
WCHAR
wine_vxd_drv
[]
=
L"winemm.vxd"
;
/* All default settings, you most likely don't want to touch these, see wiki on UsefulRegistryKeys */
int
ds_hel_buflen
=
32768
*
2
;
...
...
@@ -454,10 +454,6 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
BOOL
keep_going
;
HRESULT
hr
,
init_hr
;
static
const
WCHAR
primary_desc
[]
=
{
'P'
,
'r'
,
'i'
,
'm'
,
'a'
,
'r'
,
'y'
,
' '
,
'S'
,
'o'
,
'u'
,
'n'
,
'd'
,
' '
,
'D'
,
'r'
,
'i'
,
'v'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
empty_drv
[]
=
{
0
};
init_hr
=
get_mmdevenum
(
&
devenum
);
if
(
!
devenum
)
return
init_hr
;
...
...
@@ -484,8 +480,8 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids,
return
DS_OK
;
}
TRACE
(
"Calling back with NULL (
%s)
\n
"
,
wine_dbgstr_w
(
primary_desc
)
);
keep_going
=
cb
(
NULL
,
primary_desc
,
empty_drv
,
user
);
TRACE
(
"Calling back with NULL (
Primary Sound Driver)
\n
"
);
keep_going
=
cb
(
NULL
,
L"Primary Sound Driver"
,
L""
,
user
);
/* always send the default device first */
if
(
keep_going
){
...
...
dlls/dsound/propset.c
View file @
716cfcb1
...
...
@@ -42,7 +42,7 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dsound
);
static
WCHAR
wInterface
[]
=
{
'I'
,
'n'
,
't'
,
'e'
,
'r'
,
'f'
,
'a'
,
'c'
,
'e'
,
0
}
;
static
WCHAR
wInterface
[]
=
L"Interface"
;
typedef
struct
IKsPrivatePropertySetImpl
{
...
...
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