Add feature checking logic for engine API 05/288905/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 16 Feb 2023 08:53:17 +0000 (17:53 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 24 Feb 2023 08:13:29 +0000 (17:13 +0900)
commit2d6ce7132c5bad1aec4d28a138f025a204782ea8
tree89b777920b741c920aba7d201a88ddecad11de57
parentfc9fbc084158df81c527568df3af343caf75cd4e
Add feature checking logic for engine API

- Issue:
Most of the engine API did not return 'not supported error' when the
device does not support the TTS feature.

- Solution:
This patch adds feature checking logic to the beginning of each API
implementation. Through this change, each API will properly check the
required feature and return error. And this behavior is matched to the
description of each API.

Change-Id: I744cb3bbeb6670f3fdfedc1ecd3f9d710f822be2
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
include/ttse.h
server/ttse.c