Zao SDK for Jetson / libzep API リファレンス  1.0.0.0 (2023-05-08)
PcmBufferPoolWriterInterface.hpp
1 #ifndef ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
2 #define ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
3 
4 namespace zep {
5 namespace audio {
6 
7 class PcmBufferWriter;
8 
13  public:
22  virtual PcmBufferWriter GetWriter(bool wait) noexcept = 0;
23 
27  virtual void AbortGetWriter() noexcept = 0;
28 
29  virtual ~PcmBufferPoolWriterInterface() noexcept = default;
30 };
31 
32 } // namespace audio
33 } // namespace zep
34 
35 #endif // ZEP_AUDIO_PCM_BUFFER_POOL_WRITER_INTERFACE_HPP_
ZEP SDK用名前空間
Definition: FactoryInterface.hpp:10
virtual void AbortGetWriter() noexcept=0
GetWriter(true)で待機中のスレッドに対し、待機を中断させる。
PCMバッファのWriter実装
Definition: PcmBufferWriter.hpp:20
virtual PcmBufferWriter GetWriter(bool wait) noexcept=0
書き込みバッファ(空きのあるバッファ)を1つ取り出す。
PCMバッファプールの書き込み側インターフェース
Definition: PcmBufferPoolWriterInterface.hpp:12