Files
src/miniquake/sound/snd_win.ml
- Package
miniquake.sound.snd_win- Reachable
- No
Imports
Declarations
# create
function create(simulated, sampleRate)
Implements the `create` operation for `miniquake.sound.snd_win` (create).
| Parameter | Type | Default | Description |
|---|
simulated | dynamic | — | The simulated input consumed by `create`. |
sampleRate | dynamic | — | The sample rate input consumed by `create`. |
View source
# FreeSound
function FreeSound(state)
Release state for free sound.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `FreeSound`. |
View source
# hasArgument
function hasArgument(arguments, wanted)
Report whether argument.
| Parameter | Type | Default | Description |
|---|
arguments | dynamic | — | Command-line arguments to inspect or execute. |
wanted | dynamic | — | The wanted input consumed by `hasArgument`. |
View source
# S_BlockSound
function S_BlockSound(state)
Apply the Quake-compatible s block sound behavior.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `S_BlockSound`. |
View source
# S_UnblockSound
function S_UnblockSound(state)
Apply the Quake-compatible s unblock sound behavior.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `S_UnblockSound`. |
View source
# SECONDARY_BUFFER_SIZE
const SECONDARY_BUFFER_SIZE = 65536
Defines the secondary buffer size value used by `miniquake.sound.snd_win`.
View source
# SIS_FAILURE
const SIS_FAILURE = 1
Defines the sis failure value used by `miniquake.sound.snd_win`.
View source
# SIS_NOTAVAIL
const SIS_NOTAVAIL = 2
Defines the sis notavail value used by `miniquake.sound.snd_win`.
View source
# SIS_SUCCESS
const SIS_SUCCESS = 0
Defines the sis success value used by `miniquake.sound.snd_win`.
View source
# SNDDMA_GetDMAPos
function SNDDMA_GetDMAPos(state)
Mirror Quake's SNDDMA_GetDMAPos routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_GetDMAPos`. |
View source
# SNDDMA_Init
function SNDDMA_Init(state, arguments)
Mirror Quake's SNDDMA_Init routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_Init`. |
arguments | dynamic | — | Command-line arguments to inspect or execute. |
View source
# SNDDMA_InitDirect
function SNDDMA_InitDirect(state)
Mirror Quake's SNDDMA_InitDirect routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_InitDirect`. |
View source
# SNDDMA_InitWav
function SNDDMA_InitWav(state)
Mirror Quake's SNDDMA_InitWav routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_InitWav`. |
View source
# SNDDMA_Shutdown
function SNDDMA_Shutdown(state)
Mirror Quake's SNDDMA_Shutdown routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_Shutdown`. |
View source
# SNDDMA_Submit
function SNDDMA_Submit(state, data)
Mirror Quake's SNDDMA_Submit routine and its observable state changes.
| Parameter | Type | Default | Description |
|---|
state | dynamic | — | Mutable `miniquake.sound.snd_win` state used by `SNDDMA_Submit`. |
data | dynamic | — | Input data consumed by the operation. |
View source
# WAV_BUFFER_SIZE
const WAV_BUFFER_SIZE = 1024
Defines the wav buffer size value used by `miniquake.sound.snd_win`.
View source
# WAV_BUFFERS
const WAV_BUFFERS = 64
Defines the wav buffers value used by `miniquake.sound.snd_win`.
View source
# WAV_MASK
const WAV_MASK = 63
Defines the wav mask value used by `miniquake.sound.snd_win`.
View source
miniquake.sound.snd_win.WaveHeader struct
miniquake.sound.snd_win.WindowsSoundState struct