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
d2739698
Commit
d2739698
authored
Dec 13, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 15, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineesd.drv: Make some functions static.
parent
0c615ef2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
audio.c
dlls/wineesd.drv/audio.c
+4
-4
No files found.
dlls/wineesd.drv/audio.c
View file @
d2739698
...
@@ -241,7 +241,7 @@ static const char *wodPlayerCmdString[] = {
...
@@ -241,7 +241,7 @@ static const char *wodPlayerCmdString[] = {
/* Volume functions derived from Alsaplayer source */
/* Volume functions derived from Alsaplayer source */
/* length is the number of 16 bit samples */
/* length is the number of 16 bit samples */
void
volume_effect16
(
void
*
bufin
,
void
*
bufout
,
int
length
,
int
left
,
static
void
volume_effect16
(
void
*
bufin
,
void
*
bufout
,
int
length
,
int
left
,
int
right
,
int
nChannels
)
int
right
,
int
nChannels
)
{
{
short
*
d_out
=
(
short
*
)
bufout
;
short
*
d_out
=
(
short
*
)
bufout
;
...
@@ -368,7 +368,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
...
@@ -368,7 +368,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
return
FALSE
;
return
FALSE
;
}
}
void
copy_format
(
LPWAVEFORMATEX
wf1
,
LPWAVEFORMATPCMEX
wf2
)
static
void
copy_format
(
LPWAVEFORMATEX
wf1
,
LPWAVEFORMATPCMEX
wf2
)
{
{
ZeroMemory
(
wf2
,
sizeof
(
wf2
));
ZeroMemory
(
wf2
,
sizeof
(
wf2
));
if
(
wf1
->
wFormatTag
==
WAVE_FORMAT_PCM
)
if
(
wf1
->
wFormatTag
==
WAVE_FORMAT_PCM
)
...
@@ -383,7 +383,7 @@ void copy_format(LPWAVEFORMATEX wf1, LPWAVEFORMATPCMEX wf2)
...
@@ -383,7 +383,7 @@ void copy_format(LPWAVEFORMATEX wf1, LPWAVEFORMATPCMEX wf2)
* ESD_CloseWaveOutDevice
* ESD_CloseWaveOutDevice
*
*
*/
*/
void
ESD_CloseWaveOutDevice
(
WINE_WAVEOUT
*
wwo
)
static
void
ESD_CloseWaveOutDevice
(
WINE_WAVEOUT
*
wwo
)
{
{
esd_close
(
wwo
->
esd_fd
);
/* close the esd socket fd */
esd_close
(
wwo
->
esd_fd
);
/* close the esd socket fd */
wwo
->
esd_fd
=
-
1
;
wwo
->
esd_fd
=
-
1
;
...
@@ -398,7 +398,7 @@ void ESD_CloseWaveOutDevice(WINE_WAVEOUT* wwo)
...
@@ -398,7 +398,7 @@ void ESD_CloseWaveOutDevice(WINE_WAVEOUT* wwo)
* ESD_CloseWaveInDevice
* ESD_CloseWaveInDevice
*
*
*/
*/
void
ESD_CloseWaveInDevice
(
WINE_WAVEIN
*
wwi
)
static
void
ESD_CloseWaveInDevice
(
WINE_WAVEIN
*
wwi
)
{
{
esd_close
(
wwi
->
esd_fd
);
/* close the esd socket fd */
esd_close
(
wwi
->
esd_fd
);
/* close the esd socket fd */
wwi
->
esd_fd
=
-
1
;
wwi
->
esd_fd
=
-
1
;
...
...
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