dinput: Implement DIDBAM_PRESERVE BuildActionMap flag.
[wine.git] / include / mpegtype.idl
blobdd0284cfc534f6732dae75026b751b989e33cbcc
1 /*
2 * Copyright (C) 2022 Anton Baskanov
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.
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.
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
19 import "unknwn.idl";
21 cpp_quote("#include <mmreg.h>")
22 #include <mmreg.h>
25 object,
26 /* uuid(b45dd570-3c77-11d1-abe1-00a0c905f375) conflicts with uuids.h */
27 pointer_default(unique)
29 interface IMpegAudioDecoder : IUnknown
31 [propget] HRESULT FrequencyDivider(
32 [out, retval] unsigned long *divider);
34 [propput] HRESULT FrequencyDivider(
35 unsigned long divider);
37 [propget] HRESULT DecoderAccuracy(
38 [out, retval] unsigned long *accuracy);
40 [propput] HRESULT DecoderAccuracy(
41 unsigned long accuracy);
43 [propget] HRESULT Stereo(
44 [out, retval] unsigned long *stereo);
46 [propput] HRESULT Stereo(
47 unsigned long stereo);
49 [propget] HRESULT DecoderWordSize(
50 [out, retval] unsigned long *word_size);
52 [propput] HRESULT DecoderWordSize(
53 unsigned long word_size);
55 [propget] HRESULT IntegerDecode(
56 [out, retval] unsigned long *integer_decode);
58 [propput] HRESULT IntegerDecode(
59 unsigned long integer_decode);
61 [propget] HRESULT DualMode(
62 [out, retval] unsigned long *dual_mode);
64 [propput] HRESULT DualMode(
65 unsigned long dual_mode);
67 [propget] HRESULT AudioFormat(
68 [out, retval] MPEG1WAVEFORMAT *format);