PCM送信用バッファのインターフェース。  
 More...
#include <PcmSourceBufferInterface.hpp>
|  | 
| virtual std::int16_t * | GetPointer ()=0 | 
|  | バッファのポインタを取得する。 
 | 
|  | 
| virtual std::size_t | GetCapacity () const =0 | 
|  | バッファの容量をサンプル数で取得する。 
 | 
|  | 
| virtual void | SetLength (std::size_t bytes)=0 | 
|  | バッファに格納された有効サンプル数を設定する。 
 | 
|  | 
| virtual void | SetTimestamp (TimestampInterface::Rep timestamp)=0 | 
|  | タイムスタンプを設定する。 
 | 
|  | 
| virtual | ~PcmSourceBufferInterface () noexcept=default | 
|  | PcmSourceBufferInterface オブジェクトを破棄する。 
 | 
|  | 
PCM送信用バッファのインターフェース。 
- Since
- SDK1.5 
- Note
- 本バッファには音声のチャンネル数という概念が存在しない。 よって容量や有効要素数は全チャンネル合計分のサンプル数になる。 
◆ SetLength()
  
  | 
        
          | virtual void zao::endpoint::audio::PcmSourceBufferInterface::SetLength | ( | std::size_t | bytes | ) |  |  | pure virtual | 
 
バッファに格納された有効サンプル数を設定する。 
- Parameters
- 
  
  
 
 
◆ SetTimestamp()
タイムスタンプを設定する。 
- Parameters
- 
  
  
- Note
- バッファに格納された先頭サンプルの時刻を指定する。 
 
 
The documentation for this class was generated from the following file: