VirtualC64 v5.0 beta
Commodore 64 Emulator
Loading...
Searching...
No Matches
SIDAPI Struct Reference

SID Public API. More...

#include <VirtualC64.h>

Public Member Functions

SIDInfo getInfo (isize nr) const
 Returns the current state of a specific SID.
 
Visualizing waveforms
float draw (u32 *buffer, isize width, isize height, float maxAmp, u32 color, isize sid=-1) const
 Draws a visual representation of the waveform.
 

Detailed Description

SID Public API.

Member Function Documentation

◆ draw()

float draw ( u32 * buffer,
isize width,
isize height,
float maxAmp,
u32 color,
isize sid = -1 ) const

Draws a visual representation of the waveform.

The Mac app uses this function to visualize the contents of the audio buffer in one of it's inspector panels.

◆ getInfo()

SIDInfo getInfo ( isize nr) const

Returns the current state of a specific SID.

Parameters
nrSID number (0 - 3). 0 is the primary SID.

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