#include <sidplayfp.h>
List of all members.
Detailed Description
Member Function Documentation
Get the current engine configuration.
- Returns:
- a const reference to the current configuration.
Configure the engine. Check error for detailed message if something goes wrong.
- Parameters:
-
- Returns:
- true on success, false otherwise.
Control debugging. Only has effect if library have been compiled with the --enable-debug option.
- Parameters:
-
enable | enable/disable debugging. |
out | the file where to redirect the debug info. |
Error message.
- Returns:
- string error message.
Set the fast-forward factor.
- Parameters:
-
Get the CIA 1 Timer A programmed value.
Get the event scheduler.
- Returns:
- pointer to the scheduler.
Get the current player informations.
- Returns:
- a const reference to the current info.
Check if the engine is playing or stopped.
- Returns:
- true if playing, false otherwise.
Load a tune. Check error for detailed message if something goes wrong.
- Parameters:
-
tune | the SidTune to load, 0 unloads current tune. |
- Returns:
- true on sucess, false otherwise.
void sidplayfp::mute |
( |
unsigned int |
sidNum, |
|
|
unsigned int |
voice, |
|
|
bool |
enable |
|
) |
| |
Mute/unmute a SID channel.
- Parameters:
-
sidNum | the SID chip, 0 for the first one, 1 for the second. |
voice | the channel to mute/unmute. |
enable | true unmutes the channel, false mutes it. |
Produce samples to play.
- Parameters:
-
buffer | pointer to the buffer to fill with samples. |
count | the size of the buffer measured in 16 bit samples. |
- Returns:
- the number of produced samples.
void sidplayfp::setRoms |
( |
const uint8_t * |
kernal, |
|
|
const uint8_t * |
basic = 0 , |
|
|
const uint8_t * |
character = 0 |
|
) |
| |
Set ROMs. The ROMs are validate against known ones.
- Parameters:
-
kernal | pointer to Kernal ROM. |
basic | pointer to Basic ROM, generally needed only for BASIC tunes. |
character | pointer to character generator ROM. |
Get the current playing time with respect to resolution returned by timebase.
- Returns:
- the current playing time.
The documentation for this class was generated from the following files: