Audacity 3.2.0
Public Member Functions | Public Attributes | List of all members
FifoBuffer::Page Struct Referencefinal
Collaboration diagram for FifoBuffer::Page:
[legend]

Public Member Functions

 Page (int size)
 
void Reset ()
 

Public Attributes

std::vector< char > Data
 
int WritePosition {}
 
int ReadPosition {}
 

Detailed Description

Definition at line 28 of file FifoBuffer.h.

Constructor & Destructor Documentation

◆ Page()

FifoBuffer::Page::Page ( int  size)
explicit

Definition at line 15 of file FifoBuffer.cpp.

16 : Data(size)
17{
18}
std::vector< char > Data
Definition: FifoBuffer.h:34

Member Function Documentation

◆ Reset()

void FifoBuffer::Page::Reset ( )

Definition at line 20 of file FifoBuffer.cpp.

21{
22 WritePosition = 0;
23 ReadPosition = 0;
24}

Member Data Documentation

◆ Data

std::vector<char> FifoBuffer::Page::Data

Definition at line 34 of file FifoBuffer.h.

◆ ReadPosition

int FifoBuffer::Page::ReadPosition {}

Definition at line 36 of file FifoBuffer.h.

◆ WritePosition

int FifoBuffer::Page::WritePosition {}

Definition at line 35 of file FifoBuffer.h.


The documentation for this struct was generated from the following files: