/[cvs]/api/include/DShowIDL/austream.idl
ViewVC logotype

Contents of /api/include/DShowIDL/austream.idl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Sun Jul 1 20:47:59 2001 UTC (23 years, 4 months ago) by bearsoft
Branch: lazy, MAIN
CVS Tags: start, HEAD
Changes since 1.1: +0 -0 lines
First import

1 //------------------------------------------------------------------------------
2 // File: AuStream.idl
3 //
4 // Desc:
5 //
6 // Copyright (c) 1998 - 2000, Microsoft Corporation. All rights reserved.
7 //------------------------------------------------------------------------------
8
9
10 import "unknwn.idl";
11 import "mmstream.idl";
12
13 cpp_quote("//")
14 cpp_quote("// The following declarations within the 'if 0' block are dummy typedefs used to make")
15 cpp_quote("// the ddstream.idl file build. The actual definitions are contained in DDRAW.H")
16 cpp_quote("//")
17 cpp_quote("#if 0")
18 typedef struct tWAVEFORMATEX WAVEFORMATEX;
19 cpp_quote ("#endif")
20
21 interface IAudioMediaStream;
22 interface IAudioStreamSample;
23 interface IMemoryData;
24 interface IAudioData;
25
26 // IAudioMediaStream
27
28
29 [
30 object,
31 local,
32 uuid(f7537560-a3be-11d0-8212-00c04fc32c45),
33 pointer_default(unique)
34 ]
35 interface IAudioMediaStream : IMediaStream
36 {
37
38 HRESULT GetFormat(
39 [out] WAVEFORMATEX *pWaveFormatCurrent
40 );
41
42 HRESULT SetFormat(
43 [in] const WAVEFORMATEX *lpWaveFormat);
44
45 HRESULT CreateSample(
46 [in] IAudioData *pAudioData,
47 [in] DWORD dwFlags,
48 [out] IAudioStreamSample **ppSample
49 );
50 }
51
52 [
53 object,
54 local,
55 uuid(345fee00-aba5-11d0-8212-00c04fc32c45),
56 pointer_default(unique)
57 ]
58 interface IAudioStreamSample : IStreamSample
59 {
60 HRESULT GetAudioData(
61 [out] IAudioData **ppAudio
62 );
63 }
64
65
66 [
67 object,
68 local,
69 uuid(327fc560-af60-11d0-8212-00c04fc32c45),
70 pointer_default(unique)
71 ]
72 interface IMemoryData : IUnknown
73 {
74 HRESULT SetBuffer(
75 [in] DWORD cbSize,
76 [in] BYTE *pbData,
77 [in] DWORD dwFlags
78 );
79
80 HRESULT GetInfo(
81 [out] DWORD *pdwLength,
82 [out] BYTE **ppbData,
83 [out] DWORD *pcbActualData
84 );
85 HRESULT SetActual(
86 [in] DWORD cbDataValid
87 );
88 }
89
90 [
91 object,
92 local,
93 uuid(54c719c0-af60-11d0-8212-00c04fc32c45),
94 pointer_default(unique)
95 ]
96 interface IAudioData : IMemoryData
97 {
98 HRESULT GetFormat(
99 [out] WAVEFORMATEX *pWaveFormatCurrent
100 );
101
102 HRESULT SetFormat(
103 [in] const WAVEFORMATEX *lpWaveFormat
104 );
105 }
106

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26