winrt-Windows.Media.Effects 2.2.0__tar.gz → 2.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/PKG-INFO +15 -15
- winrt_windows_media_effects-2.3.0/all-requirements.txt +15 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/py.Windows.Media.Effects.cpp +234 -1
- winrt_windows_media_effects-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/requirements.txt +2 -2
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt/_winrt_windows_media_effects.pyi +15 -2
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt/windows/media/effects/__init__.py +8 -1
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt_Windows.Media.Effects.egg-info/PKG-INFO +15 -15
- winrt_windows_media_effects-2.3.0/winrt_Windows.Media.Effects.egg-info/requires.txt +16 -0
- winrt_windows_media_effects-2.2.0/all-requirements.txt +0 -15
- winrt_windows_media_effects-2.2.0/pywinrt-version.txt +0 -1
- winrt_windows_media_effects-2.2.0/winrt_Windows.Media.Effects.egg-info/requires.txt +0 -16
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/README.md +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/pyproject.toml +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/setup.cfg +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/setup.py +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt/windows/media/effects/py.typed +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt_Windows.Media.Effects.egg-info/SOURCES.txt +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt_Windows.Media.Effects.egg-info/dependency_links.txt +0 -0
- {winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/winrt_Windows.Media.Effects.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Media.Effects
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,21 +12,21 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Media[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.Media.Capture[all]==2.
|
|
23
|
-
Requires-Dist: winrt-Windows.Media.Editing[all]==2.
|
|
24
|
-
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.
|
|
25
|
-
Requires-Dist: winrt-Windows.Media.Playback[all]==2.
|
|
26
|
-
Requires-Dist: winrt-Windows.Media.Render[all]==2.
|
|
27
|
-
Requires-Dist: winrt-Windows.Media.Transcoding[all]==2.
|
|
28
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
29
|
-
Requires-Dist: winrt-Windows.UI[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Media[all]==2.3.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media.Capture[all]==2.3.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Media.Editing[all]==2.3.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.3.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Media.Playback[all]==2.3.0; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.Media.Render[all]==2.3.0; extra == "all"
|
|
27
|
+
Requires-Dist: winrt-Windows.Media.Transcoding[all]==2.3.0; extra == "all"
|
|
28
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
29
|
+
Requires-Dist: winrt-Windows.UI[all]==2.3.0; extra == "all"
|
|
30
30
|
|
|
31
31
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
32
32
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.Foundation[all]==2.3.0
|
|
4
|
+
winrt-Windows.Foundation.Collections[all]==2.3.0
|
|
5
|
+
winrt-Windows.Foundation.Numerics[all]==2.3.0
|
|
6
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.3.0
|
|
7
|
+
winrt-Windows.Media[all]==2.3.0
|
|
8
|
+
winrt-Windows.Media.Capture[all]==2.3.0
|
|
9
|
+
winrt-Windows.Media.Editing[all]==2.3.0
|
|
10
|
+
winrt-Windows.Media.MediaProperties[all]==2.3.0
|
|
11
|
+
winrt-Windows.Media.Playback[all]==2.3.0
|
|
12
|
+
winrt-Windows.Media.Render[all]==2.3.0
|
|
13
|
+
winrt-Windows.Media.Transcoding[all]==2.3.0
|
|
14
|
+
winrt-Windows.Storage.Streams[all]==2.3.0
|
|
15
|
+
winrt-Windows.UI[all]==2.3.0
|
{winrt_windows_media_effects-2.2.0 → winrt_windows_media_effects-2.3.0}/py.Windows.Media.Effects.cpp
RENAMED
|
@@ -1,9 +1,115 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.Media.Effects.h"
|
|
4
4
|
|
|
5
5
|
namespace py::cpp::Windows::Media::Effects
|
|
6
6
|
{
|
|
7
|
+
// ----- AcousticEchoCancellationConfiguration class --------------------
|
|
8
|
+
|
|
9
|
+
static PyObject* _new_AcousticEchoCancellationConfiguration(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
|
|
10
|
+
{
|
|
11
|
+
static_assert(py::py_type<winrt::Windows::Media::Effects::AcousticEchoCancellationConfiguration>::type_name);
|
|
12
|
+
py::set_invalid_activation_error(py::py_type<winrt::Windows::Media::Effects::AcousticEchoCancellationConfiguration>::type_name);
|
|
13
|
+
return nullptr;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
static void _dealloc_AcousticEchoCancellationConfiguration(py::wrapper::Windows::Media::Effects::AcousticEchoCancellationConfiguration* self) noexcept
|
|
17
|
+
{
|
|
18
|
+
auto tp = Py_TYPE(self);
|
|
19
|
+
std::destroy_at(&self->obj);
|
|
20
|
+
tp->tp_free(self);
|
|
21
|
+
Py_DECREF(tp);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
static PyObject* AcousticEchoCancellationConfiguration_SetEchoCancellationRenderEndpoint(py::wrapper::Windows::Media::Effects::AcousticEchoCancellationConfiguration* self, PyObject* args) noexcept
|
|
25
|
+
{
|
|
26
|
+
auto arg_count = PyTuple_Size(args);
|
|
27
|
+
|
|
28
|
+
if (arg_count == 1)
|
|
29
|
+
{
|
|
30
|
+
try
|
|
31
|
+
{
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Effects.AcousticEchoCancellationConfiguration", L"SetEchoCancellationRenderEndpoint", 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
40
|
+
{
|
|
41
|
+
py::set_arg_count_version_error(1);
|
|
42
|
+
return nullptr;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
auto param0 = py::convert_to<winrt::hstring>(args, 0);
|
|
46
|
+
|
|
47
|
+
self->obj.SetEchoCancellationRenderEndpoint(param0);
|
|
48
|
+
Py_RETURN_NONE;
|
|
49
|
+
}
|
|
50
|
+
catch (...)
|
|
51
|
+
{
|
|
52
|
+
py::to_PyErr();
|
|
53
|
+
return nullptr;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
else
|
|
57
|
+
{
|
|
58
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
59
|
+
return nullptr;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
static PyObject* _assign_array_AcousticEchoCancellationConfiguration(PyObject* /*unused*/, PyObject* arg) noexcept
|
|
64
|
+
{
|
|
65
|
+
auto array = std::make_unique<py::ComArray<winrt::Windows::Media::Effects::AcousticEchoCancellationConfiguration>>();
|
|
66
|
+
if (!py::cpp::_winrt::Array_Assign(arg, std::move(array)))
|
|
67
|
+
{
|
|
68
|
+
return nullptr;
|
|
69
|
+
}
|
|
70
|
+
Py_RETURN_NONE;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static PyObject* _from_AcousticEchoCancellationConfiguration(PyObject* /*unused*/, PyObject* arg) noexcept
|
|
74
|
+
{
|
|
75
|
+
try
|
|
76
|
+
{
|
|
77
|
+
auto return_value = py::convert_to<winrt::Windows::Foundation::IInspectable>(arg);
|
|
78
|
+
return py::convert(return_value.as<winrt::Windows::Media::Effects::AcousticEchoCancellationConfiguration>());
|
|
79
|
+
}
|
|
80
|
+
catch (...)
|
|
81
|
+
{
|
|
82
|
+
py::to_PyErr();
|
|
83
|
+
return nullptr;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
static PyMethodDef _methods_AcousticEchoCancellationConfiguration[] = {
|
|
88
|
+
{ "set_echo_cancellation_render_endpoint", reinterpret_cast<PyCFunction>(AcousticEchoCancellationConfiguration_SetEchoCancellationRenderEndpoint), METH_VARARGS, nullptr },
|
|
89
|
+
{ "_assign_array_", _assign_array_AcousticEchoCancellationConfiguration, METH_O | METH_STATIC, nullptr },
|
|
90
|
+
{ "_from", reinterpret_cast<PyCFunction>(_from_AcousticEchoCancellationConfiguration), METH_O | METH_STATIC, nullptr },
|
|
91
|
+
{ }
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
static PyGetSetDef _getset_AcousticEchoCancellationConfiguration[] = {
|
|
95
|
+
{ }
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
static PyType_Slot _type_slots_AcousticEchoCancellationConfiguration[] = {
|
|
99
|
+
{ Py_tp_new, reinterpret_cast<void*>(_new_AcousticEchoCancellationConfiguration) },
|
|
100
|
+
{ Py_tp_dealloc, reinterpret_cast<void*>(_dealloc_AcousticEchoCancellationConfiguration) },
|
|
101
|
+
{ Py_tp_methods, reinterpret_cast<void*>(_methods_AcousticEchoCancellationConfiguration) },
|
|
102
|
+
{ Py_tp_getset, reinterpret_cast<void*>(_getset_AcousticEchoCancellationConfiguration) },
|
|
103
|
+
{ }
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
static PyType_Spec type_spec_AcousticEchoCancellationConfiguration = {
|
|
107
|
+
"winrt._winrt_windows_media_effects.AcousticEchoCancellationConfiguration",
|
|
108
|
+
sizeof(py::wrapper::Windows::Media::Effects::AcousticEchoCancellationConfiguration),
|
|
109
|
+
0,
|
|
110
|
+
Py_TPFLAGS_DEFAULT,
|
|
111
|
+
_type_slots_AcousticEchoCancellationConfiguration};
|
|
112
|
+
|
|
7
113
|
// ----- AudioCaptureEffectsManager class --------------------
|
|
8
114
|
|
|
9
115
|
static PyObject* _new_AudioCaptureEffectsManager(PyTypeObject* /*unused*/, PyObject* /*unused*/, PyObject* /*unused*/) noexcept
|
|
@@ -183,6 +289,45 @@ namespace py::cpp::Windows::Media::Effects
|
|
|
183
289
|
Py_DECREF(tp);
|
|
184
290
|
}
|
|
185
291
|
|
|
292
|
+
static PyObject* AudioEffect_SetState(py::wrapper::Windows::Media::Effects::AudioEffect* self, PyObject* args) noexcept
|
|
293
|
+
{
|
|
294
|
+
auto arg_count = PyTuple_Size(args);
|
|
295
|
+
|
|
296
|
+
if (arg_count == 1)
|
|
297
|
+
{
|
|
298
|
+
try
|
|
299
|
+
{
|
|
300
|
+
static std::optional<bool> is_overload_present{};
|
|
301
|
+
|
|
302
|
+
if (!is_overload_present.has_value())
|
|
303
|
+
{
|
|
304
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.Effects.AudioEffect", L"SetState", 1);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
if (!is_overload_present.value())
|
|
308
|
+
{
|
|
309
|
+
py::set_arg_count_version_error(1);
|
|
310
|
+
return nullptr;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
auto param0 = py::convert_to<winrt::Windows::Media::Effects::AudioEffectState>(args, 0);
|
|
314
|
+
|
|
315
|
+
self->obj.SetState(param0);
|
|
316
|
+
Py_RETURN_NONE;
|
|
317
|
+
}
|
|
318
|
+
catch (...)
|
|
319
|
+
{
|
|
320
|
+
py::to_PyErr();
|
|
321
|
+
return nullptr;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
else
|
|
325
|
+
{
|
|
326
|
+
py::set_invalid_arg_count_error(arg_count);
|
|
327
|
+
return nullptr;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
186
331
|
static PyObject* AudioEffect_get_AudioEffectType(py::wrapper::Windows::Media::Effects::AudioEffect* self, void* /*unused*/) noexcept
|
|
187
332
|
{
|
|
188
333
|
try
|
|
@@ -209,6 +354,84 @@ namespace py::cpp::Windows::Media::Effects
|
|
|
209
354
|
}
|
|
210
355
|
}
|
|
211
356
|
|
|
357
|
+
static PyObject* AudioEffect_get_AcousticEchoCancellationConfiguration(py::wrapper::Windows::Media::Effects::AudioEffect* self, void* /*unused*/) noexcept
|
|
358
|
+
{
|
|
359
|
+
try
|
|
360
|
+
{
|
|
361
|
+
static std::optional<bool> is_property_present{};
|
|
362
|
+
|
|
363
|
+
if (!is_property_present.has_value())
|
|
364
|
+
{
|
|
365
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.AudioEffect", L"AcousticEchoCancellationConfiguration");
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
if (!is_property_present.value())
|
|
369
|
+
{
|
|
370
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
371
|
+
return nullptr;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
return py::convert(self->obj.AcousticEchoCancellationConfiguration());
|
|
375
|
+
}
|
|
376
|
+
catch (...)
|
|
377
|
+
{
|
|
378
|
+
py::to_PyErr();
|
|
379
|
+
return nullptr;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
static PyObject* AudioEffect_get_CanSetState(py::wrapper::Windows::Media::Effects::AudioEffect* self, void* /*unused*/) noexcept
|
|
384
|
+
{
|
|
385
|
+
try
|
|
386
|
+
{
|
|
387
|
+
static std::optional<bool> is_property_present{};
|
|
388
|
+
|
|
389
|
+
if (!is_property_present.has_value())
|
|
390
|
+
{
|
|
391
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.AudioEffect", L"CanSetState");
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
if (!is_property_present.value())
|
|
395
|
+
{
|
|
396
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
397
|
+
return nullptr;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
return py::convert(self->obj.CanSetState());
|
|
401
|
+
}
|
|
402
|
+
catch (...)
|
|
403
|
+
{
|
|
404
|
+
py::to_PyErr();
|
|
405
|
+
return nullptr;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
static PyObject* AudioEffect_get_State(py::wrapper::Windows::Media::Effects::AudioEffect* self, void* /*unused*/) noexcept
|
|
410
|
+
{
|
|
411
|
+
try
|
|
412
|
+
{
|
|
413
|
+
static std::optional<bool> is_property_present{};
|
|
414
|
+
|
|
415
|
+
if (!is_property_present.has_value())
|
|
416
|
+
{
|
|
417
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.Effects.AudioEffect", L"State");
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
if (!is_property_present.value())
|
|
421
|
+
{
|
|
422
|
+
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
423
|
+
return nullptr;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
return py::convert(self->obj.State());
|
|
427
|
+
}
|
|
428
|
+
catch (...)
|
|
429
|
+
{
|
|
430
|
+
py::to_PyErr();
|
|
431
|
+
return nullptr;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|
|
212
435
|
static PyObject* _assign_array_AudioEffect(PyObject* /*unused*/, PyObject* arg) noexcept
|
|
213
436
|
{
|
|
214
437
|
auto array = std::make_unique<py::ComArray<winrt::Windows::Media::Effects::AudioEffect>>();
|
|
@@ -234,6 +457,7 @@ namespace py::cpp::Windows::Media::Effects
|
|
|
234
457
|
}
|
|
235
458
|
|
|
236
459
|
static PyMethodDef _methods_AudioEffect[] = {
|
|
460
|
+
{ "set_state", reinterpret_cast<PyCFunction>(AudioEffect_SetState), METH_VARARGS, nullptr },
|
|
237
461
|
{ "_assign_array_", _assign_array_AudioEffect, METH_O | METH_STATIC, nullptr },
|
|
238
462
|
{ "_from", reinterpret_cast<PyCFunction>(_from_AudioEffect), METH_O | METH_STATIC, nullptr },
|
|
239
463
|
{ }
|
|
@@ -241,6 +465,9 @@ namespace py::cpp::Windows::Media::Effects
|
|
|
241
465
|
|
|
242
466
|
static PyGetSetDef _getset_AudioEffect[] = {
|
|
243
467
|
{ "audio_effect_type", reinterpret_cast<getter>(AudioEffect_get_AudioEffectType), nullptr, nullptr, nullptr },
|
|
468
|
+
{ "acoustic_echo_cancellation_configuration", reinterpret_cast<getter>(AudioEffect_get_AcousticEchoCancellationConfiguration), nullptr, nullptr, nullptr },
|
|
469
|
+
{ "can_set_state", reinterpret_cast<getter>(AudioEffect_get_CanSetState), nullptr, nullptr, nullptr },
|
|
470
|
+
{ "state", reinterpret_cast<getter>(AudioEffect_get_State), nullptr, nullptr, nullptr },
|
|
244
471
|
{ }
|
|
245
472
|
};
|
|
246
473
|
|
|
@@ -4122,6 +4349,12 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_effects(void) noexcept
|
|
|
4122
4349
|
return nullptr;
|
|
4123
4350
|
}
|
|
4124
4351
|
|
|
4352
|
+
py::pytype_handle AcousticEchoCancellationConfiguration_type{py::register_python_type(module.get(), &type_spec_AcousticEchoCancellationConfiguration, object_bases.get(), nullptr)};
|
|
4353
|
+
if (!AcousticEchoCancellationConfiguration_type)
|
|
4354
|
+
{
|
|
4355
|
+
return nullptr;
|
|
4356
|
+
}
|
|
4357
|
+
|
|
4125
4358
|
py::pytype_handle AudioCaptureEffectsManager_type{py::register_python_type(module.get(), &type_spec_AudioCaptureEffectsManager, object_bases.get(), nullptr)};
|
|
4126
4359
|
if (!AudioCaptureEffectsManager_type)
|
|
4127
4360
|
{
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
import datetime
|
|
4
4
|
import sys
|
|
@@ -23,10 +23,16 @@ import winrt.windows.media.transcoding as windows_media_transcoding
|
|
|
23
23
|
import winrt.windows.storage.streams as windows_storage_streams
|
|
24
24
|
import winrt.windows.ui as windows_ui
|
|
25
25
|
|
|
26
|
-
from winrt.windows.media.effects import AudioEffectType, MediaEffectClosedReason, MediaMemoryTypes
|
|
26
|
+
from winrt.windows.media.effects import AudioEffectState, AudioEffectType, MediaEffectClosedReason, MediaMemoryTypes
|
|
27
27
|
|
|
28
28
|
Self = typing.TypeVar('Self')
|
|
29
29
|
|
|
30
|
+
@typing.final
|
|
31
|
+
class AcousticEchoCancellationConfiguration(winrt.system.Object):
|
|
32
|
+
@staticmethod
|
|
33
|
+
def _from(obj: winrt.system.Object, /) -> AcousticEchoCancellationConfiguration: ...
|
|
34
|
+
def set_echo_cancellation_render_endpoint(self, device_id: str, /) -> None: ...
|
|
35
|
+
|
|
30
36
|
@typing.final
|
|
31
37
|
class AudioCaptureEffectsManager(winrt.system.Object):
|
|
32
38
|
@staticmethod
|
|
@@ -39,8 +45,15 @@ class AudioCaptureEffectsManager(winrt.system.Object):
|
|
|
39
45
|
class AudioEffect(winrt.system.Object):
|
|
40
46
|
@staticmethod
|
|
41
47
|
def _from(obj: winrt.system.Object, /) -> AudioEffect: ...
|
|
48
|
+
def set_state(self, new_state: AudioEffectState, /) -> None: ...
|
|
42
49
|
@_property
|
|
43
50
|
def audio_effect_type(self) -> AudioEffectType: ...
|
|
51
|
+
@_property
|
|
52
|
+
def acoustic_echo_cancellation_configuration(self) -> typing.Optional[AcousticEchoCancellationConfiguration]: ...
|
|
53
|
+
@_property
|
|
54
|
+
def can_set_state(self) -> bool: ...
|
|
55
|
+
@_property
|
|
56
|
+
def state(self) -> AudioEffectState: ...
|
|
44
57
|
|
|
45
58
|
@typing.final
|
|
46
59
|
class AudioEffectDefinition(winrt.system.Object):
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
import enum
|
|
4
4
|
|
|
@@ -6,9 +6,11 @@ import winrt.system
|
|
|
6
6
|
from winrt import _winrt_windows_media_effects
|
|
7
7
|
|
|
8
8
|
__all__ = [
|
|
9
|
+
"AudioEffectState",
|
|
9
10
|
"AudioEffectType",
|
|
10
11
|
"MediaEffectClosedReason",
|
|
11
12
|
"MediaMemoryTypes",
|
|
13
|
+
"AcousticEchoCancellationConfiguration",
|
|
12
14
|
"AudioCaptureEffectsManager",
|
|
13
15
|
"AudioEffect",
|
|
14
16
|
"AudioEffectDefinition",
|
|
@@ -30,6 +32,10 @@ __all__ = [
|
|
|
30
32
|
"IVideoEffectDefinition",
|
|
31
33
|
]
|
|
32
34
|
|
|
35
|
+
class AudioEffectState(enum.IntEnum):
|
|
36
|
+
OFF = 0
|
|
37
|
+
ON = 1
|
|
38
|
+
|
|
33
39
|
class AudioEffectType(enum.IntEnum):
|
|
34
40
|
OTHER = 0
|
|
35
41
|
ACOUSTIC_ECHO_CANCELLATION = 1
|
|
@@ -63,6 +69,7 @@ class MediaMemoryTypes(enum.IntEnum):
|
|
|
63
69
|
CPU = 1
|
|
64
70
|
GPU_AND_CPU = 2
|
|
65
71
|
|
|
72
|
+
AcousticEchoCancellationConfiguration = _winrt_windows_media_effects.AcousticEchoCancellationConfiguration
|
|
66
73
|
AudioCaptureEffectsManager = _winrt_windows_media_effects.AudioCaptureEffectsManager
|
|
67
74
|
AudioEffect = _winrt_windows_media_effects.AudioEffect
|
|
68
75
|
AudioEffectDefinition = _winrt_windows_media_effects.AudioEffectDefinition
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.Media.Effects
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -12,21 +12,21 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Media[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.Media.Capture[all]==2.
|
|
23
|
-
Requires-Dist: winrt-Windows.Media.Editing[all]==2.
|
|
24
|
-
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.
|
|
25
|
-
Requires-Dist: winrt-Windows.Media.Playback[all]==2.
|
|
26
|
-
Requires-Dist: winrt-Windows.Media.Render[all]==2.
|
|
27
|
-
Requires-Dist: winrt-Windows.Media.Transcoding[all]==2.
|
|
28
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
29
|
-
Requires-Dist: winrt-Windows.UI[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.3.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Foundation.Numerics[all]==2.3.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.3.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Media[all]==2.3.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Media.Capture[all]==2.3.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Media.Editing[all]==2.3.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.Media.MediaProperties[all]==2.3.0; extra == "all"
|
|
25
|
+
Requires-Dist: winrt-Windows.Media.Playback[all]==2.3.0; extra == "all"
|
|
26
|
+
Requires-Dist: winrt-Windows.Media.Render[all]==2.3.0; extra == "all"
|
|
27
|
+
Requires-Dist: winrt-Windows.Media.Transcoding[all]==2.3.0; extra == "all"
|
|
28
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.3.0; extra == "all"
|
|
29
|
+
Requires-Dist: winrt-Windows.UI[all]==2.3.0; extra == "all"
|
|
30
30
|
|
|
31
31
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
32
32
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
winrt-runtime==2.3.0
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.Foundation[all]==2.3.0
|
|
5
|
+
winrt-Windows.Foundation.Collections[all]==2.3.0
|
|
6
|
+
winrt-Windows.Foundation.Numerics[all]==2.3.0
|
|
7
|
+
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.3.0
|
|
8
|
+
winrt-Windows.Media[all]==2.3.0
|
|
9
|
+
winrt-Windows.Media.Capture[all]==2.3.0
|
|
10
|
+
winrt-Windows.Media.Editing[all]==2.3.0
|
|
11
|
+
winrt-Windows.Media.MediaProperties[all]==2.3.0
|
|
12
|
+
winrt-Windows.Media.Playback[all]==2.3.0
|
|
13
|
+
winrt-Windows.Media.Render[all]==2.3.0
|
|
14
|
+
winrt-Windows.Media.Transcoding[all]==2.3.0
|
|
15
|
+
winrt-Windows.Storage.Streams[all]==2.3.0
|
|
16
|
+
winrt-Windows.UI[all]==2.3.0
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.Foundation[all]==2.2.0
|
|
4
|
-
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
5
|
-
winrt-Windows.Foundation.Numerics[all]==2.2.0
|
|
6
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.2.0
|
|
7
|
-
winrt-Windows.Media[all]==2.2.0
|
|
8
|
-
winrt-Windows.Media.Capture[all]==2.2.0
|
|
9
|
-
winrt-Windows.Media.Editing[all]==2.2.0
|
|
10
|
-
winrt-Windows.Media.MediaProperties[all]==2.2.0
|
|
11
|
-
winrt-Windows.Media.Playback[all]==2.2.0
|
|
12
|
-
winrt-Windows.Media.Render[all]==2.2.0
|
|
13
|
-
winrt-Windows.Media.Transcoding[all]==2.2.0
|
|
14
|
-
winrt-Windows.Storage.Streams[all]==2.2.0
|
|
15
|
-
winrt-Windows.UI[all]==2.2.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.2.0
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.2.0
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.Foundation[all]==2.2.0
|
|
5
|
-
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
6
|
-
winrt-Windows.Foundation.Numerics[all]==2.2.0
|
|
7
|
-
winrt-Windows.Graphics.DirectX.Direct3D11[all]==2.2.0
|
|
8
|
-
winrt-Windows.Media[all]==2.2.0
|
|
9
|
-
winrt-Windows.Media.Capture[all]==2.2.0
|
|
10
|
-
winrt-Windows.Media.Editing[all]==2.2.0
|
|
11
|
-
winrt-Windows.Media.MediaProperties[all]==2.2.0
|
|
12
|
-
winrt-Windows.Media.Playback[all]==2.2.0
|
|
13
|
-
winrt-Windows.Media.Render[all]==2.2.0
|
|
14
|
-
winrt-Windows.Media.Transcoding[all]==2.2.0
|
|
15
|
-
winrt-Windows.Storage.Streams[all]==2.2.0
|
|
16
|
-
winrt-Windows.UI[all]==2.2.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|