ReactOS 0.4.17-dev-934-g091855f
dmusic_wave.h
Go to the documentation of this file.
1/*
2 * Copyright 2023 Rémi Bernon for CodeWeavers
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#include <stdarg.h>
20#include <stddef.h>
21
22#define COBJMACROS
23#include "windef.h"
24#include "winbase.h"
25
26#include "objbase.h"
27#include "dmusici.h"
28
29struct soundfont;
30struct chunk_entry;
31
32extern HRESULT wave_create(IDirectMusicObject **ret_iface);
33extern HRESULT wave_create_from_soundfont(struct soundfont *soundfont, UINT index, IDirectMusicObject **out);
34extern HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IDirectMusicObject **out);
35extern HRESULT wave_download_to_port(IDirectMusicObject *iface, IDirectMusicPortDownload *port, DWORD *id);
36extern HRESULT wave_download_to_dsound(IDirectMusicObject *iface, IDirectSound *dsound,
37 IDirectSoundBuffer **ret_iface);
38extern HRESULT wave_get_duration(IDirectMusicObject *iface, REFERENCE_TIME *duration);
USHORT port
Definition: uri.c:210
HRESULT wave_create_from_soundfont(struct soundfont *soundfont, UINT index, IDirectMusicObject **out)
Definition: wave.c:342
HRESULT wave_get_duration(IDirectMusicObject *iface, REFERENCE_TIME *duration)
Definition: wave.c:521
HRESULT wave_create(IDirectMusicObject **ret_iface)
Definition: wave.c:277
HRESULT wave_download_to_port(IDirectMusicObject *iface, IDirectMusicPortDownload *port, DWORD *id)
Definition: wave.c:437
HRESULT wave_download_to_dsound(IDirectMusicObject *iface, IDirectSound *dsound, IDirectSoundBuffer **ret_iface)
Definition: wave.c:481
HRESULT wave_create_from_chunk(IStream *stream, struct chunk_entry *parent, IDirectMusicObject **out)
Definition: wave.c:292
LONGLONG REFERENCE_TIME
Definition: dmusicks.h:9
r parent
Definition: btrfs.c:3010
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint index
Definition: glext.h:6031
unsigned int UINT
Definition: sysinfo.c:13
Definition: dmobject.h:26
Definition: parse.h:23
wchar_t tm const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t ** out
Definition: wcsftime.cpp:383