Define class for managing audio stream 67/271267/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Wed, 28 Apr 2021 02:48:38 +0000 (11:48 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Fri, 18 Feb 2022 05:11:20 +0000 (14:11 +0900)
commit4bd876f34f782aff812db290815c4811bd597f9d
tree4d128ada0c2b45a70723a79b081f23357cb0f4fb
parentc55a302b2a882c746ac39588d0f7e7ca825099ce
Define class for managing audio stream

ttsd_player.cpp has too complexity responsibility to play PCM data. This complexity makes bad code
to maintain.

This patch makes new class AudioStream to manage audio stream. By this new class, we can simplify
the responsibility of ttsd_player.cpp, and this enhance the maintainability.

Change-Id: I3537411c41349166cd617815e65415676dda4723
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/AudioStream.cpp [new file with mode: 0644]
server/AudioStream.h [new file with mode: 0644]
server/CMakeLists.txt