1 /* DirectMusicInteractiveEngine Private Include
3 * Copyright (C) 2003-2004 Rok Mandeljc
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20 #ifndef __WINE_DMIME_PRIVATE_H
21 #define __WINE_DMIME_PRIVATE_H
35 #include "wine/debug.h"
36 #include "wine/list.h"
47 /*****************************************************************************
50 typedef struct IDirectMusicAudioPathImpl IDirectMusicAudioPathImpl
;
52 /*****************************************************************************
55 extern HRESULT
create_dmperformance(REFIID riid
, void **ret_iface
);
56 extern HRESULT
create_dmsegment(REFIID riid
, void **ret_iface
);
57 extern HRESULT
create_dmsegmentstate(REFIID riid
, void **ret_iface
);
58 extern HRESULT
create_dmgraph(REFIID riid
, void **ret_iface
);
59 extern HRESULT
create_dmaudiopath(REFIID riid
, void **ret_iface
);
61 extern HRESULT
create_dmlyricstrack(REFIID riid
, void **ret_iface
);
62 extern HRESULT
create_dmmarkertrack(REFIID riid
, void **ret_iface
);
63 extern HRESULT
create_dmparamcontroltrack(REFIID riid
, void **ret_iface
);
64 extern HRESULT
create_dmsegtriggertrack(REFIID riid
, void **ret_iface
);
65 extern HRESULT
create_dmseqtrack(REFIID riid
, void **ret_iface
);
66 extern HRESULT
create_dmsysextrack(REFIID riid
, void **ret_iface
);
67 extern HRESULT
create_dmtempotrack(REFIID riid
, void **ret_iface
);
68 extern HRESULT
create_dmtimesigtrack(REFIID riid
, void **ret_iface
);
69 extern HRESULT
create_dmwavetrack(REFIID riid
, void **ret_iface
);
71 extern void set_audiopath_perf_pointer(IDirectMusicAudioPath
*,IDirectMusicPerformance8
*);
72 extern void set_audiopath_dsound_buffer(IDirectMusicAudioPath
*,IDirectSoundBuffer
*);
73 extern void set_audiopath_primary_dsound_buffer(IDirectMusicAudioPath
*,IDirectSoundBuffer
*);
75 extern HRESULT
segment_state_create(IDirectMusicSegment
*segment
, MUSIC_TIME start_time
,
76 IDirectMusicPerformance
*performance
, IDirectMusicSegmentState
**ret_iface
);
77 extern HRESULT
segment_state_play(IDirectMusicSegmentState
*iface
, IDirectMusicPerformance
*performance
);
78 extern HRESULT
segment_state_end_play(IDirectMusicSegmentState
*iface
);
80 extern HRESULT
wave_track_create_from_chunk(IStream
*stream
, struct chunk_entry
*parent
,
81 IDirectMusicTrack8
**ret_iface
);
83 extern HRESULT
performance_get_dsound(IDirectMusicPerformance8
*iface
, IDirectSound
**dsound
);
85 /*****************************************************************************
86 * Auxiliary definitions
88 typedef struct _DMUS_PRIVATE_TEMPO_ITEM
{
89 struct list entry
; /* for listing elements */
90 DMUS_IO_TEMPO_ITEM item
;
91 } DMUS_PRIVATE_TEMPO_ITEM
, *LPDMUS_PRIVATE_TEMPO_ITEM
;
93 typedef struct _DMUS_PRIVATE_TEMPO_PLAY_STATE
{
95 } DMUS_PRIVATE_TEMPO_PLAY_STATE
, *LPDMUS_PRIVATE_TEMPO_PLAY_STATE
;
97 /*****************************************************************************
101 #endif /* __WINE_DMIME_PRIVATE_H */