VirtualC64 v5.0 beta
Commodore 64 Emulator
|
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. | |
SID Public API.
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.
SIDInfo getInfo | ( | isize | nr | ) | const |
Returns the current state of a specific SID.
nr | SID number (0 - 3). 0 is the primary SID. |