mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 17:34:06 +00:00
dmusic: Split wave entry points to dmusic_wave.h.
This commit is contained in:
parent
6c1bf1f3a9
commit
15c4c02eeb
|
@ -42,6 +42,7 @@
|
|||
#include "dmksctrl.h"
|
||||
|
||||
#include "dmobject.h"
|
||||
#include "dmusic_wave.h"
|
||||
|
||||
/*****************************************************************************
|
||||
* Interfaces
|
||||
|
@ -91,7 +92,6 @@ extern HRESULT DMUSIC_CreateReferenceClockImpl (LPCGUID lpcGUID, LPVOID* ppobj,
|
|||
|
||||
extern HRESULT download_create(DWORD size, IDirectMusicDownload **ret_iface);
|
||||
|
||||
struct soundfont;
|
||||
extern HRESULT instrument_create_from_soundfont(struct soundfont *soundfont, UINT index,
|
||||
struct collection *collection, DMUS_OBJECTDESC *desc, IDirectMusicInstrument **ret_iface);
|
||||
extern HRESULT instrument_create_from_chunk(IStream *stream, struct chunk_entry *parent,
|
||||
|
@ -100,10 +100,6 @@ extern HRESULT instrument_download_to_port(IDirectMusicInstrument *iface, IDirec
|
|||
IDirectMusicDownloadedInstrument **downloaded);
|
||||
extern HRESULT instrument_unload_from_port(IDirectMusicDownloadedInstrument *iface, IDirectMusicPortDownload *port);
|
||||
|
||||
extern HRESULT wave_create_from_soundfont(struct soundfont *soundfont, UINT index, IUnknown **out);
|
||||
extern HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IUnknown **out);
|
||||
extern HRESULT wave_download_to_port(IUnknown *iface, IDirectMusicPortDownload *port, DWORD *id);
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectMusic8Impl implementation structure
|
||||
*/
|
||||
|
|
34
dlls/dmusic/dmusic_wave.h
Normal file
34
dlls/dmusic/dmusic_wave.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* Copyright 2023 Rémi Bernon 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 <stdarg.h>
|
||||
#include <stddef.h>
|
||||
|
||||
#define COBJMACROS
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
|
||||
#include "objbase.h"
|
||||
#include "dmusici.h"
|
||||
|
||||
struct soundfont;
|
||||
struct chunk_entry;
|
||||
|
||||
extern HRESULT wave_create_from_soundfont(struct soundfont *soundfont, UINT index, IUnknown **out);
|
||||
extern HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IUnknown **out);
|
||||
extern HRESULT wave_download_to_port(IUnknown *iface, IDirectMusicPortDownload *port, DWORD *id);
|
Loading…
Reference in a new issue