Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
SpeechRecognitionDarwin.mm File Reference
#include "SpeechRecognitionDarwin.h"
#include "LangInfo.h"
#include "speech/ISpeechRecognitionListener.h"
#include "speech/SpeechRecognitionErrors.h"
#include "threads/CriticalSection.h"
#include "utils/log.h"
#include <algorithm>
#include <mutex>
#include <vector>
import <AVFoundation/AVFoundation.h>
import <Speech/Speech.h>

Functions

struct API_AVAILABLE (macos(10.15), ios(10.0)) API_UNAVAILABLE(tvos) SpeechRecognitionDarwinImpl
 

Variables

API_AVAILABLE(macos(10.15), ios(10.0)) API_UNAVAILABLE(tvos) @interface SpeechRecognitionImpl SFSpeechAudioBufferRecognitionRequest * recognitionRequest
 
SFSpeechRecognitionTask * recognitionTask
 
AVAudioEngine * audioEngine
 
NSTimer * talkTimeoutTimer
 
NSString * text
 
speech::ISpeechRecognitionListenerlistener
 
CSpeechRecognitionDarwinowner
 

Function Documentation

◆ API_AVAILABLE()

struct API_AVAILABLE ( macos(10.15) ,
ios(10.0)  )

Variable Documentation

◆ audioEngine

AVAudioEngine* audioEngine
readwritenonatomicstrong

◆ listener

speech::ISpeechRecognitionListener* listener
readwritenonatomicassign

◆ owner

CSpeechRecognitionDarwin* owner
readwritenonatomicassign

◆ recognitionRequest

API_AVAILABLE (macos(10.15), ios(10.0)) API_UNAVAILABLE(tvos) @interface SpeechRecognitionImpl SFSpeechAudioBufferRecognitionRequest* recognitionRequest
readwritenonatomicstrong

◆ recognitionTask

SFSpeechRecognitionTask* recognitionTask
readwritenonatomicstrong

◆ talkTimeoutTimer

NSTimer* talkTimeoutTimer
readwritenonatomicstrong

◆ text

NSString* text
readwritenonatomiccopy