[PATCH 00/11] windows.media.speech: First speechrecognition work.

Bernhard Kölbl besentv at gmail.com
Wed Jan 19 07:28:08 CST 2022


Hello everyone,

this patchset is my first work towars getting speechrecognition to hopefully
work soon(tm). It mostly consists of stubs for the least amount of interfaces
and classes which are required to get basic recognition working.
I also made some "heavier" changes on how the activation factory works
based on what seemed logical for it to actually be doing on real WinRT dlls.
For activatable classes I refrained from creating a create function, which
accepts an IID, because DllGetClassObject isn't implemented as of now and
the activation factory seems to always query for the classes default interface
implementing IInspectable. Not sure if the general solution I made for this
is the best, so this is something to really take a greater look at.

Bernhard

Bernhard Kölbl (11):
  include/windows.foundation.collections.idl: Add IVector<T> interface.
  include/windows.foundation.idl: Add IAsyncAction interface.
  include/windows.globalization.idl: Add ILanguage interface and
    Language class stubs.
  include: Add windows.storage.idl.
  include: Add windows.media.speechrecognition.idl.
  windows.media.speech: Move speechsynthesis into a seperate file.
  windows.media.speech: Add SpeechRecognizer stub.
  windows.media.speech: Add SpeechRecognitionListConstraint stub.
  windows.media.speech: Add SpeechRecognitionResult stub.
  windows.media.speech: Add SpeechRecognitionCompilationResult stub.
  windows.media.speech: Add SpeechRecognizerStateChangedEventArgs stub.

 dlls/windows.media.speech/Makefile.in         |   8 +-
 dlls/windows.media.speech/classes.idl         |   1 +
 dlls/windows.media.speech/main.c              | 672 ++++++----------
 .../speechrecognitioncompilationresult.c      | 151 ++++
 .../speechrecognitionlistconstraint.c         | 329 ++++++++
 .../speechrecognitionresult.c                 | 325 ++++++++
 dlls/windows.media.speech/speechrecognizer.c  | 497 ++++++++++++
 .../speechrecognizerstatechangedrventargs.c   | 156 ++++
 dlls/windows.media.speech/speechsynthesis.c   | 505 ++++++++++++
 dlls/windows.media.speech/tests/speech.c      | 111 +++
 .../windows_media_speech_private.h            | 109 +++
 include/Makefile.in                           |   2 +
 include/windows.foundation.collections.idl    |  20 +
 include/windows.foundation.idl                |  23 +
 include/windows.globalization.idl             |  38 +
 include/windows.media.speechrecognition.idl   | 722 ++++++++++++++++++
 include/windows.storage.idl                   |  61 ++
 17 files changed, 3307 insertions(+), 423 deletions(-)
 create mode 100644 dlls/windows.media.speech/speechrecognitioncompilationresult.c
 create mode 100644 dlls/windows.media.speech/speechrecognitionlistconstraint.c
 create mode 100644 dlls/windows.media.speech/speechrecognitionresult.c
 create mode 100644 dlls/windows.media.speech/speechrecognizer.c
 create mode 100644 dlls/windows.media.speech/speechrecognizerstatechangedrventargs.c
 create mode 100644 dlls/windows.media.speech/speechsynthesis.c
 create mode 100644 dlls/windows.media.speech/windows_media_speech_private.h
 create mode 100644 include/windows.media.speechrecognition.idl
 create mode 100644 include/windows.storage.idl

-- 
2.34.1




More information about the wine-devel mailing list