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
cec8e0d7
Commit
cec8e0d7
authored
Oct 05, 2011
by
Andrew Eikum
Committed by
Alexandre Julliard
Oct 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Remove a few unused variables.
parent
a971d865
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
dsound_main.c
dlls/dsound/dsound_main.c
+0
-15
dsound_private.h
dlls/dsound/dsound_private.h
+0
-1
No files found.
dlls/dsound/dsound_main.c
View file @
cec8e0d7
...
...
@@ -108,14 +108,11 @@ HRESULT mmErr(UINT err)
}
/* All default settings, you most likely don't want to touch these, see wiki on UsefulRegistryKeys */
int
ds_emuldriver
=
0
;
int
ds_hel_buflen
=
32768
*
2
;
int
ds_snd_queue_max
=
10
;
int
ds_snd_shadow_maxsize
=
2
;
int
ds_default_sample_rate
=
44100
;
int
ds_default_bits_per_sample
=
16
;
static
int
ds_default_playback
;
static
int
ds_default_capture
;
static
HINSTANCE
instance
;
/*
...
...
@@ -165,24 +162,15 @@ void setup_dsound_options(void)
/* get options */
if
(
!
get_config_key
(
hkey
,
appkey
,
"EmulDriver"
,
buffer
,
MAX_PATH
))
ds_emuldriver
=
strcmp
(
buffer
,
"N"
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"HelBuflen"
,
buffer
,
MAX_PATH
))
ds_hel_buflen
=
atoi
(
buffer
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"SndQueueMax"
,
buffer
,
MAX_PATH
))
ds_snd_queue_max
=
atoi
(
buffer
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DefaultPlayback"
,
buffer
,
MAX_PATH
))
ds_default_playback
=
atoi
(
buffer
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"MaxShadowSize"
,
buffer
,
MAX_PATH
))
ds_snd_shadow_maxsize
=
atoi
(
buffer
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DefaultCapture"
,
buffer
,
MAX_PATH
))
ds_default_capture
=
atoi
(
buffer
);
if
(
!
get_config_key
(
hkey
,
appkey
,
"DefaultSampleRate"
,
buffer
,
MAX_PATH
))
ds_default_sample_rate
=
atoi
(
buffer
);
...
...
@@ -192,11 +180,8 @@ void setup_dsound_options(void)
if
(
appkey
)
RegCloseKey
(
appkey
);
if
(
hkey
)
RegCloseKey
(
hkey
);
TRACE
(
"ds_emuldriver = %d
\n
"
,
ds_emuldriver
);
TRACE
(
"ds_hel_buflen = %d
\n
"
,
ds_hel_buflen
);
TRACE
(
"ds_snd_queue_max = %d
\n
"
,
ds_snd_queue_max
);
TRACE
(
"ds_default_playback = %d
\n
"
,
ds_default_playback
);
TRACE
(
"ds_default_capture = %d
\n
"
,
ds_default_capture
);
TRACE
(
"ds_default_sample_rate = %d
\n
"
,
ds_default_sample_rate
);
TRACE
(
"ds_default_bits_per_sample = %d
\n
"
,
ds_default_bits_per_sample
);
TRACE
(
"ds_snd_shadow_maxsize = %d
\n
"
,
ds_snd_shadow_maxsize
);
...
...
dlls/dsound/dsound_private.h
View file @
cec8e0d7
...
...
@@ -30,7 +30,6 @@
#include "wine/list.h"
extern
int
ds_emuldriver
DECLSPEC_HIDDEN
;
extern
int
ds_hel_buflen
DECLSPEC_HIDDEN
;
extern
int
ds_snd_queue_max
DECLSPEC_HIDDEN
;
extern
int
ds_snd_shadow_maxsize
DECLSPEC_HIDDEN
;
...
...
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