|
|
@ -28,7 +28,7 @@ |
|
|
|
#include "reSID.h" |
|
|
|
#include "reSID.h" |
|
|
|
#include <AudioStream.h> |
|
|
|
#include <AudioStream.h> |
|
|
|
|
|
|
|
|
|
|
|
#define OVERSAMPLE 24 |
|
|
|
#define OVERSAMPLE 20 |
|
|
|
|
|
|
|
|
|
|
|
static SID sid; |
|
|
|
static SID sid; |
|
|
|
|
|
|
|
|
|
|
@ -59,11 +59,9 @@ void AudioPlaySID::setreg(int ofs, int val) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void AudioPlaySID::update(void) { |
|
|
|
void AudioPlaySID::update(void) { |
|
|
|
unsigned int i, n; |
|
|
|
unsigned int i; |
|
|
|
audio_block_t *block; |
|
|
|
audio_block_t *block; |
|
|
|
|
|
|
|
|
|
|
|
static cycle_count delta_t; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// only update if we're playing
|
|
|
|
// only update if we're playing
|
|
|
|
if (!playing) return; |
|
|
|
if (!playing) return; |
|
|
|
|
|
|
|
|
|
|
|