ComSquare
Public Member Functions | Public Attributes | List of all members
ComSquare::APU::DSP::State Struct Reference

Current state of the DSP. More...

#include <DSP.hpp>

Collaboration diagram for ComSquare::APU::DSP::State:

Public Member Functions

 State (std::array< int16_t, 0x10000 > &array, uint32_t size)
 

Public Attributes

uint8_t voice = 0
 Current voice modification to do. More...
 
std::array< int16_t, 0x10000 > & buffer
 Current buffer of samples. More...
 
uint32_t bufferSize
 Size of buffer. More...
 
uint32_t bufferOffset = 0
 Current position in the buffer of samples. More...
 

Detailed Description

Current state of the DSP.

Constructor & Destructor Documentation

◆ State()

ComSquare::APU::DSP::State::State ( std::array< int16_t, 0x10000 > &  array,
uint32_t  size 
)
inline

Member Data Documentation

◆ buffer

std::array<int16_t, 0x10000>& ComSquare::APU::DSP::State::buffer

Current buffer of samples.

◆ bufferOffset

uint32_t ComSquare::APU::DSP::State::bufferOffset = 0

Current position in the buffer of samples.

◆ bufferSize

uint32_t ComSquare::APU::DSP::State::bufferSize

Size of buffer.

◆ voice

uint8_t ComSquare::APU::DSP::State::voice = 0

Current voice modification to do.


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