ReactOS 0.4.16-dev-197-g92996da
|
#include "ntvdm.h"
#include <debug.h>
#include "speaker.h"
#include "hardware/pit.h"
#include <ndk/iofuncs.h>
#include <ndk/obfuncs.h>
#include <ntddbeep.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | SPEAKER_RESPONSE 200 |
#define | MIN_AUDIBLE_FREQ 20 |
#define | MAX_AUDIBLE_FREQ 20000 |
#define | CLICK_FREQ 100 |
#define | UABS(x) (ULONG)((LONG)(x) < 0 ? -(LONG)(x) : (x)) |
Functions | |
static VOID | MakeBeep (ULONG Frequency, ULONG Duration) |
static VOID | PulseSample (VOID) |
VOID | SpeakerChange (UCHAR Port61hValue) |
VOID | SpeakerInitialize (VOID) |
VOID | SpeakerCleanup (VOID) |
Variables | |
static HANDLE | hBeep = NULL |
static LARGE_INTEGER | FreqCount |
static LARGE_INTEGER | CountStart |
static ULONG | PulseTickCount = 0 |
static ULONG | FreqPulses = 0 |
Definition at line 44 of file speaker.c.
Referenced by SpeakerChange().
Definition at line 93 of file speaker.c.
Referenced by SpeakerChange().
Definition at line 196 of file speaker.c.
Referenced by PitChan2Out(), and Port61hWrite().
Definition at line 260 of file speaker.c.
Referenced by EmulatorInitialize().
|
static |
Definition at line 30 of file speaker.c.
Referenced by PulseSample(), SpeakerChange(), and SpeakerInitialize().
|
static |
Definition at line 30 of file speaker.c.
Referenced by PulseSample(), and SpeakerInitialize().
|
static |
Definition at line 31 of file speaker.c.
Referenced by PulseSample(), and SpeakerChange().
Definition at line 28 of file speaker.c.
Referenced by Beep(), MakeBeep(), SpeakerCleanup(), and SpeakerInitialize().
|
static |
Definition at line 31 of file speaker.c.
Referenced by PulseSample(), and SpeakerChange().