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
c8bdebde
Commit
c8bdebde
authored
May 08, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Remove calls to deprecated functions.
parent
d4a3e9c0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
6 deletions
+0
-6
alsa.c
dlls/winealsa.drv/alsa.c
+0
-1
dscapture.c
dlls/winealsa.drv/dscapture.c
+0
-1
dsoutput.c
dlls/winealsa.drv/dsoutput.c
+0
-1
wavein.c
dlls/winealsa.drv/wavein.c
+0
-1
waveout.c
dlls/winealsa.drv/waveout.c
+0
-2
No files found.
dlls/winealsa.drv/alsa.c
View file @
c8bdebde
...
...
@@ -735,7 +735,6 @@ if (err<0) { \
}
while
(
0
);
X
(
period_time
);
X
(
tick_time
);
#undef X
if
(
!
sw
)
...
...
dlls/winealsa.drv/dscapture.c
View file @
c8bdebde
...
...
@@ -448,7 +448,6 @@ static int CreateMMAP(IDsCaptureDriverBufferImpl* pdbi)
snd_pcm_sw_params_set_silence_threshold
(
pcm
,
sw_params
,
INT_MAX
);
snd_pcm_sw_params_set_silence_size
(
pcm
,
sw_params
,
0
);
snd_pcm_sw_params_set_avail_min
(
pcm
,
sw_params
,
0
);
snd_pcm_sw_params_set_xrun_mode
(
pcm
,
sw_params
,
SND_PCM_XRUN_NONE
);
err
=
snd_pcm_sw_params
(
pcm
,
sw_params
);
avail
=
snd_pcm_avail_update
(
pcm
);
...
...
dlls/winealsa.drv/dsoutput.c
View file @
c8bdebde
...
...
@@ -210,7 +210,6 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
snd_pcm_sw_params_set_silence_threshold
(
pcm
,
sw_params
,
INT_MAX
);
snd_pcm_sw_params_set_silence_size
(
pcm
,
sw_params
,
0
);
snd_pcm_sw_params_set_avail_min
(
pcm
,
sw_params
,
0
);
snd_pcm_sw_params_set_xrun_mode
(
pcm
,
sw_params
,
SND_PCM_XRUN_NONE
);
err
=
snd_pcm_sw_params
(
pcm
,
sw_params
);
avail
=
snd_pcm_avail_update
(
pcm
);
...
...
dlls/winealsa.drv/wavein.c
View file @
c8bdebde
...
...
@@ -483,7 +483,6 @@ static DWORD widOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_start_threshold
(
pcm
,
sw_params
,
1
),
MMSYSERR_ERROR
,
"unable to set start threshold"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_silence_size
(
pcm
,
sw_params
,
0
),
MMSYSERR_ERROR
,
"unable to set silence size"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_avail_min
(
pcm
,
sw_params
,
period_size
),
MMSYSERR_ERROR
,
"unable to set avail min"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_xfer_align
(
pcm
,
sw_params
,
1
),
MMSYSERR_ERROR
,
"unable to set xfer align"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_silence_threshold
(
pcm
,
sw_params
,
0
),
MMSYSERR_ERROR
,
"unable to set silence threshold"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params
(
pcm
,
sw_params
),
MMSYSERR_ERROR
,
"unable to set sw params for playback"
);
#undef EXIT_ON_ERROR
...
...
dlls/winealsa.drv/waveout.c
View file @
c8bdebde
...
...
@@ -759,9 +759,7 @@ static DWORD wodOpen(WORD wDevID, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_start_threshold
(
pcm
,
sw_params
,
1
),
MMSYSERR_ERROR
,
"unable to set start threshold"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_silence_size
(
pcm
,
sw_params
,
0
),
MMSYSERR_ERROR
,
"unable to set silence size"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_avail_min
(
pcm
,
sw_params
,
period_size
),
MMSYSERR_ERROR
,
"unable to set avail min"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_xfer_align
(
pcm
,
sw_params
,
1
),
MMSYSERR_ERROR
,
"unable to set xfer align"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_silence_threshold
(
pcm
,
sw_params
,
0
),
MMSYSERR_ERROR
,
"unable to set silence threshold"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params_set_xrun_mode
(
pcm
,
sw_params
,
SND_PCM_XRUN_NONE
),
MMSYSERR_ERROR
,
"unable to set xrun mode"
);
EXIT_ON_ERROR
(
snd_pcm_sw_params
(
pcm
,
sw_params
),
MMSYSERR_ERROR
,
"unable to set sw params for playback"
);
#undef EXIT_ON_ERROR
...
...
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