LMMS
Loading...
Searching...
No Matches
Nes_Osc Struct Reference

#include <Nes_Oscs.h>

Inheritance diagram for Nes_Osc:
Nes_Dmc Nes_Envelope Nes_Triangle Nes_Noise Nes_Square

Public Member Functions

void clock_length (int halt_mask)
int period () const
void reset ()
int update_amp (int amp)

Public Attributes

unsigned char regs [4]
bool reg_written [4]
Blip_Bufferoutput
int length_counter
int delay
int last_amp

Member Function Documentation

◆ clock_length()

void Nes_Osc::clock_length ( int halt_mask)

◆ period()

int Nes_Osc::period ( ) const
inline

◆ reset()

void Nes_Osc::reset ( )
inline

◆ update_amp()

int Nes_Osc::update_amp ( int amp)
inline

Member Data Documentation

◆ delay

int Nes_Osc::delay

◆ last_amp

int Nes_Osc::last_amp

◆ length_counter

int Nes_Osc::length_counter

◆ output

Blip_Buffer* Nes_Osc::output

◆ reg_written

bool Nes_Osc::reg_written[4]

◆ regs

unsigned char Nes_Osc::regs[4]

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