Commit d2739698 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wineesd.drv: Make some functions static.

parent 0c615ef2
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment