From 4fe5787f122fdfc45253b45f9fad3983f53d86df Mon Sep 17 00:00:00 2001 From: j-leungyy <43455129+j-leungyy@users.noreply.github.com> Date: Tue, 25 May 2021 09:06:09 -0700 Subject: update simplemediasource sample (#614) * update simplemediasource wrl to winrtcpp COM, add mediatype NV12 (SimpleFrameGenerator), fix Mediatype missing attribute (bitrate), add IMFActivate, IMFSampleAllocator interface and implementation, update hardcode arg with named variables, cleanup sample for StreamIndex and StreamId, add sample KSControl * address PR-it1 comments * address comment from PR-it2, replace manual define of IKSControl by ksproxy.h * remove unuse header * address comment from PR * fix sdk to latest, add driversign algorithm * remove nudget, use submodule --- general/SimpleMediaSource/MediaSource/pch.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 general/SimpleMediaSource/MediaSource/pch.cpp (limited to 'general/SimpleMediaSource/MediaSource/pch.cpp') diff --git a/general/SimpleMediaSource/MediaSource/pch.cpp b/general/SimpleMediaSource/MediaSource/pch.cpp new file mode 100644 index 00000000..e40b6b12 --- /dev/null +++ b/general/SimpleMediaSource/MediaSource/pch.cpp @@ -0,0 +1,26 @@ +// +// Copyright (C) Microsoft Corporation. All rights reserved. +// + +// pch.cpp: source file corresponding to the pre-compiled header +#include "pch.h" + +// When you are using pre-compiled headers, this source file is necessary for compilation to succeed. + +namespace winrt +{ + template<> bool is_guid_of(guid const& id) noexcept + { + return is_guid_of(id); + } + + template<> bool is_guid_of(guid const& id) noexcept + { + return is_guid_of(id); + } + + template<> bool is_guid_of(guid const& id) noexcept + { + return is_guid_of(id); + } +} \ No newline at end of file -- cgit v1.3.1