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
faf1b08e
Commit
faf1b08e
authored
May 06, 2004
by
Raphael Junqueira
Committed by
Alexandre Julliard
May 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- PMsg processing thread (currently only Notifications handling)
- a chained list bug - thread-safe lists - real close on CloseDown
parent
311e0348
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
25 deletions
+7
-25
dmime_private.h
dlls/dmime/dmime_private.h
+7
-25
performance.c
dlls/dmime/performance.c
+0
-0
No files found.
dlls/dmime/dmime_private.h
View file @
faf1b08e
...
...
@@ -154,29 +154,6 @@ typedef struct DMUSIC_PRIVATE_PCHANNEL_ {
IDirectMusicPort
*
port
;
/* ... at this port */
}
DMUSIC_PRIVATE_PCHANNEL
,
*
LPDMUSIC_PRIVATE_PCHANNEL
;
typedef
struct
DMUS_PMSGItem
DMUS_PMSGItem
;
struct
DMUS_PMSGItem
{
DMUS_PMSGItem
*
next
;
DMUS_PMSGItem
*
prev
;
REFERENCE_TIME
rtItemTime
;
BOOL
bInUse
;
DWORD
cb
;
DMUS_PMSG
pMsg
;
};
#define DMUS_PMSGToItem(pMSG) ((DMUS_PMSGItem*) (((unsigned char*) pPMSG) - offsetof(DMUS_PMSGItem, pMsg)))
#define DMUS_ItemToPMSG(pItem) (&(pItem->pMsg))
#define DMUS_ItemRemoveFromQueue(This,pItem) \
{\
if (pItem->prev) pItem->prev->next = pItem->next;\
if (pItem->next) pItem->next->prev = pItem->prev;\
if (This->head == pItem) This->head = pItem->next;\
if (This->imm_head == pItem) This->imm_head = pItem->next;\
pItem->bInUse = FALSE;\
}
/*****************************************************************************
* IDirectMusicPerformance8Impl implementation structure
*/
...
...
@@ -205,12 +182,17 @@ struct IDirectMusicPerformance8Impl {
HANDLE
hNotification
;
REFERENCE_TIME
rtMinimum
;
REFERENCE_TIME
rtLatencyTime
;
DWORD
dwBumperLength
;
DWORD
dwPrepareTime
;
/** Message Processing */
HANDLE
procThread
;
DWORD
procThreadId
;
REFERENCE_TIME
procThreadStartTime
;
BOOL
procThreadTicStarted
;
DMUS_PMSGItem
*
head
;
DMUS_PMSGItem
*
imm_head
;
CRITICAL_SECTION
safe
;
struct
DMUS_PMSGItem
*
head
;
struct
DMUS_PMSGItem
*
imm_head
;
};
/* IUnknown: */
...
...
dlls/dmime/performance.c
View file @
faf1b08e
This diff is collapsed.
Click to expand it.
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