Wing Commander
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
IxStream Struct Reference

#include </home/runner/work/wc1-re/wc1-re/out/site/source/src/ix/ix.h>

Private Attributes

unsigned int flags
unsigned char * buffer
unsigned int size
unsigned int writePos
unsigned int playPos
int pending
unsigned char * lockPtr
int lockLen
CRITICAL_SECTION cs

Friends

void ix_dsps_alloc (int stream, unsigned int size, int freq, int bps, int channels)
void ix_dsps_free (int stream)
void ix_dsps_prepare (int stream)
void ix_dsps_play (int stream)
void ix_dsps_stop (int stream)
void ix_dsps_set_volume (int stream, unsigned short vol)
unsigned int ix_dsps_get_flags (int stream)
int ix_dsps_get_buffer_free (int streamIndex)
void ix_dsps_lock (int stream, unsigned int requestedBytes, unsigned char **buffer, unsigned int *lockedBytes)
void ix_dsps_unlock (int stream)

Detailed Description

Definition at line 233 of file ix.h.

◆ ix_dsps_alloc

void ix_dsps_alloc ( int stream,
unsigned int size,
int freq,
int bps,
int channels )
friend

Definition at line 22 of file dsps.cpp.

◆ ix_dsps_free

void ix_dsps_free ( int stream)
friend

◆ ix_dsps_get_buffer_free

int ix_dsps_get_buffer_free ( int streamIndex)
friend

Definition at line 210 of file dsps.cpp.

◆ ix_dsps_get_flags

unsigned int ix_dsps_get_flags ( int stream)
friend

Definition at line 199 of file dsps.cpp.

References flags, IX_DSPS_FILE, ix_dsps_get_flags, ix_log_printf(), nStreamCount, and streams.

Referenced by ix_dsps_get_flags.

◆ ix_dsps_lock

void ix_dsps_lock ( int stream,
unsigned int requestedBytes,
unsigned char ** buffer,
unsigned int * lockedBytes )
friend

Definition at line 246 of file dsps.cpp.

References buffer, and ix_dsps_lock.

Referenced by ix_dsps_lock.

◆ ix_dsps_play

void ix_dsps_play ( int stream)
friend

Definition at line 126 of file dsps.cpp.

◆ ix_dsps_prepare

void ix_dsps_prepare ( int stream)
friend

Definition at line 101 of file dsps.cpp.

◆ ix_dsps_set_volume

void ix_dsps_set_volume ( int stream,
unsigned short vol )
friend

Definition at line 175 of file dsps.cpp.

◆ ix_dsps_stop

void ix_dsps_stop ( int stream)
friend

Definition at line 153 of file dsps.cpp.

Referenced by ix_dsps_free.

◆ ix_dsps_unlock

void ix_dsps_unlock ( int stream)
friend

Field Documentation

◆ buffer

unsigned char* IxStream::buffer
private

◆ cs

CRITICAL_SECTION IxStream::cs
private

Definition at line 243 of file ix.h.

Referenced by ix_dsps_free.

◆ flags

unsigned int IxStream::flags
private

◆ lockLen

int IxStream::lockLen
private

Definition at line 242 of file ix.h.

Referenced by ix_dsps_unlock.

◆ lockPtr

unsigned char* IxStream::lockPtr
private

Definition at line 241 of file ix.h.

◆ pending

int IxStream::pending
private

◆ playPos

unsigned int IxStream::playPos
private

◆ size

unsigned int IxStream::size
private

Definition at line 237 of file ix.h.

Referenced by IxVoice::ix_dsps_alloc, IxVoice::ix_dsps_get_buffer_free, and ix_dsps_unlock.

◆ writePos

unsigned int IxStream::writePos
private

Definition at line 238 of file ix.h.

Referenced by IxVoice::ix_dsps_alloc, IxVoice::ix_dsps_prepare, and ix_dsps_unlock.


The documentation for this struct was generated from the following file: