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
09c6f48b
Commit
09c6f48b
authored
Jan 31, 2024
by
Yuxuan Shui
Committed by
Alexandre Julliard
Feb 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Move band.c to dmusic.
parent
8e0a00db
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
12 deletions
+29
-12
bandtrack.c
dlls/dmband/bandtrack.c
+1
-0
dmband_main.c
dlls/dmband/dmband_main.c
+1
-0
dmband_private.h
dlls/dmband/dmband_private.h
+0
-10
Makefile.in
dlls/dmusic/Makefile.in
+1
-0
band.c
dlls/dmusic/band.c
+1
-2
dmusic_band.h
dlls/dmusic/dmusic_band.h
+25
-0
No files found.
dlls/dmband/bandtrack.c
View file @
09c6f48b
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
*/
*/
#include "dmband_private.h"
#include "dmband_private.h"
#include "dmusic_band.h"
#include "dmobject.h"
#include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
...
...
dlls/dmband/dmband_main.c
View file @
09c6f48b
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#include "initguid.h"
#include "initguid.h"
#include "dmband_private.h"
#include "dmband_private.h"
#include "rpcproxy.h"
#include "rpcproxy.h"
#include "dmusic_band.h"
#include "dmobject.h"
#include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
...
...
dlls/dmband/dmband_private.h
View file @
09c6f48b
...
@@ -20,21 +20,16 @@
...
@@ -20,21 +20,16 @@
#ifndef __WINE_DMBAND_PRIVATE_H
#ifndef __WINE_DMBAND_PRIVATE_H
#define __WINE_DMBAND_PRIVATE_H
#define __WINE_DMBAND_PRIVATE_H
#include <stdio.h>
#include <stdarg.h>
#include <stdarg.h>
#include <string.h>
#define COBJMACROS
#define COBJMACROS
#include "windef.h"
#include "windef.h"
#include "winbase.h"
#include "winbase.h"
#include "winnt.h"
#include "winnt.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/debug.h"
#include "wine/debug.h"
#include "wine/list.h"
#include "wine/list.h"
#include "winreg.h"
#include "objbase.h"
#include "objbase.h"
#include "dmusici.h"
#include "dmusici.h"
...
@@ -44,11 +39,6 @@
...
@@ -44,11 +39,6 @@
/*****************************************************************************
/*****************************************************************************
* ClassFactory
* ClassFactory
*/
*/
extern
HRESULT
create_dmband
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmbandtrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
create_dmbandtrack
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
band_connect_to_collection
(
IDirectMusicBand
*
iface
,
IDirectMusicCollection
*
collection
);
extern
HRESULT
band_send_messages
(
IDirectMusicBand
*
iface
,
IDirectMusicPerformance
*
performance
,
IDirectMusicGraph
*
graph
,
MUSIC_TIME
time
,
DWORD
track_id
);
#endif
/* __WINE_DMBAND_PRIVATE_H */
#endif
/* __WINE_DMBAND_PRIVATE_H */
dlls/dmusic/Makefile.in
View file @
09c6f48b
...
@@ -2,6 +2,7 @@ MODULE = dmusic.dll
...
@@ -2,6 +2,7 @@ MODULE = dmusic.dll
IMPORTS
=
dxguid uuid ole32 advapi32 dsound user32 winmm
IMPORTS
=
dxguid uuid ole32 advapi32 dsound user32 winmm
SOURCES
=
\
SOURCES
=
\
band.c
\
buffer.c
\
buffer.c
\
clock.c
\
clock.c
\
collection.c
\
collection.c
\
...
...
dlls/dm
band
/band.c
→
dlls/dm
usic
/band.c
View file @
09c6f48b
...
@@ -17,8 +17,7 @@
...
@@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#include "dmband_private.h"
#include "dmusic_private.h"
#include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dmband
);
...
...
dlls/dmusic/dmusic_band.h
0 → 100644
View file @
09c6f48b
/* DirectMusicBand Private Include
*
* Copyright (C) 2024 Yuxuan Shui for CodeWeavers
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "dmusici.h"
extern
HRESULT
create_dmband
(
REFIID
riid
,
void
**
ret_iface
);
extern
HRESULT
band_connect_to_collection
(
IDirectMusicBand
*
iface
,
IDirectMusicCollection
*
collection
);
extern
HRESULT
band_send_messages
(
IDirectMusicBand
*
iface
,
IDirectMusicPerformance
*
performance
,
IDirectMusicGraph
*
graph
,
MUSIC_TIME
time
,
DWORD
track_id
);
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