[WASAPI] fix stream types and frequencies enumeration
[xbmc.git] / xbmc / speech / ISpeechRecognition.h
blobe4c4fcb5f62e4750a972805628fff63ab84577e1
1 /*
2 * Copyright (C) 2005-2022 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <memory>
13 namespace speech
15 class ISpeechRecognitionListener;
17 class ISpeechRecognition
19 public:
20 static std::shared_ptr<speech::ISpeechRecognition> CreateInstance();
22 virtual ~ISpeechRecognition() = default;
24 virtual void StartSpeechRecognition(
25 const std::shared_ptr<speech::ISpeechRecognitionListener>& listener) = 0;
28 } // namespace speech