mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-22 00:32:39 +00:00
cleanup
This commit is contained in:
parent
a67cc53bcd
commit
528a7f8837
@ -121,9 +121,6 @@ SDLSpeaker::SDLSpeaker()
|
||||
mixerValue = 0x80;
|
||||
|
||||
pthread_mutex_init(&togmutex, NULL);
|
||||
|
||||
lastCycleCount = 0;
|
||||
lastSampleCount = 0;
|
||||
}
|
||||
|
||||
SDLSpeaker::~SDLSpeaker()
|
||||
@ -144,6 +141,8 @@ void SDLSpeaker::begin()
|
||||
|
||||
memset((void *)&soundBuf[0], 0, CACHEMULTIPLIER*SDLSIZE);
|
||||
bufIdx = 0;
|
||||
skippedSamples = 0;
|
||||
audioRunning = 0;
|
||||
|
||||
SDL_OpenAudio(&audioDevice, &audioActual); // FIXME retval
|
||||
printf("Actual: freq %d channels %d samples %d\n",
|
||||
|
@ -22,9 +22,6 @@ class SDLSpeaker : public PhysicalSpeaker {
|
||||
private:
|
||||
uint8_t mixerValue;
|
||||
bool toggleState;
|
||||
|
||||
uint64_t lastCycleCount;
|
||||
uint64_t lastSampleCount;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user