Zao SDK for Jetson / libzao-endpoint API リファレンス 1.5.0.0 (2024-09-25)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
zao::endpoint::audio::PcmBufferPoolWriterInterface Class Referenceabstract

PCMバッファプールの書き込み側インターフェース More...

#include <PcmBufferPoolWriterInterface.hpp>

Public Member Functions

virtual PcmBufferWriter GetWriter (bool wait) noexcept=0
 書き込みバッファ(空きのあるバッファ)を1つ取り出す。
 
virtual void AbortGetWriter () noexcept=0
 GetWriter(true)で待機中のスレッドに対し、待機を中断させる。
 

Detailed Description

PCMバッファプールの書き込み側インターフェース

Member Function Documentation

◆ GetWriter()

virtual PcmBufferWriter zao::endpoint::audio::PcmBufferPoolWriterInterface::GetWriter ( bool  wait)
pure virtualnoexcept

書き込みバッファ(空きのあるバッファ)を1つ取り出す。

Parameters
waitバッファが無い場合に待機するときtrue
Attention
この関数はスレッドセーフではない。 単一スレッドから呼び出すこと。
Note
書き込みバッファが無い場合、またはFinalizeしていない他の Writerが存在する場合、無効なWriterを返す。

The documentation for this class was generated from the following file: