|
LMMS
|
#include <Nes_Vrc6_Apu.h>
Classes | |
| struct | Vrc6_Osc |
Public Types | |
| enum | { osc_count = 3 } |
| enum | { reg_count = 3 } |
| enum | { base_addr = 0x9000 } |
| enum | { addr_step = 0x1000 } |
Public Member Functions | |
| void | reset () |
| void | volume (double) |
| void | treble_eq (blip_eq_t const &) |
| void | output (Blip_Buffer *) |
| void | osc_output (int index, Blip_Buffer *) |
| void | end_frame (blip_time_t) |
| void | save_state (vrc6_apu_state_t *) const |
| void | load_state (vrc6_apu_state_t const &) |
| void | write_osc (blip_time_t, int osc, int reg, int data) |
| Nes_Vrc6_Apu () | |
Private Member Functions | |
| Nes_Vrc6_Apu (const Nes_Vrc6_Apu &) | |
| Nes_Vrc6_Apu & | operator= (const Nes_Vrc6_Apu &) |
| void | run_until (blip_time_t) |
| void | run_square (Vrc6_Osc &osc, blip_time_t) |
| void | run_saw (blip_time_t) |
Private Attributes | |
| Vrc6_Osc | oscs [osc_count] |
| blip_time_t | last_time |
| Blip_Synth< blip_med_quality, 1 > | saw_synth |
| Blip_Synth< blip_good_quality, 1 > | square_synth |
| Nes_Vrc6_Apu::Nes_Vrc6_Apu | ( | ) |
|
private |
| void Nes_Vrc6_Apu::end_frame | ( | blip_time_t | time | ) |
| void Nes_Vrc6_Apu::load_state | ( | vrc6_apu_state_t const & | in | ) |
|
private |
|
inline |
| void Nes_Vrc6_Apu::output | ( | Blip_Buffer * | buf | ) |
| void Nes_Vrc6_Apu::reset | ( | ) |
|
private |
|
private |
|
private |
| void Nes_Vrc6_Apu::save_state | ( | vrc6_apu_state_t * | out | ) | const |
|
inline |
| void Nes_Vrc6_Apu::write_osc | ( | blip_time_t | time, |
| int | osc, | ||
| int | reg, | ||
| int | data ) |
|
private |
|
private |
|
private |