mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-01 18:58:29 +00:00
include: Add Windows.Media.Render.AudioRenderCategory enumeration.
Required for Windows.Media.Effects.IAudioEffectsManagerStatics interface.
This commit is contained in:
parent
546f823ed1
commit
64dd6d2883
|
@ -843,6 +843,7 @@ SOURCES = \
|
||||||
windows.media.closedcaptioning.idl \
|
windows.media.closedcaptioning.idl \
|
||||||
windows.media.devices.idl \
|
windows.media.devices.idl \
|
||||||
windows.media.idl \
|
windows.media.idl \
|
||||||
|
windows.media.render.idl \
|
||||||
windows.media.speechrecognition.idl \
|
windows.media.speechrecognition.idl \
|
||||||
windows.media.speechsynthesis.idl \
|
windows.media.speechsynthesis.idl \
|
||||||
windows.networking.connectivity.idl \
|
windows.networking.connectivity.idl \
|
||||||
|
|
52
include/windows.media.render.idl
Normal file
52
include/windows.media.render.idl
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2023 Biswapriyo Nath
|
||||||
|
*
|
||||||
|
* This library is free software; you can redistribute it and/or
|
||||||
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
|
* License as published by the Free Software Foundation; either
|
||||||
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This library is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
* Lesser General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
|
* License along with this library; if not, write to the Free Software
|
||||||
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef __WIDL__
|
||||||
|
#pragma winrt ns_prefix
|
||||||
|
#endif
|
||||||
|
|
||||||
|
import "windows.foundation.idl";
|
||||||
|
|
||||||
|
namespace Windows.Media.Render {
|
||||||
|
typedef enum AudioRenderCategory AudioRenderCategory;
|
||||||
|
|
||||||
|
[
|
||||||
|
contract(Windows.Foundation.UniversalApiContract, 1.0)
|
||||||
|
]
|
||||||
|
enum AudioRenderCategory
|
||||||
|
{
|
||||||
|
Other = 0,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
ForegroundOnlyMedia = 1,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
BackgroundCapableMedia = 2,
|
||||||
|
Communications = 3,
|
||||||
|
Alerts = 4,
|
||||||
|
SoundEffects = 5,
|
||||||
|
GameEffects = 6,
|
||||||
|
GameMedia = 7,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
GameChat = 8,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
Speech = 9,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
Movie = 10,
|
||||||
|
[contract(Windows.Foundation.UniversalApiContract, 1.0)]
|
||||||
|
Media = 11,
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue