Zao SDK for Jetson / libzao-endpoint API リファレンス 1.5.0.0 (2024-09-25)
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
PcmBufferPoolWriterInterface.hpp
1#ifndef ZAO_ENDPOINT_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
2#define ZAO_ENDPOINT_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
3
4namespace zao {
5namespace endpoint {
6namespace audio {
7
8class PcmBufferWriter;
9
15 public:
31 virtual PcmBufferWriter GetWriter(bool wait) noexcept = 0;
32
37 virtual void AbortGetWriter() noexcept = 0;
38
39 virtual ~PcmBufferPoolWriterInterface() noexcept = default;
40};
41
42} // namespace audio
43} // namespace endpoint
44} // namespace zao
45
46#endif // ZAO_ENDPOINT_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
PCMバッファプールの書き込み側インターフェース
Definition PcmBufferPoolWriterInterface.hpp:14
virtual PcmBufferWriter GetWriter(bool wait) noexcept=0
書き込みバッファ(空きのあるバッファ)を1つ取り出す。
virtual void AbortGetWriter() noexcept=0
GetWriter(true)で待機中のスレッドに対し、待機を中断させる。
PCMバッファのWriter実装
Definition PcmBufferWriter.hpp:25
Zao製品共通の名前空間
Definition FactoryInterface.hpp:11