OpenShot Library | libopenshot 1.1.1
Classes | Public Member Functions | List of all members
openshot::CaptureAudioBuffer Class Reference

#include <CaptureAudioBuffer.h>

Public Member Functions

bool Covers (int count) const
 
void Push (int64_t start, std::vector< std::vector< float > > samples)
 
void PushTimestamp (int64_t timestamp, int64_t epoch, AVRational time_base, int sample_rate, std::vector< std::vector< float > > samples)
 
std::vector< std::vector< float > > Read (int count)
 
void Reset (int channels, int64_t capacity)
 

Detailed Description

Definition at line 21 of file CaptureAudioBuffer.h.

Member Function Documentation

◆ Covers()

bool openshot::CaptureAudioBuffer::Covers ( int  count) const
inline

Definition at line 77 of file CaptureAudioBuffer.h.

◆ Push()

void openshot::CaptureAudioBuffer::Push ( int64_t  start,
std::vector< std::vector< float > >  samples 
)
inline

Definition at line 34 of file CaptureAudioBuffer.h.

Referenced by PushTimestamp().

◆ PushTimestamp()

void openshot::CaptureAudioBuffer::PushTimestamp ( int64_t  timestamp,
int64_t  epoch,
AVRational  time_base,
int  sample_rate,
std::vector< std::vector< float > >  samples 
)
inline

Definition at line 57 of file CaptureAudioBuffer.h.

◆ Read()

std::vector< std::vector< float > > openshot::CaptureAudioBuffer::Read ( int  count)
inline

Definition at line 84 of file CaptureAudioBuffer.h.

◆ Reset()

void openshot::CaptureAudioBuffer::Reset ( int  channels,
int64_t  capacity 
)
inline

Definition at line 23 of file CaptureAudioBuffer.h.


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