mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-11-18 12:06:47 +00:00
aa53953a2f
Fix for SSC (big transfers): use queue instead of single byte buffer New switches: -log, -no-mb, -spkr-max, -spkr-inc Fix for Speaker underflow problem (max=200, inc=20) SSC: Support 112.5K Baud Dynamic 'Serial Port' drop-down menu Save "Serial Port Name" to Registry (instead of drop-down menu index as "Serial Port")
26 lines
757 B
C
26 lines
757 B
C
#pragma once
|
|
|
|
extern DWORD soundtype;
|
|
extern double g_fClksPerSpkrSample;
|
|
|
|
void SpkrDestroy ();
|
|
void SpkrInitialize ();
|
|
void SpkrReinitialize ();
|
|
void SpkrReset();
|
|
BOOL SpkrSetEmulationType (HWND,DWORD);
|
|
void SpkrUpdate (DWORD);
|
|
void SpkrUpdate_Timer();
|
|
void Spkr_SetErrorInc(const int nErrorInc);
|
|
void Spkr_SetErrorMax(const int nErrorMax);
|
|
DWORD SpkrGetVolume();
|
|
void SpkrSetVolume(DWORD dwVolume, DWORD dwVolumeMax);
|
|
void Spkr_Mute();
|
|
void Spkr_Demute();
|
|
bool Spkr_IsActive();
|
|
bool Spkr_DSInit();
|
|
void Spkr_DSUninit();
|
|
DWORD SpkrGetSnapshot(SS_IO_Speaker* pSS);
|
|
DWORD SpkrSetSnapshot(SS_IO_Speaker* pSS);
|
|
|
|
BYTE __stdcall SpkrToggle (WORD pc, WORD addr, BYTE bWrite, BYTE d, ULONG nCyclesLeft);
|