VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/austream.idl@ 19678

Last change on this file since 19678 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1/*
2 * Copyright 2004 Christian Costa
3 *
4 * This library 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 library 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 library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "unknwn.idl";
29import "mmstream.idl";
30
31cpp_quote("#if 0")
32typedef struct tWAVEFORMATEX WAVEFORMATEX;
33cpp_quote ("#endif")
34
35interface IAudioMediaStream;
36interface IAudioStreamSample;
37interface IMemoryData;
38interface IAudioData;
39
40[
41object,
42local,
43uuid(f7537560-a3be-11d0-8212-00c04fc32c45),
44pointer_default(unique)
45]
46interface IAudioMediaStream : IMediaStream
47{
48 HRESULT GetFormat(
49 [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
50 );
51
52 HRESULT SetFormat(
53 [in] const WAVEFORMATEX *lpWaveFormat);
54
55 HRESULT CreateSample(
56 [in] IAudioData *pAudioData,
57 [in] DWORD dwFlags,
58 [out] IAudioStreamSample **ppSample
59 );
60}
61
62
63[
64object,
65local,
66uuid(345fee00-aba5-11d0-8212-00c04fc32c45),
67pointer_default(unique)
68]
69interface IAudioStreamSample : IStreamSample
70{
71 HRESULT GetAudioData(
72 [out] IAudioData **ppAudio
73 );
74}
75
76
77[
78object,
79local,
80uuid(327fc560-af60-11d0-8212-00c04fc32c45),
81pointer_default(unique)
82]
83interface IMemoryData : IUnknown
84{
85 HRESULT SetBuffer(
86 [in] DWORD cbSize,
87 [in] BYTE *pbData,
88 [in] DWORD dwFlags
89 );
90
91 HRESULT GetInfo(
92 [out] DWORD *pdwLength,
93 [out] BYTE **ppbData,
94 [out] DWORD *pcbActualData
95 );
96 HRESULT SetActual(
97 [in] DWORD cbDataValid
98 );
99}
100
101
102[
103object,
104local,
105uuid(54c719c0-af60-11d0-8212-00c04fc32c45),
106pointer_default(unique)
107]
108interface IAudioData : IMemoryData
109{
110 HRESULT GetFormat(
111 [out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
112 );
113
114 HRESULT SetFormat(
115 [in] const WAVEFORMATEX *lpWaveFormat
116 );
117}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette