libsidplayfp 1.0.3
Public Types | Public Attributes | Static Public Attributes
SidConfig Class Reference

#include <SidConfig.h>

List of all members.

Public Types

enum  playback_t { MONO = 1, STEREO }
enum  sid_model_t { MOS6581, MOS8580 }
enum  c64_model_t { PAL, NTSC, OLD_NTSC, DREAN }
enum  sampling_method_t { INTERPOLATE, RESAMPLE_INTERPOLATE }

Public Attributes

c64_model_t defaultC64Model
bool forceC64Model
sid_model_t defaultSidModel
bool forceSidModel
playback_t playback
uint_least32_t frequency
uint_least16_t secondSidAddress
sidbuildersidEmulation
uint_least32_t leftVolume
uint_least32_t rightVolume
uint_least16_t powerOnDelay
sampling_method_t samplingMethod
bool fastSampling

Static Public Attributes

static const uint_least16_t MAX_POWER_ON_DELAY = 0x1FFF
static const uint_least16_t DEFAULT_POWER_ON_DELAY = MAX_POWER_ON_DELAY + 1
static const uint_least32_t DEFAULT_SAMPLING_FREQ = 44100

Detailed Description

SidConfig

An instance of this class is used to transport emulator settings to and from the interface class.


Member Data Documentation

Intended c64 model when unknown or forced

  • PAL
  • NTSC
  • OLD_NTSC
  • DREAN

Intended sid model when unknown or forced

  • MOS6581
  • MOS8580

Faster low-quality emulation, available only for reSID

Force the model to defaultC64Model ignoring tune's clock setting

Force the sid model to defaultSidModel

uint_least32_t SidConfig::frequency

Sampling frequency

uint_least32_t SidConfig::leftVolume

Left channel volume

const uint_least16_t SidConfig::MAX_POWER_ON_DELAY = 0x1FFF [static]

Maximum power on delay

  • Delays <= MAX produce constant results
  • Delays > MAX produce random results
playback_t SidConfig::playback

Playbak mode

  • MONO
  • STEREO
uint_least16_t SidConfig::powerOnDelay

Power on delay cycles

uint_least32_t SidConfig::rightVolume

Right channel volume

sampling_method_t SidConfig::samplingMethod

Sampling method

  • INTERPOLATE
  • RESAMPLE_INTERPOLATE

Install a second SID chip at this address

Pointer to selected emulation, reSIDfp, reSID or hardSID


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