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
a8187db2
Commit
a8187db2
authored
Feb 07, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa.drv: ALSA_PeekRingMessage() is not used anymore so remove it.
parent
4617d775
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
26 deletions
+0
-26
alsa.c
dlls/winealsa.drv/alsa.c
+0
-25
alsa.h
dlls/winealsa.drv/alsa.h
+0
-1
No files found.
dlls/winealsa.drv/alsa.c
View file @
a8187db2
...
...
@@ -213,31 +213,6 @@ int ALSA_RetrieveRingMessage(ALSA_MSG_RING* omr, enum win_wm_message *msg,
return
1
;
}
/******************************************************************
* ALSA_PeekRingMessage
*
* Peek at a message from the ring but do not remove it.
* Should be called by the playback/record thread.
*/
int
ALSA_PeekRingMessage
(
ALSA_MSG_RING
*
omr
,
enum
win_wm_message
*
msg
,
DWORD_PTR
*
param
,
HANDLE
*
hEvent
)
{
EnterCriticalSection
(
&
omr
->
msg_crst
);
if
(
omr
->
msg_toget
==
omr
->
msg_tosave
)
/* buffer empty ? */
{
LeaveCriticalSection
(
&
omr
->
msg_crst
);
return
0
;
}
*
msg
=
omr
->
messages
[
omr
->
msg_toget
].
msg
;
*
param
=
omr
->
messages
[
omr
->
msg_toget
].
param
;
*
hEvent
=
omr
->
messages
[
omr
->
msg_toget
].
hEvent
;
LeaveCriticalSection
(
&
omr
->
msg_crst
);
return
1
;
}
/*======================================================================*
* Utility functions *
*======================================================================*/
...
...
dlls/winealsa.drv/alsa.h
View file @
a8187db2
...
...
@@ -179,7 +179,6 @@ void ALSA_ResetRingMessage(ALSA_MSG_RING* omr);
void
ALSA_WaitRingMessage
(
ALSA_MSG_RING
*
omr
,
DWORD
sleep
);
int
ALSA_AddRingMessage
(
ALSA_MSG_RING
*
omr
,
enum
win_wm_message
msg
,
DWORD_PTR
param
,
BOOL
wait
);
int
ALSA_RetrieveRingMessage
(
ALSA_MSG_RING
*
omr
,
enum
win_wm_message
*
msg
,
DWORD_PTR
*
param
,
HANDLE
*
hEvent
);
int
ALSA_PeekRingMessage
(
ALSA_MSG_RING
*
omr
,
enum
win_wm_message
*
msg
,
DWORD_PTR
*
param
,
HANDLE
*
hEvent
);
int
ALSA_CheckSetVolume
(
snd_hctl_t
*
hctl
,
int
*
out_left
,
int
*
out_right
,
int
*
out_min
,
int
*
out_max
,
int
*
out_step
,
int
*
new_left
,
int
*
new_right
);
const
char
*
ALSA_getCmdString
(
enum
win_wm_message
msg
);
...
...
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