|
Wing Commander
Reconstructed Win32 source (1996)
|
#include </home/runner/work/wc1-re/wc1-re/out/site/source/src/ix/ix.h>
Private Attributes | |
| unsigned int | flags |
| unsigned char * | cursor |
| unsigned char * | start |
| unsigned char * | end |
| short | field_10 |
| short | rate |
| unsigned short | volume |
| unsigned char | leftGainHi |
| unsigned char | rightGainHi |
| short | leftGain |
| short | rightGain |
| short | panAngle |
| short | panPos |
Friends | |
| void | ix_dspv_set_active (int voice) |
| void | ix_dspv_clear_active (int voice) |
| void | ix_dspv_clear_flag4 (int voice) |
| unsigned int | ix_dspv_get_flags (int voice) |
| void | ix_dspv_set_flag4 (int voice, int on) |
| void | ix_dspv_set_buffer (int voice, unsigned char *p, int len) |
| int | ix_dspv_get_position (int voice) |
| void | ix_dspv_set_position (int voice, int off) |
| void | ix_dspv_set_volume (int voice, short vol) |
| void | ix_dspv_set_pan (int voice, unsigned short angle) |
| void | ix_dspv_set_frequency (int voice, unsigned int hz) |
| void | ix_dspv_set_bits_per_sample (int voice, int bps) |
| void | ix_dspv_set_channels (int voice, int channels) |
| void | ix_dspv_recalc_mix (int voice) |
| void | ix_dspv_mix (void *outputBuffer, unsigned int outputBytes) |
| void | ix_dsp_set_master_volume (unsigned short volume) |
| void | ix_dsps_alloc (int stream, unsigned int size, int freq, int bps, int channels) |
| 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) |
| int | ix_dsps_get_buffer_free (int streamIndex) |
|
friend |
Definition at line 212 of file dsp.cpp.
References aVoices, flags, ix_dsp_set_master_volume, ix_dspv_recalc_mix, IX_VOICE_ACTIVE, nMasterVolume, nVoiceCount, and volume.
Referenced by ix_dsp_set_master_volume, and ix_dspv_mix.
|
friend |
Definition at line 22 of file dsps.cpp.
References aVoices, IxStream::buffer, cursor, end, field_10, IxStream::flags, flags, ix_dsps_alloc, IX_DSPS_FILE, ix_log_printf(), IX_MIXER_BASE_RATE, IX_STREAM_ALLOCATED, IX_STREAM_PLAYING, IX_VOICE_16BIT, IX_VOICE_FLAG4, IX_VOICE_STEREO, leftGain, leftGainHi, nAllocatedStreams, nStreamCount, nVoiceCount, IxStream::pending, IxStream::playPos, rate, rightGain, rightGainHi, IxStream::size, start, streams, volume, and IxStream::writePos.
Referenced by ix_dsps_alloc, and ix_dspv_mix.
|
friend |
Definition at line 210 of file dsps.cpp.
References aVoices, IxStream::buffer, cursor, flags, IX_DSPS_FILE, ix_dsps_get_buffer_free, ix_log_printf(), IX_STREAM_ALLOCATED, nStreamCount, nVoiceCount, IxStream::pending, IxStream::playPos, IxStream::size, and streams.
Referenced by ix_dsps_get_buffer_free, and ix_dspv_mix.
|
friend |
Definition at line 126 of file dsps.cpp.
References aVoices, IxStream::buffer, cursor, IxStream::flags, flags, IX_DSPS_FILE, ix_dsps_play, ix_log_printf(), IX_STREAM_ALLOCATED, IX_STREAM_PLAYING, IX_VOICE_ACTIVE, nStreamCount, nVoiceCount, IxStream::playPos, and streams.
Referenced by ix_dsps_play, and ix_dspv_mix.
|
friend |
Definition at line 101 of file dsps.cpp.
References aVoices, IxStream::buffer, cursor, flags, IX_DSPS_FILE, ix_dsps_prepare, ix_log_printf(), IX_STREAM_ALLOCATED, IX_STREAM_PLAYING, nStreamCount, nVoiceCount, IxStream::pending, IxStream::playPos, streams, and IxStream::writePos.
Referenced by ix_dsps_prepare, and ix_dspv_mix.
|
friend |
Definition at line 175 of file dsps.cpp.
References aVoices, flags, IX_DSPS_FILE, ix_dsps_set_volume, ix_log_printf(), IX_STREAM_ALLOCATED, leftGain, leftGainHi, nStreamCount, nVoiceCount, rightGain, rightGainHi, streams, and volume.
Referenced by ix_dsps_set_volume, and ix_dspv_mix.
|
friend |
Definition at line 153 of file dsps.cpp.
References aVoices, IxStream::flags, flags, IX_DSPS_FILE, ix_dsps_stop, ix_log_printf(), IX_STREAM_ALLOCATED, IX_STREAM_PLAYING, IX_VOICE_ACTIVE, nStreamCount, nVoiceCount, and streams.
Referenced by ix_dsps_stop, and ix_dspv_mix.
|
friend |
Definition at line 36 of file dspv.cpp.
References aVoices, flags, ix_dspv_clear_active, IX_DSPV_FILE, ix_log_printf(), IX_VOICE_ACTIVE, and nVoiceCount.
Referenced by ix_dspv_clear_active.
|
friend |
Definition at line 47 of file dspv.cpp.
References aVoices, flags, ix_dspv_clear_flag4, IX_DSPV_FILE, ix_log_printf(), IX_VOICE_FLAG4, and nVoiceCount.
Referenced by ix_dspv_clear_flag4.
|
friend |
Definition at line 58 of file dspv.cpp.
References aVoices, flags, IX_DSPV_FILE, ix_dspv_get_flags, ix_log_printf(), and nVoiceCount.
Referenced by ix_dspv_get_flags.
|
friend |
Definition at line 96 of file dspv.cpp.
References aVoices, cursor, IX_DSPV_FILE, ix_dspv_get_position, ix_log_printf(), nVoiceCount, and start.
Referenced by ix_dspv_get_position.
|
friend |
Definition at line 220 of file dspv.cpp.
References asPanGains, aVoices, csMixer, ix_dspv_recalc_mix, leftGain, leftGainHi, nMasterVolume, panPos, rightGain, rightGainHi, and volume.
Referenced by ix_dsp_set_master_volume, ix_dspv_recalc_mix, ix_dspv_set_pan, and ix_dspv_set_volume.
|
friend |
Definition at line 25 of file dspv.cpp.
References aVoices, flags, IX_DSPV_FILE, ix_dspv_set_active, ix_log_printf(), IX_VOICE_ACTIVE, and nVoiceCount.
Referenced by ix_dspv_set_active.
|
friend |
Definition at line 182 of file dspv.cpp.
References aVoices, flags, IX_DSPV_FILE, ix_dspv_set_bits_per_sample, ix_log_printf(), IX_VOICE_16BIT, and nVoiceCount.
Referenced by ix_dspv_set_bits_per_sample.
|
friend |
Definition at line 79 of file dspv.cpp.
References ix_dspv_set_buffer.
Referenced by ix_dspv_set_buffer.
|
friend |
Definition at line 201 of file dspv.cpp.
References aVoices, flags, IX_DSPV_FILE, ix_dspv_set_channels, ix_log_printf(), IX_VOICE_STEREO, and nVoiceCount.
Referenced by ix_dspv_set_channels.
|
friend |
Definition at line 70 of file dspv.cpp.
References aVoices, flags, ix_dspv_set_flag4, and IX_VOICE_FLAG4.
Referenced by ix_dspv_set_flag4.
|
friend |
Definition at line 170 of file dspv.cpp.
References aVoices, IX_DSPV_FILE, ix_dspv_set_frequency, ix_log_printf(), IX_MIXER_BASE_RATE, nVoiceCount, and rate.
Referenced by ix_dspv_set_frequency.
|
friend |
Definition at line 134 of file dspv.cpp.
References aVoices, IX_DSPV_FILE, ix_dspv_recalc_mix, ix_dspv_set_pan, ix_log_printf(), nVoiceCount, panAngle, and panPos.
Referenced by ix_dspv_set_pan.
|
friend |
Definition at line 109 of file dspv.cpp.
References aVoices, cursor, IX_DSPV_FILE, ix_dspv_set_position, ix_log_printf(), nVoiceCount, and start.
Referenced by ix_dspv_set_position.
|
friend |
Definition at line 122 of file dspv.cpp.
References aVoices, IX_DSPV_FILE, ix_dspv_recalc_mix, ix_dspv_set_volume, ix_log_printf(), nVoiceCount, and volume.
Referenced by ix_dspv_set_volume.
|
private |
Definition at line 66 of file ix.h.
Referenced by ix_dsps_alloc, ix_dsps_get_buffer_free, ix_dsps_play, ix_dsps_prepare, ix_dspv_get_position, and ix_dspv_set_position.
|
private |
Definition at line 68 of file ix.h.
Referenced by ix_dsps_alloc.
|
private |
Definition at line 69 of file ix.h.
Referenced by ix_dsps_alloc.
|
private |
Definition at line 65 of file ix.h.
Referenced by ix_dsp_set_master_volume, ix_dsps_alloc, ix_dsps_get_buffer_free, ix_dsps_play, ix_dsps_prepare, ix_dsps_set_volume, ix_dsps_stop, ix_dspv_clear_active, ix_dspv_clear_flag4, ix_dspv_get_flags, ix_dspv_set_active, ix_dspv_set_bits_per_sample, ix_dspv_set_channels, and ix_dspv_set_flag4.
|
private |
Definition at line 74 of file ix.h.
Referenced by ix_dsps_alloc, ix_dsps_set_volume, and ix_dspv_recalc_mix.
|
private |
Definition at line 72 of file ix.h.
Referenced by ix_dsps_alloc, ix_dsps_set_volume, and ix_dspv_recalc_mix.
|
private |
Definition at line 76 of file ix.h.
Referenced by ix_dspv_set_pan.
|
private |
Definition at line 77 of file ix.h.
Referenced by ix_dspv_recalc_mix, and ix_dspv_set_pan.
|
private |
Definition at line 70 of file ix.h.
Referenced by ix_dsps_alloc, and ix_dspv_set_frequency.
|
private |
Definition at line 75 of file ix.h.
Referenced by ix_dsps_alloc, ix_dsps_set_volume, and ix_dspv_recalc_mix.
|
private |
Definition at line 73 of file ix.h.
Referenced by ix_dsps_alloc, ix_dsps_set_volume, and ix_dspv_recalc_mix.
|
private |
Definition at line 67 of file ix.h.
Referenced by ix_dsps_alloc, ix_dspv_get_position, and ix_dspv_set_position.
|
private |
Definition at line 71 of file ix.h.
Referenced by ix_dsp_set_master_volume, ix_dsps_alloc, ix_dsps_set_volume, ix_dspv_recalc_mix, and ix_dspv_set_volume.