diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitmath.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitmath.c index 27e25f0..bcf9720 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitmath.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitmath.c @@ -58,6 +58,7 @@ * ilog2(17) = 4 * ilog2(18) = 4 */ +// OFFSET: 0x00957FB0 unsigned FLAC__bitmath_ilog2(FLAC__uint32 v) { unsigned l = 0; diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitreader.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitreader.c index 92ae294..7c76cbd 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitreader.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/bitreader.c @@ -177,6 +177,7 @@ done1: } #endif +// OFFSET: 0x00956410 static FLaC__INLINE void crc16_update_word_(FLAC__BitReader *br, brword word) { register unsigned crc = br->read_crc16; @@ -207,6 +208,7 @@ static FLaC__INLINE void crc16_update_word_(FLAC__BitReader *br, brword word) } /* would be static except it needs to be called by asm routines */ +// OFFSET: 0x009564D0 FLAC__bool bitreader_read_from_client_(void *context, FLAC__BitReader *br) { unsigned start, end; @@ -295,6 +297,7 @@ FLAC__bool bitreader_read_from_client_(void *context, FLAC__BitReader *br) * ***********************************************************************/ +// OFFSET: 0x009565F0 FLAC__BitReader *FLAC__bitreader_new(void) { FLAC__BitReader *br = (FLAC__BitReader*)calloc(1, sizeof(FLAC__BitReader)); @@ -311,6 +314,7 @@ FLAC__BitReader *FLAC__bitreader_new(void) return br; } +// OFFSET: 0x00957320 void FLAC__bitreader_delete(FLAC__BitReader *br) { FLAC__ASSERT(0 != br); @@ -325,6 +329,7 @@ void FLAC__bitreader_delete(FLAC__BitReader *br) * ***********************************************************************/ +// OFFSET: 0x00956600 FLAC__bool FLAC__bitreader_init(void *context, FLAC__BitReader *br, FLAC__CPUInfo cpu, FLAC__BitReaderReadCallback rcb, void *cd) { FLAC__ASSERT(0 != br); @@ -342,6 +347,7 @@ FLAC__bool FLAC__bitreader_init(void *context, FLAC__BitReader *br, FLAC__CPUInf return true; } +// OFFSET: 0x00956650 void FLAC__bitreader_free(FLAC__BitReader *br) { FLAC__ASSERT(0 != br); @@ -356,6 +362,7 @@ void FLAC__bitreader_free(FLAC__BitReader *br) br->client_data = 0; } +// OFFSET: 0x00956690 FLAC__bool FLAC__bitreader_clear(FLAC__BitReader *br) { br->words = br->bytes = 0; @@ -393,6 +400,7 @@ void FLAC__bitreader_dump(const FLAC__BitReader *br, FILE *out) } } +// OFFSET: 0x009566B0 void FLAC__bitreader_reset_read_crc16(FLAC__BitReader *br, FLAC__uint16 seed) { FLAC__ASSERT(0 != br); @@ -403,6 +411,7 @@ void FLAC__bitreader_reset_read_crc16(FLAC__BitReader *br, FLAC__uint16 seed) br->crc16_align = br->consumed_bits; } +// OFFSET: 0x009566D0 FLAC__uint16 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br) { FLAC__ASSERT(0 != br); @@ -419,21 +428,25 @@ FLAC__uint16 FLAC__bitreader_get_read_crc16(FLAC__BitReader *br) return br->read_crc16; } +// OFFSET: 0x00956740 FLaC__INLINE FLAC__bool FLAC__bitreader_is_consumed_byte_aligned(const FLAC__BitReader *br) { return ((br->consumed_bits & 7) == 0); } +// OFFSET: 0x00956760 FLaC__INLINE unsigned FLAC__bitreader_bits_left_for_byte_alignment(const FLAC__BitReader *br) { return 8 - (br->consumed_bits & 7); } +// OFFSET: 0x00956780 FLaC__INLINE unsigned FLAC__bitreader_get_input_bits_unconsumed(const FLAC__BitReader *br) { return (br->words-br->consumed_words)*FLAC__BITS_PER_WORD + br->bytes*8 - br->consumed_bits; } +// OFFSET: 0x009567A0 FLaC__INLINE FLAC__bool FLAC__bitreader_read_raw_uint32(void *context, FLAC__BitReader *br, FLAC__uint32 *val, unsigned bits) { FLAC__ASSERT(0 != br); @@ -513,6 +526,7 @@ FLaC__INLINE FLAC__bool FLAC__bitreader_read_raw_uint32(void *context, FLAC__Bit } } +// OFFSET: 0x00956920 FLAC__bool FLAC__bitreader_read_raw_int32(void *context, FLAC__BitReader *br, FLAC__int32 *val, unsigned bits) { /* OPT: inline raw uint32 code here, or make into a macro if possible in the .h file */ @@ -524,6 +538,7 @@ FLAC__bool FLAC__bitreader_read_raw_int32(void *context, FLAC__BitReader *br, FL return true; } +// OFFSET: 0x00956960 FLAC__bool FLAC__bitreader_read_raw_uint64(void *context, FLAC__BitReader *br, FLAC__uint64 *val, unsigned bits) { FLAC__uint32 hi, lo; @@ -545,6 +560,7 @@ FLAC__bool FLAC__bitreader_read_raw_uint64(void *context, FLAC__BitReader *br, F return true; } +// OFFSET: 0x00956A00 FLaC__INLINE FLAC__bool FLAC__bitreader_read_uint32_little_endian(void *context, FLAC__BitReader *br, FLAC__uint32 *val) { FLAC__uint32 x8, x32 = 0; @@ -570,6 +586,7 @@ FLaC__INLINE FLAC__bool FLAC__bitreader_read_uint32_little_endian(void *context, return true; } +// OFFSET: 0x00957360 FLAC__bool FLAC__bitreader_skip_bits_no_crc(void *context, FLAC__BitReader *br, unsigned bits) { /* @@ -605,6 +622,7 @@ FLAC__bool FLAC__bitreader_skip_bits_no_crc(void *context, FLAC__BitReader *br, return true; } +// OFFSET: 0x00956AA0 FLAC__bool FLAC__bitreader_skip_byte_block_aligned_no_crc(void *context, FLAC__BitReader *br, unsigned nvals) { FLAC__uint32 x; @@ -640,6 +658,7 @@ FLAC__bool FLAC__bitreader_skip_byte_block_aligned_no_crc(void *context, FLAC__B return true; } +// OFFSET: 0x00956B40 FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(void *context, FLAC__BitReader *br, FLAC__byte *val, unsigned nvals) { FLAC__uint32 x; @@ -696,6 +715,7 @@ FLAC__bool FLAC__bitreader_read_byte_block_aligned_no_crc(void *context, FLAC__B return true; } +// OFFSET: 0x00956C10 FLaC__INLINE FLAC__bool FLAC__bitreader_read_unary_unsigned(void *context, FLAC__BitReader *br, unsigned *val) #if 0 /* slow but readable version */ { @@ -806,6 +826,7 @@ FLAC__bool FLAC__bitreader_read_rice_signed(void *context, FLAC__BitReader *br, /* this is by far the most heavily used reader call. it ain't pretty but it's fast */ /* a lot of the logic is copied, then adapted, from FLAC__bitreader_read_unary_unsigned() and FLAC__bitreader_read_raw_uint32() */ +// OFFSET: 0x00956DC0 FLAC__bool FLAC__bitreader_read_rice_signed_block(void *context, FLAC__BitReader *br, int vals[], unsigned nvals, unsigned parameter) /* OPT: possibly faster version for use with MSVC */ #ifdef _MSC_VER @@ -1264,6 +1285,7 @@ FLAC__bool FLAC__bitreader_read_golomb_unsigned(FLAC__BitReader *br, unsigned *v #endif /* UNUSED */ /* on return, if *val == 0xffffffff then the utf-8 sequence was invalid, but the return value will be true */ +// OFFSET: 0x009570A0 FLAC__bool FLAC__bitreader_read_utf8_uint32(void *context, FLAC__BitReader *br, FLAC__uint32 *val, FLAC__byte *raw, unsigned *rawlen) { FLAC__uint32 v = 0; @@ -1319,6 +1341,7 @@ FLAC__bool FLAC__bitreader_read_utf8_uint32(void *context, FLAC__BitReader *br, } /* on return, if *val == 0xffffffffffffffff then the utf-8 sequence was invalid, but the return value will be true */ +// OFFSET: 0x009571D0 FLAC__bool FLAC__bitreader_read_utf8_uint64(void *context, FLAC__BitReader *br, FLAC__uint64 *val, FLAC__byte *raw, unsigned *rawlen) { FLAC__uint64 v = 0; diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/cpu.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/cpu.c index b04807c..18fe79b 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/cpu.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/cpu.c @@ -152,6 +152,7 @@ static const unsigned FLAC__CPUINFO_IA32_CPUID_EXTENDED_AMD_EXTMMX = 0x00400000; #endif +// OFFSET: 0x00958D60 void FLAC__cpu_info(FLAC__CPUInfo *info) { /* diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/crc.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/crc.c index 463ab65..48f9840 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/crc.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/crc.c @@ -121,6 +121,7 @@ void FLAC__crc8_update_block(const FLAC__byte *data, unsigned len, FLAC__uint8 * *crc = FLAC__crc8_table[*crc ^ *data++]; } +// OFFSET: 0x00957E40 FLAC__uint8 FLAC__crc8(const FLAC__byte *data, unsigned len) { FLAC__uint8 crc = 0; diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/fixed.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/fixed.c index f93e59b..0eca852 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/fixed.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/fixed.c @@ -393,6 +393,7 @@ void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, u } } +// OFFSET: 0x00957E70 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]) { int i, idata_len = (int)data_len; diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/format.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/format.c index c07d9eb..34f3891 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/format.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/format.c @@ -559,6 +559,7 @@ unsigned FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_an return max_rice_partition_order; } +// OFFSET: 0x00956350 void FLAC__format_entropy_coding_method_partitioned_rice_contents_init(FLAC__EntropyCodingMethod_PartitionedRiceContents *object) { FLAC__ASSERT(0 != object); @@ -568,6 +569,7 @@ void FLAC__format_entropy_coding_method_partitioned_rice_contents_init(FLAC__Ent object->capacity_by_order = 0; } +// OFFSET: 0x00956370 void FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(FLAC__EntropyCodingMethod_PartitionedRiceContents *object) { FLAC__ASSERT(0 != object); @@ -579,6 +581,7 @@ void FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(FLAC__En FLAC__format_entropy_coding_method_partitioned_rice_contents_init(object); } +// OFFSET: 0x009563B0 FLAC__bool FLAC__format_entropy_coding_method_partitioned_rice_contents_ensure_size(FLAC__EntropyCodingMethod_PartitionedRiceContents *object, unsigned max_partition_order) { FLAC__ASSERT(0 != object); diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/lpc.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/lpc.c index a6df8d4..4bdd2ba 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/lpc.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/lpc.c @@ -792,6 +792,7 @@ void FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *da #endif /* !defined FLAC__INTEGER_ONLY_LIBRARY */ +// OFFSET: 0x00958C80 void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) #if defined(FLAC__OVERFLOW_DETECT) || !defined(FLAC__LPC_UNROLLED_FILTER_LOOPS) { @@ -1058,6 +1059,7 @@ void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, c } #endif +// OFFSET: 0x00958CF0 void FLAC__lpc_restore_signal_wide(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) #if defined(FLAC__OVERFLOW_DETECT) || !defined(FLAC__LPC_UNROLLED_FILTER_LOOPS) { diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/md5.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/md5.c index 0a46422..cc5d1c1 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/md5.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/md5.c @@ -54,6 +54,7 @@ * reflect the addition of 16 longwords of new data. MD5Update blocks * the data and converts bytes into longwords for this routine. */ +// OFFSET: 0x009573E0 static void FLAC__MD5Transform(FLAC__uint32 buf[4], FLAC__uint32 const in[16]) { register FLAC__uint32 a, b, c, d; @@ -139,6 +140,7 @@ static void FLAC__MD5Transform(FLAC__uint32 buf[4], FLAC__uint32 const in[16]) #if WORDS_BIGENDIAN //@@@@@@ OPT: use bswap/intrinsics +// OFFSET: 0x00957A80 static void byteSwap(FLAC__uint32 *buf, unsigned words) { register FLAC__uint32 x; @@ -178,6 +180,7 @@ static void byteSwapX16(FLAC__uint32 *buf) * Update context to reflect the concatenation of another buffer full * of bytes. */ +// OFFSET: 0x00957B10 static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len) { FLAC__uint32 t; @@ -217,6 +220,7 @@ static void FLAC__MD5Update(FLAC__MD5Context *ctx, FLAC__byte const *buf, unsign * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious * initialization constants. */ +// OFFSET: 0x00957AD0 void FLAC__MD5Init(FLAC__MD5Context *ctx) { ctx->buf[0] = 0x67452301; @@ -235,6 +239,7 @@ void FLAC__MD5Init(FLAC__MD5Context *ctx) * Final wrapup - pad to 64-byte boundary with the bit pattern * 1 0* (64-bit count of bits processed, MSB-first) */ +// OFFSET: 0x00957D20 void FLAC__MD5Final(FLAC__byte digest[16], FLAC__MD5Context *ctx) { int count = ctx->bytes[0] & 0x3f; /* Number of bytes in ctx->in */ @@ -395,6 +400,7 @@ static void format_input_(FLAC__byte *buf, const FLAC__int32 * const signal[], u /* * Convert the incoming audio signal to a byte stream and FLAC__MD5Update it. */ +// OFFSET: 0x00957BE0 FLAC__bool FLAC__MD5Accumulate(FLAC__MD5Context *ctx, const FLAC__int32 * const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) { const size_t bytes_needed = (size_t)channels * (size_t)samples * (size_t)bytes_per_sample; diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/memory.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/memory.c index e76a721..53e2d44 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/memory.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/memory.c @@ -71,6 +71,7 @@ void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address) return x; } +// OFFSET: 0x00957DF0 FLAC__bool FLAC__memory_alloc_aligned_int32_array(unsigned elements, FLAC__int32 **unaligned_pointer, FLAC__int32 **aligned_pointer) { FLAC__int32 *pu; /* unaligned pointer */ diff --git a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/stream_decoder.c b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/stream_decoder.c index 09767d2..41fa077 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/stream_decoder.c +++ b/Engine/Source/SoundEngine/fmodex/lib/flac-1.2.1/src/libFLAC/stream_decoder.c @@ -274,6 +274,7 @@ FLAC_API const char * const FLAC__StreamDecoderErrorStatusString[] = { * Class constructor/destructor * ***********************************************************************/ +// OFFSET: 0x00952F70 FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void) { FLAC__StreamDecoder *decoder; @@ -337,6 +338,7 @@ FLAC_API FLAC__StreamDecoder *FLAC__stream_decoder_new(void) return decoder; } +// OFFSET: 0x00954660 FLAC_API void FLAC__stream_decoder_delete(void *context, FLAC__StreamDecoder *decoder) { unsigned i; @@ -367,6 +369,7 @@ FLAC_API void FLAC__stream_decoder_delete(void *context, FLAC__StreamDecoder *de * ***********************************************************************/ +// OFFSET: 0x00954DA0 static FLAC__StreamDecoderInitStatus init_stream_internal_( void *context, FLAC__StreamDecoder *decoder, @@ -480,6 +483,7 @@ static FLAC__StreamDecoderInitStatus init_stream_internal_( return FLAC__STREAM_DECODER_INIT_STATUS_OK; } +// OFFSET: 0x00954F80 FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_stream( void *context, FLAC__StreamDecoder *decoder, @@ -672,6 +676,7 @@ FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_file( return init_file_internal_(context, decoder, filename, write_callback, metadata_callback, error_callback, client_data, /*is_ogg=*/true); } +// OFFSET: 0x00953170 FLAC_API FLAC__bool FLAC__stream_decoder_finish(void *context, FLAC__StreamDecoder *decoder) { FLAC__bool md5_failed = false; @@ -755,6 +760,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_set_ogg_serial_number(FLAC__StreamDecod #endif } +// OFFSET: 0x00951D10 FLAC_API FLAC__bool FLAC__stream_decoder_set_md5_checking(FLAC__StreamDecoder *decoder, FLAC__bool value) { FLAC__ASSERT(0 != decoder); @@ -765,6 +771,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_set_md5_checking(FLAC__StreamDecoder *d return true; } +// OFFSET: 0x00951D30 FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_respond(FLAC__StreamDecoder *decoder, FLAC__MetadataType type) { FLAC__ASSERT(0 != decoder); @@ -881,6 +888,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_set_metadata_ignore_all(FLAC__StreamDec return true; } +// OFFSET: 0x00951D70 FLAC_API FLAC__StreamDecoderState FLAC__stream_decoder_get_state(const FLAC__StreamDecoder *decoder) { FLAC__ASSERT(0 != decoder); @@ -900,6 +908,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_get_md5_checking(const FLAC__StreamDeco return decoder->protected_->md5_checking; } +// OFFSET: 0x00951D80 FLAC_API FLAC__uint64 FLAC__stream_decoder_get_total_samples(const FLAC__StreamDecoder *decoder) { FLAC__ASSERT(0 != decoder); @@ -942,6 +951,7 @@ FLAC_API unsigned FLAC__stream_decoder_get_blocksize(const FLAC__StreamDecoder * return decoder->protected_->blocksize; } +// OFFSET: 0x00953370 FLAC_API FLAC__bool FLAC__stream_decoder_get_decode_position(void *context, const FLAC__StreamDecoder *decoder, FLAC__uint64 *position) { FLAC__ASSERT(0 != decoder); @@ -964,6 +974,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_get_decode_position(void *context, cons return true; } +// OFFSET: 0x00951DB0 FLAC_API FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder) { FLAC__ASSERT(0 != decoder); @@ -987,6 +998,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x00951E30 FLAC_API FLAC__bool FLAC__stream_decoder_reset(FLAC__StreamDecoder *decoder) { FLAC__ASSERT(0 != decoder); @@ -1084,6 +1096,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_process_single(void *context, FLAC__Str } } +// OFFSET: 0x009546E0 FLAC_API FLAC__bool FLAC__stream_decoder_process_until_end_of_metadata(void *context, FLAC__StreamDecoder *decoder) { FLAC__ASSERT(0 != decoder); @@ -1176,6 +1189,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_skip_single_frame(void *context, FLAC__ } } +// OFFSET: 0x00955DC0 FLAC_API FLAC__bool FLAC__stream_decoder_seek_absolute(void *context, FLAC__StreamDecoder *decoder, FLAC__uint64 sample) { FLAC__uint64 length; @@ -1263,6 +1277,7 @@ unsigned FLAC__stream_decoder_get_input_bytes_unconsumed(const FLAC__StreamDecod * ***********************************************************************/ +// OFFSET: 0x00951F30 void set_defaults_(FLAC__StreamDecoder *decoder) { #if FLAC__HAS_OGG @@ -1310,6 +1325,7 @@ FILE *get_binary_stdin_(void) return stdin; } +// OFFSET: 0x00951FB0 FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigned channels) { unsigned i; @@ -1361,6 +1377,7 @@ FLAC__bool allocate_output_(FLAC__StreamDecoder *decoder, unsigned size, unsigne return true; } +// OFFSET: 0x009520E0 FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id) { size_t i; @@ -1375,6 +1392,7 @@ FLAC__bool has_id_filtered_(FLAC__StreamDecoder *decoder, FLAC__byte *id) return false; } +// OFFSET: 0x009533E0 FLAC__bool find_metadata_(void *context, FLAC__StreamDecoder *decoder) { FLAC__uint32 x; @@ -1606,6 +1624,7 @@ FLAC__bool read_metadata_(void *context, FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x009521D0 FLAC__bool read_metadata_streaminfo_(void *context, FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsigned length) { FLAC__uint32 x; @@ -1677,6 +1696,7 @@ FLAC__bool read_metadata_streaminfo_(void *context, FLAC__StreamDecoder *decoder return true; } +// OFFSET: 0x009523C0 FLAC__bool read_metadata_seektable_(void *context, FLAC__StreamDecoder *decoder, FLAC__bool is_last, unsigned length) { FLAC__uint32 i, x; @@ -1719,6 +1739,7 @@ FLAC__bool read_metadata_seektable_(void *context, FLAC__StreamDecoder *decoder, return true; } +// OFFSET: 0x00952560 FLAC__bool read_metadata_vorbiscomment_(void *context, FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_VorbisComment *obj) { FLAC__uint32 i; @@ -1776,6 +1797,7 @@ FLAC__bool read_metadata_vorbiscomment_(void *context, FLAC__StreamDecoder *deco return true; } +// OFFSET: 0x009526E0 FLAC__bool read_metadata_cuesheet_(void *context, FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_CueSheet *obj) { FLAC__uint32 i, j, x; @@ -1859,6 +1881,7 @@ FLAC__bool read_metadata_cuesheet_(void *context, FLAC__StreamDecoder *decoder, return true; } +// OFFSET: 0x00952A00 FLAC__bool read_metadata_picture_(void *context, FLAC__StreamDecoder *decoder, FLAC__StreamMetadata_Picture *obj) { FLAC__uint32 x; @@ -1927,6 +1950,7 @@ FLAC__bool read_metadata_picture_(void *context, FLAC__StreamDecoder *decoder, F return true; } +// OFFSET: 0x00952BD0 FLAC__bool skip_id3v2_tag_(void *context, FLAC__StreamDecoder *decoder) { FLAC__uint32 x; @@ -1949,6 +1973,7 @@ FLAC__bool skip_id3v2_tag_(void *context, FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x00953A80 FLAC__bool frame_sync_(void *context, FLAC__StreamDecoder *decoder) { FLAC__uint32 x; @@ -2004,6 +2029,7 @@ FLAC__bool frame_sync_(void *context, FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x00955200 FLAC__bool read_frame_(void *context, FLAC__StreamDecoder *decoder, FLAC__bool *got_a_frame, FLAC__bool do_full_decode) { unsigned channel; @@ -2149,6 +2175,7 @@ FLAC__bool read_frame_(void *context, FLAC__StreamDecoder *decoder, FLAC__bool * return true; } +// OFFSET: 0x00953BF0 FLAC__bool read_frame_header_(void *context, FLAC__StreamDecoder *decoder) { FLAC__uint32 x; @@ -2458,6 +2485,7 @@ FLAC__bool read_frame_header_(void *context, FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x00954FC0 FLAC__bool read_subframe_(void *context, FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode) { FLAC__uint32 x; @@ -2528,6 +2556,7 @@ FLAC__bool read_subframe_(void *context, FLAC__StreamDecoder *decoder, unsigned return true; } +// OFFSET: 0x00952C50 FLAC__bool read_subframe_constant_(void *context, FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode) { FLAC__Subframe_Constant *subframe = &decoder->private_->frame.subframes[channel].data.constant; @@ -2551,6 +2580,7 @@ FLAC__bool read_subframe_constant_(void *context, FLAC__StreamDecoder *decoder, return true; } +// OFFSET: 0x00954750 FLAC__bool read_subframe_fixed_(void *context, FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode) { FLAC__Subframe_Fixed *subframe = &decoder->private_->frame.subframes[channel].data.fixed; @@ -2608,6 +2638,7 @@ FLAC__bool read_subframe_fixed_(void *context, FLAC__StreamDecoder *decoder, uns return true; } +// OFFSET: 0x00954930 FLAC__bool read_subframe_lpc_(void *context, FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, const unsigned order, FLAC__bool do_full_decode) { FLAC__Subframe_LPC *subframe = &decoder->private_->frame.subframes[channel].data.lpc; @@ -2700,6 +2731,7 @@ FLAC__bool read_subframe_lpc_(void *context, FLAC__StreamDecoder *decoder, unsig return true; } +// OFFSET: 0x00952CD0 FLAC__bool read_subframe_verbatim_(void *context, FLAC__StreamDecoder *decoder, unsigned channel, unsigned bps, FLAC__bool do_full_decode) { FLAC__Subframe_Verbatim *subframe = &decoder->private_->frame.subframes[channel].data.verbatim; @@ -2723,6 +2755,7 @@ FLAC__bool read_subframe_verbatim_(void *context, FLAC__StreamDecoder *decoder, return true; } +// OFFSET: 0x00954390 FLAC__bool read_residual_partitioned_rice_(void *context, FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended) { FLAC__uint32 rice_parameter; @@ -2781,6 +2814,7 @@ FLAC__bool read_residual_partitioned_rice_(void *context, FLAC__StreamDecoder *d return true; } +// OFFSET: 0x00954570 FLAC__bool read_zero_padding_(void *context, FLAC__StreamDecoder *decoder) { if(!FLAC__bitreader_is_consumed_byte_aligned(decoder->private_->input)) { @@ -2795,6 +2829,7 @@ FLAC__bool read_zero_padding_(void *context, FLAC__StreamDecoder *decoder) return true; } +// OFFSET: 0x00954CB0 FLAC__bool read_callback_(void *context, FLAC__byte buffer[], size_t *bytes, void *client_data) { FLAC__StreamDecoder *decoder = (FLAC__StreamDecoder *)client_data; @@ -2876,6 +2911,7 @@ FLAC__bool read_callback_(void *context, FLAC__byte buffer[], size_t *bytes, voi } #if FLAC__HAS_OGG +// OFFSET: 0x009545F0 FLAC__StreamDecoderReadStatus read_callback_ogg_aspect_(void *context, const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes) { switch(FLAC__ogg_decoder_aspect_read_callback_wrapper(context, &decoder->protected_->ogg_decoder_aspect, buffer, bytes, read_callback_proxy_, decoder, decoder->private_->client_data)) { @@ -2902,6 +2938,7 @@ FLAC__StreamDecoderReadStatus read_callback_ogg_aspect_(void *context, const FLA } } +// OFFSET: 0x00952D80 FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) { FLAC__StreamDecoder *decoder = (FLAC__StreamDecoder*)void_decoder; @@ -2921,6 +2958,7 @@ FLAC__OggDecoderAspectReadStatus read_callback_proxy_(const void *void_decoder, } #endif +// OFFSET: 0x00952DC0 FLAC__StreamDecoderWriteStatus write_audio_frame_to_client_(FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[]) { if(decoder->private_->is_seeking) { @@ -2981,6 +3019,7 @@ void send_error_to_client_(const FLAC__StreamDecoder *decoder, FLAC__StreamDecod decoder->private_->unparseable_frame_count++; } +// OFFSET: 0x009555C0 FLAC__bool seek_to_absolute_sample_(void *context, FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) { FLAC__uint64 first_frame_offset = decoder->private_->first_frame_offset, lower_bound, upper_bound, lower_bound_sample, upper_bound_sample, this_frame_sample; @@ -3196,6 +3235,7 @@ FLAC__bool seek_to_absolute_sample_(void *context, FLAC__StreamDecoder *decoder, } #if FLAC__HAS_OGG +// OFFSET: 0x00955B60 FLAC__bool seek_to_absolute_sample_ogg_(void *context, FLAC__StreamDecoder *decoder, FLAC__uint64 stream_length, FLAC__uint64 target_sample) { FLAC__uint64 left_pos = 0, right_pos = stream_length; diff --git a/Engine/Source/SoundEngine/fmodex/lib/freeverb/allpass.cpp b/Engine/Source/SoundEngine/fmodex/lib/freeverb/allpass.cpp index 850337e..c9b2065 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/freeverb/allpass.cpp +++ b/Engine/Source/SoundEngine/fmodex/lib/freeverb/allpass.cpp @@ -6,23 +6,27 @@ #include "allpass.h" +// OFFSET: 0x00945150 allpass::allpass() { bufidx = 0; } +// OFFSET: 0x00945160 void allpass::setbuffer(float *buf, int size) { buffer = buf; bufsize = size; } +// OFFSET: 0x00945180 void allpass::mute() { for (int i=0; i= freezemode) diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/bitwise.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/bitwise.c index 9dfa261..dcf0942 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/bitwise.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/bitwise.c @@ -44,6 +44,7 @@ void FMOD_oggpackB_reset(oggpack_buffer *b){ FMOD_oggpack_reset(b); } +// OFFSET: 0x00473240 void FMOD_oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){ FMOD_memset(b,0,sizeof(*b)); b->buffer=b->ptr=buf; @@ -55,6 +56,7 @@ void FMOD_oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){ } /* Read in bits without advancing the bitptr; bits <= 32 */ +// OFFSET: 0x00473260 ogg_int32_t FMOD_oggpack_look(oggpack_buffer *b,int bits){ ogg_uint32_t ret; ogg_uint32_t m=mask[bits]; @@ -118,6 +120,7 @@ ogg_int32_t FMOD_oggpackB_look1(oggpack_buffer *b){ return((b->ptr[0]>>(7-b->endbit))&1); } +// OFFSET: 0x00473310 void FMOD_oggpack_adv(oggpack_buffer *b,int bits){ bits+=b->endbit; b->ptr+=bits/8; @@ -142,6 +145,7 @@ void FMOD_oggpackB_adv1(oggpack_buffer *b){ } /* bits <= 32 */ +// OFFSET: 0x00473340 ogg_int32_t FMOD_oggpack_read(oggpack_buffer *b,int bits){ ogg_int32_t ret; ogg_uint32_t m=mask[bits]; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/framing.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/framing.c index 0573d83..d6626bc 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/framing.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/ogg/src/framing.c @@ -30,18 +30,22 @@ int FMOD_ogg_page_version(const ogg_page *og){ return((int)(og->header[4])); } +// OFFSET: 0x00472600 int FMOD_ogg_page_continued(const ogg_page *og){ return((int)(og->header[5]&0x01)); } +// OFFSET: 0x00472620 int FMOD_ogg_page_bos(const ogg_page *og){ return((int)(og->header[5]&0x02)); } +// OFFSET: 0x00472640 int FMOD_ogg_page_eos(const ogg_page *og){ return((int)(og->header[5]&0x04)); } +// OFFSET: 0x00472660 ogg_int64_t FMOD_ogg_page_granulepos(const ogg_page *og){ unsigned char *page=og->header; ogg_int64_t granulepos=page[13]&(0xff); @@ -55,6 +59,7 @@ ogg_int64_t FMOD_ogg_page_granulepos(const ogg_page *og){ return(granulepos); } +// OFFSET: 0x004726F0 int FMOD_ogg_page_serialno(const ogg_page *og){ return(og->header[14] | (og->header[15]<<8) | @@ -163,6 +168,7 @@ static const ogg_uint32_t crc_lookup[256]={ /* init the encode/decode logical stream state */ +// OFFSET: 0x00472720 int FMOD_ogg_stream_init(void *context, ogg_stream_state *os,int serialno){ if(os){ FMOD_memset(os,0,sizeof(*os)); @@ -198,6 +204,7 @@ int FMOD_ogg_stream_check(ogg_stream_state *os){ } /* _clear does not free os, only the non-flat storage within */ +// OFFSET: 0x004727C0 int FMOD_ogg_stream_clear(void *context, ogg_stream_state *os){ if(os){ if(os->body_data)_ogg_free(os->body_data); @@ -235,6 +242,7 @@ static int _os_body_expand(void *context, ogg_stream_state *os,int needed){ return 0; } +// OFFSET: 0x00472830 static int _os_lacing_expand(void *context, ogg_stream_state *os,int needed){ if(os->lacing_storage<=os->lacing_fill+needed){ void *ret; @@ -261,6 +269,7 @@ static int _os_lacing_expand(void *context, ogg_stream_state *os,int needed){ /* Direct table CRC; note that this will be faster in the future if we perform the checksum silmultaneously with other copies */ +// OFFSET: 0x00472890 void FMOD_ogg_page_checksum_set(ogg_page *og){ if(og){ ogg_uint32_t crc_reg=0; @@ -515,6 +524,7 @@ int FMOD_ogg_stream_eos(ogg_stream_state *os){ ogg_stream_state. */ /* initialize the struct to a known state */ +// OFFSET: 0x00472930 int FMOD_ogg_sync_init(ogg_sync_state *oy){ if(oy){ oy->storage = -1; /* used as a readiness flag */ @@ -524,6 +534,7 @@ int FMOD_ogg_sync_init(ogg_sync_state *oy){ } /* clear non-flat storage within */ +// OFFSET: 0x00472960 int FMOD_ogg_sync_clear(void *context, ogg_sync_state *oy){ if(oy){ if(oy->data)_ogg_free(oy->data); @@ -545,6 +556,7 @@ int FMOD_ogg_sync_check(ogg_sync_state *oy){ return 0; } +// OFFSET: 0x004729A0 char *FMOD_ogg_sync_buffer(void *context, ogg_sync_state *oy, ogg_int32_t size){ if(FMOD_ogg_sync_check(oy)) return NULL; @@ -578,6 +590,7 @@ char *FMOD_ogg_sync_buffer(void *context, ogg_sync_state *oy, ogg_int32_t size){ return((char *)oy->data+oy->fill); } +// OFFSET: 0x00472A30 int FMOD_ogg_sync_wrote(ogg_sync_state *oy, ogg_int32_t bytes){ if(FMOD_ogg_sync_check(oy))return -1; if(oy->fill+bytes>oy->storage)return -1; @@ -595,6 +608,7 @@ int FMOD_ogg_sync_wrote(ogg_sync_state *oy, ogg_int32_t bytes){ */ +// OFFSET: 0x00472A50 ogg_int32_t FMOD_ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og){ unsigned char *page=oy->data+oy->returned; unsigned char *next; @@ -693,6 +707,7 @@ ogg_int32_t FMOD_ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og){ Returns pointers into buffered data; invalidated by next call to _stream, _clear, _init, or _buffer */ +// OFFSET: 0x00472CD0 int FMOD_ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og){ if(FMOD_ogg_sync_check(oy))return 0; @@ -726,6 +741,7 @@ int FMOD_ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og){ /* add the incoming page to the stream state; we decompose the page into packet segments here as well. */ +// OFFSET: 0x00472D20 int FMOD_ogg_stream_pagein(void *context, ogg_stream_state *os, ogg_page *og){ unsigned char *header=og->header; unsigned char *body=og->body; @@ -855,6 +871,7 @@ int FMOD_ogg_stream_pagein(void *context, ogg_stream_state *os, ogg_page *og){ } /* clear things to an initial state. Good to call, eg, before seeking */ +// OFFSET: 0x00473010 int FMOD_ogg_sync_reset(ogg_sync_state *oy){ if(FMOD_ogg_sync_check(oy))return -1; @@ -866,6 +883,7 @@ int FMOD_ogg_sync_reset(ogg_sync_state *oy){ return(0); } +// OFFSET: 0x00473030 int FMOD_ogg_stream_reset(ogg_stream_state *os){ if(FMOD_ogg_stream_check(os)) return -1; @@ -887,6 +905,7 @@ int FMOD_ogg_stream_reset(ogg_stream_state *os){ return(0); } +// OFFSET: 0x00473080 int FMOD_ogg_stream_reset_serialno(ogg_stream_state *os,int serialno){ if(FMOD_ogg_stream_check(os)) return -1; FMOD_ogg_stream_reset(os); @@ -894,6 +913,7 @@ int FMOD_ogg_stream_reset_serialno(ogg_stream_state *os,int serialno){ return(0); } +// OFFSET: 0x004730E0 static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){ /* The last part of decode. We have the stream broken into packet @@ -948,11 +968,13 @@ static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){ return(1); } +// OFFSET: 0x00473200 int FMOD_ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op){ if(FMOD_ogg_stream_check(os)) return 0; return _packetout(os,op,1); } +// OFFSET: 0x00473220 int FMOD_ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op){ if(FMOD_ogg_stream_check(os)) return 0; return _packetout(os,op,0); diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/block.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/block.c index b74e68e..210f6aa 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/block.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/block.c @@ -85,6 +85,7 @@ static int ilog2(unsigned int v){ #define WORD_ALIGN 8 #endif +// OFFSET: 0x0046CE10 int FMOD_vorbis_block_init(void *context, vorbis_dsp_state *v, vorbis_block *vb){ int i = 0; FMOD_memset(vb,0,sizeof(*vb)); @@ -118,6 +119,7 @@ int FMOD_vorbis_block_init(void *context, vorbis_dsp_state *v, vorbis_block *vb) return(0); } +// OFFSET: 0x0046CE40 void *_FMOD_vorbis_block_alloc(void *context, vorbis_block *vb,ogg_int32_t bytes){ bytes=(bytes+(WORD_ALIGN-1)) & ~(WORD_ALIGN-1); if(bytes+vb->localtop>vb->localalloc){ @@ -150,6 +152,7 @@ void *_FMOD_vorbis_block_alloc(void *context, vorbis_block *vb,ogg_int32_t bytes } /* reap the chain, pull the ripcord */ +// OFFSET: 0x0046CED0 int _FMOD_vorbis_block_ripcord(void *context, vorbis_block *vb){ int ret = 0; /* reap the chain */ @@ -176,6 +179,7 @@ int _FMOD_vorbis_block_ripcord(void *context, vorbis_block *vb){ return ret; } +// OFFSET: 0x0046CF60 int FMOD_vorbis_block_clear(void *context, vorbis_block *vb){ // int i; // vorbis_block_internal *vbi=vb->internal; @@ -205,6 +209,7 @@ int FMOD_vorbis_block_clear(void *context, vorbis_block *vb){ here and not in analysis.c (which is for analysis transforms only). The init is here because some of it is shared */ +// OFFSET: 0x0046CFA0 static int _vds_shared_init(void *context, vorbis_dsp_state *v,vorbis_info *vi,int encp){ int i; codec_setup_info *ci=vi->codec_setup; @@ -380,6 +385,7 @@ static int _vds_shared_init(void *context, vorbis_dsp_state *v,vorbis_info *vi,i // return(0); //} +// OFFSET: 0x0046D310 void FMOD_vorbis_dsp_clear(void *context, vorbis_dsp_state *v){ int i; if(v){ @@ -757,6 +763,7 @@ void FMOD_vorbis_dsp_clear(void *context, vorbis_dsp_state *v){ // return(1); //} +// OFFSET: 0x0046D5F0 int FMOD_vorbis_synthesis_restart(vorbis_dsp_state *v){ vorbis_info *vi=v->vi; codec_setup_info *ci; @@ -780,6 +787,7 @@ int FMOD_vorbis_synthesis_restart(vorbis_dsp_state *v){ return(0); } +// OFFSET: 0x0046D650 int FMOD_vorbis_synthesis_init(void *context, vorbis_dsp_state *v,vorbis_info *vi){ int ret = _vds_shared_init(context, v,vi,0); @@ -795,6 +803,7 @@ int FMOD_vorbis_synthesis_init(void *context, vorbis_dsp_state *v,vorbis_info *v block. The time domain envelope is not yet handled at the point of calling (as it relies on the previous block). */ +// OFFSET: 0x0046D680 int FMOD_vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb){ vorbis_info *vi=v->vi; codec_setup_info *ci=vi->codec_setup; @@ -982,6 +991,7 @@ int FMOD_vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb){ } /* pcm==NULL indicates we just want the pending samples, no more */ +// OFFSET: 0x0046DFE0 int FMOD_vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm){ vorbis_info *vi=v->vi; @@ -997,6 +1007,7 @@ int FMOD_vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm){ return(0); } +// OFFSET: 0x0046E040 int FMOD_vorbis_synthesis_read(vorbis_dsp_state *v,int n){ if(n && v->pcm_returned+n>v->pcm_current)return(OV_EINVAL); v->pcm_returned+=n; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/codebook.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/codebook.c index 4a892b7..141b4c2 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/codebook.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/codebook.c @@ -147,6 +147,7 @@ int vorbis_staticbook_pack(const static_codebook *c,oggpack_buffer *opb){ /* unpacks a codebook from the packet buffer into the codebook struct, readies the codebook auxiliary structures for decode *************/ +// OFFSET: 0x0046ED10 int FMOD_vorbis_staticbook_unpack(void *context, oggpack_buffer *opb,static_codebook *s){ ogg_int32_t i,j; int err = -1; @@ -321,6 +322,7 @@ int FMOD_vorbis_book_encodev(codebook *book,int best,float *a,oggpack_buffer *b) be. The first-stage decode table catches most words so that bitreverse is not in the main execution path. */ +// OFFSET: 0x0046EFC0 static ogg_uint32_t bitreverse(ogg_uint32_t x){ x= ((x>>16)&0x0000ffff) | ((x<<16)&0xffff0000); x= ((x>> 8)&0x00ff00ff) | ((x<< 8)&0xff00ff00); @@ -329,6 +331,7 @@ static ogg_uint32_t bitreverse(ogg_uint32_t x){ return((x>> 1)&0x55555555) | ((x<< 1)&0xaaaaaaaa); } +// OFFSET: 0x0046F020 STIN ogg_int32_t decode_packed_entry_number(codebook *book, oggpack_buffer *b){ int read=book->dec_maxlength; ogg_int32_t lo,hi; @@ -391,6 +394,7 @@ STIN ogg_int32_t decode_packed_entry_number(codebook *book, oggpack_buffer *b){ addmul==2 -> multiplicitive */ /* returns the [original, not compacted] entry number or -1 on eof *********/ +// OFFSET: 0x0046F150 ogg_int32_t FMOD_vorbis_book_decode(codebook *book, oggpack_buffer *b){ if(book->used_entries>0){ ogg_int32_t packed_entry=decode_packed_entry_number(book,b); @@ -403,6 +407,7 @@ ogg_int32_t FMOD_vorbis_book_decode(codebook *book, oggpack_buffer *b){ } /* returns 0 on OK or -1 on eof *************************************/ +// OFFSET: 0x0046F180 ogg_int32_t FMOD_vorbis_book_decodevs_add(codebook *book,float *a,oggpack_buffer *b,int n){ if(book->used_entries>0){ int step=n/book->dim; @@ -422,6 +427,7 @@ ogg_int32_t FMOD_vorbis_book_decodevs_add(codebook *book,float *a,oggpack_buffer return(0); } +// OFFSET: 0x0046F2F0 ogg_int32_t FMOD_vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer *b,int n){ if(book->used_entries>0){ int i,j,entry; @@ -467,6 +473,7 @@ ogg_int32_t FMOD_vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer return(0); } +// OFFSET: 0x0046F460 ogg_int32_t FMOD_vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer *b,int n){ if(book->used_entries>0){ int i,j,entry; @@ -490,6 +497,7 @@ ogg_int32_t FMOD_vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer return(0); } +// OFFSET: 0x0046F500 ogg_int32_t FMOD_vorbis_book_decodevv_add(codebook *book,float **a,ogg_int32_t offset,int ch, oggpack_buffer *b,int n){ diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/floor1.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/floor1.c index c62f992..865d184 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/floor1.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/floor1.c @@ -358,6 +358,7 @@ static const float FLOOR1_fromdB_LOOKUP[256]={ 0.82788260F, 0.88168307F, 0.9389798F, 1.F, }; +// OFFSET: 0x004718C0 static void render_line(int n, int x0,int x1,int y0,int y1,float *d){ int dy=y1-y0; int adx=x1-x0; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/info.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/info.c index dc2c049..c456a88 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/info.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/info.c @@ -64,12 +64,14 @@ static void _v_writestring(oggpack_buffer *o,const char *s, int bytes){ } #endif +// OFFSET: 0x0046C090 static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){ while(bytes--){ *buf++=(char)FMOD_oggpack_read(o,8); } } +// OFFSET: 0x0046C0C0 void FMOD_vorbis_comment_init(vorbis_comment *vc){ FMOD_memset(vc,0,sizeof(*vc)); } @@ -142,6 +144,7 @@ static int tagcompare(const char *s1, const char *s2, int n){ // return count; //} +// OFFSET: 0x0046C0E0 void FMOD_vorbis_comment_clear(void *context, vorbis_comment *vc){ if(vc){ ogg_int32_t i; @@ -158,12 +161,14 @@ void FMOD_vorbis_comment_clear(void *context, vorbis_comment *vc){ /* blocksize 0 is guaranteed to be short, 1 is guaranteed to be long. They may be equal, but short will never ge greater than long */ +// OFFSET: 0x0046C180 int FMOD_vorbis_info_blocksize(vorbis_info *vi,int zo){ codec_setup_info *ci = vi->codec_setup; return ci ? ci->blocksizes[zo] : -1; } /* used by synthesis, which has a full, alloced vi */ +// OFFSET: 0x0046C1A0 int FMOD_vorbis_info_init(void *context, vorbis_info *vi){ FMOD_memset(vi,0,sizeof(*vi)); vi->codec_setup=_ogg_calloc(1,sizeof(codec_setup_info)); @@ -175,6 +180,7 @@ int FMOD_vorbis_info_init(void *context, vorbis_info *vi){ return 0; } +// OFFSET: 0x0046C1F0 void FMOD_vorbis_info_clear(void *context, vorbis_info *vi){ codec_setup_info *ci=vi->codec_setup; int i; @@ -224,6 +230,7 @@ void FMOD_vorbis_info_clear(void *context, vorbis_info *vi){ /* Header packing/unpacking ********************************************/ +// OFFSET: 0x0046C3A0 static int _FMOD_vorbis_unpack_info(void *context, vorbis_info *vi,oggpack_buffer *opb){ codec_setup_info *ci=vi->codec_setup; if(!ci)return(OV_EFAULT); @@ -255,6 +262,7 @@ static int _FMOD_vorbis_unpack_info(void *context, vorbis_info *vi,oggpack_buffe return(OV_EBADHEADER); } +// OFFSET: 0x0046C470 static int _vorbis_unpack_comment(void *context, vorbis_comment *vc,oggpack_buffer *opb){ int i,err = OV_EBADHEADER; int vendorlen=FMOD_oggpack_read(opb,32); @@ -309,6 +317,7 @@ static int _vorbis_unpack_comment(void *context, vorbis_comment *vc,oggpack_buff /* all of the real encoding details are here. The modes, books, everything */ +// OFFSET: 0x0046C5A0 static int _vorbis_unpack_books(void *context, vorbis_info *vi,oggpack_buffer *opb){ codec_setup_info *ci=vi->codec_setup; int i,err = OV_EBADHEADER; @@ -408,6 +417,7 @@ static int _vorbis_unpack_books(void *context, vorbis_info *vi,oggpack_buffer *o } /* Is this packet a vorbis ID header? */ +// OFFSET: 0x0046C890 int FMOD_vorbis_synthesis_idheader(ogg_packet *op){ oggpack_buffer opb; char buffer[6]; @@ -437,6 +447,7 @@ int FMOD_vorbis_synthesis_idheader(ogg_packet *op){ with bitstream comments and a third packet that holds the codebook. */ +// OFFSET: 0x0046C9B0 int FMOD_vorbis_synthesis_headerin(void *context, vorbis_info *vi,vorbis_comment *vc,ogg_packet *op){ oggpack_buffer opb; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/lsp.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/lsp.c index 190a776..e716697 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/lsp.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/lsp.c @@ -245,6 +245,7 @@ void FMOD_vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int fraction of a dB precision */ /* side effect: changes *lsp to cosines of lsp */ +// OFFSET: 0x004723F0 void FMOD_vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m, float amp,float ampoffset){ int i; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/mdct.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/mdct.c index 21e7beb..f9066dc 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/mdct.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/mdct.c @@ -49,6 +49,7 @@ /* build lookups for trig functions; also pre-figure scaling and some window function algebra. */ +// OFFSET: 0x0046F5A0 int FMOD_mdct_init(void *context, mdct_lookup *lookup,int n){ int *bitrev=_ogg_malloc(sizeof(*bitrev)*(n/4)); DATA_TYPE *T=_ogg_malloc(sizeof(*T)*(n+n/4)); @@ -98,6 +99,7 @@ int FMOD_mdct_init(void *context, mdct_lookup *lookup,int n){ } /* 8 point butterfly (in place, 4 register) */ +// OFFSET: 0x0046F790 STIN void mdct_butterfly_8(DATA_TYPE *x){ REG_TYPE r0 = x[6] + x[2]; REG_TYPE r1 = x[6] - x[2]; @@ -122,6 +124,7 @@ STIN void mdct_butterfly_8(DATA_TYPE *x){ } /* 16 point butterfly (in place, 4 register) */ +// OFFSET: 0x0046F800 STIN void mdct_butterfly_16(DATA_TYPE *x){ REG_TYPE r0 = x[1] - x[9]; REG_TYPE r1 = x[0] - x[8]; @@ -157,6 +160,7 @@ STIN void mdct_butterfly_16(DATA_TYPE *x){ } /* 32 point butterfly (in place, 4 register) */ +// OFFSET: 0x0046F8C0 STIN void mdct_butterfly_32(DATA_TYPE *x){ REG_TYPE r0 = x[30] - x[14]; REG_TYPE r1 = x[31] - x[15]; @@ -221,6 +225,7 @@ STIN void mdct_butterfly_32(DATA_TYPE *x){ } /* N point first stage butterfly (in place, 2 register) */ +// OFFSET: 0x0046FA70 STIN void mdct_butterfly_first(DATA_TYPE *T, DATA_TYPE *x, int points){ @@ -268,6 +273,7 @@ STIN void mdct_butterfly_first(DATA_TYPE *T, } /* N/stage point generic N stage butterfly (in place, 2 register) */ +// OFFSET: 0x0046FB80 STIN void mdct_butterfly_generic(DATA_TYPE *T, DATA_TYPE *x, int points, @@ -321,6 +327,7 @@ STIN void mdct_butterfly_generic(DATA_TYPE *T, }while(x2>=x); } +// OFFSET: 0x0046FCA0 STIN void mdct_butterflies(mdct_lookup *init, DATA_TYPE *x, int points){ @@ -343,6 +350,7 @@ STIN void mdct_butterflies(mdct_lookup *init, } +// OFFSET: 0x0046FD60 void FMOD_mdct_clear(void *context, mdct_lookup *l){ if(l){ if(l->trig)_ogg_free(l->trig); @@ -351,6 +359,7 @@ void FMOD_mdct_clear(void *context, mdct_lookup *l){ } } +// OFFSET: 0x0046FDC0 STIN void mdct_bitreverse(mdct_lookup *init, DATA_TYPE *x){ int n = init->n; @@ -401,6 +410,7 @@ STIN void mdct_bitreverse(mdct_lookup *init, }while(w0n; int n2=n>>1; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/res0.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/res0.c index 71897b7..21e9a10 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/res0.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/res0.c @@ -673,6 +673,7 @@ static int _01forward(oggpack_buffer *opb, #endif /* a truncated packet here just means 'stop working'; it's not an error */ +// OFFSET: 0x00470F70 static int _FMOD_01inverse(void *context, vorbis_block *vb,vorbis_look_residue *vl, float **in,int ch, ogg_int32_t (*decodepart)(codebook *, float *, diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/sharedbook.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/sharedbook.c index 03dd3a9..6c49bc2 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/sharedbook.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/sharedbook.c @@ -26,6 +26,7 @@ #include "scales.h" /**** pack/unpack helpers ******************************************/ +// OFFSET: 0x0046E200 int _FMOD_ilog(unsigned int v){ int ret=0; while(v){ @@ -70,6 +71,7 @@ float _FMOD_float32_unpack(ogg_int32_t val){ /* given a list of word lengths, generate a list of codewords. Works for length ordered or unordered, always assigns the lowest valued codewords first. Extended to handle unused entries (length 0) */ +// OFFSET: 0x0046E220 ogg_uint32_t *_FMOD_make_words(void *context, ogg_int32_t *l,ogg_int32_t n,ogg_int32_t sparsecount){ ogg_int32_t i,j,count=0; ogg_uint32_t marker[33]; @@ -164,6 +166,7 @@ ogg_uint32_t *_FMOD_make_words(void *context, ogg_int32_t *l,ogg_int32_t n,ogg_i /* there might be a straightforward one-line way to do the below that's portable and totally safe against roundoff, but I haven't thought of it. Therefore, we opt on the side of caution */ +// OFFSET: 0x0046E3B0 ogg_int32_t _FMOD_book_maptype1_quantvals(const static_codebook *b){ ogg_int32_t vals=(ogg_int32_t)FMOD_ogg_floor(FMOD_ogg_pow((float)b->entries,1.f/b->dim)); @@ -197,6 +200,7 @@ ogg_int32_t _FMOD_book_maptype1_quantvals(const static_codebook *b){ generated algorithmically (each column of the vector counts through the values in the quant vector). in map type 2, all the values came in in an explicit list. Both value lists must be unpacked */ +// OFFSET: 0x0046E430 float *_FMOD_book_unquantize(void *context, const static_codebook *b,int n,int *sparsemap){ ogg_int32_t j,k,count=0; if(b->maptype==1 || b->maptype==2){ @@ -266,6 +270,7 @@ float *_FMOD_book_unquantize(void *context, const static_codebook *b,int n,int * return(NULL); } +// OFFSET: 0x0046E670 void FMOD_vorbis_staticbook_clear(void *context, static_codebook *b){ if(b->allocedp){ if(b->quantlist)_ogg_free(b->quantlist); @@ -289,6 +294,7 @@ void FMOD_vorbis_staticbook_clear(void *context, static_codebook *b){ } } +// OFFSET: 0x0046E6D0 void FMOD_vorbis_staticbook_destroy(void *context, static_codebook *b){ if(b->allocedp){ FMOD_vorbis_staticbook_clear(context, b); @@ -296,6 +302,7 @@ void FMOD_vorbis_staticbook_destroy(void *context, static_codebook *b){ } } +// OFFSET: 0x0046E700 void FMOD_vorbis_book_clear(void *context, codebook *b){ /* static book is not cleared; we're likely called on the lookup and the static codebook belongs to the info struct */ @@ -332,12 +339,14 @@ static ogg_uint32_t bitreverse(ogg_uint32_t x){ return((x>> 1)&0x55555555) | ((x<< 1)&0xaaaaaaaa); } +// OFFSET: 0x0046E7A0 static int sort32a(const void *a,const void *b){ return ( **(ogg_uint32_t **)a>**(ogg_uint32_t **)b)- ( **(ogg_uint32_t **)a<**(ogg_uint32_t **)b); } /* decode codebook arrangement is more heavily optimized than encode */ +// OFFSET: 0x0046E7D0 int FMOD_vorbis_book_init_decode(void *context, codebook *c,const static_codebook *s){ int i,j,n=0,tabn; int *sortindex; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/smallft.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/smallft.c index a6a96f2..bcb52a1 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/smallft.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/smallft.c @@ -1246,6 +1246,7 @@ void drft_init(void *context, drft_lookup *l,int n){ fdrffti(n, l->trigcache, l->splitcache); } +// OFFSET: 0x00470120 void drft_clear(void *context, drft_lookup *l){ if(l){ if(l->trigcache)_ogg_free(l->trigcache); diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/synthesis.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/synthesis.c index d637f07..17fb3df 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/synthesis.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/synthesis.c @@ -23,6 +23,7 @@ #include "misc.h" #include "os.h" +// OFFSET: 0x0046CB40 int FMOD_vorbis_synthesis(void *context, vorbis_block *vb,ogg_packet *op){ vorbis_dsp_state *vd=vb->vd; private_state *b=vd->backend_state; @@ -95,6 +96,7 @@ int FMOD_vorbis_synthesis(void *context, vorbis_block *vb,ogg_packet *op){ /* used to track pcm position without actually performing decode. Useful for sequential 'fast forward' */ +// OFFSET: 0x0046CCB0 int FMOD_vorbis_synthesis_trackonly(void *context, vorbis_block *vb,ogg_packet *op){ vorbis_dsp_state *vd=vb->vd; private_state *b=vd->backend_state; @@ -145,6 +147,7 @@ int FMOD_vorbis_synthesis_trackonly(void *context, vorbis_block *vb,ogg_packet * return(0); } +// OFFSET: 0x0046CD90 ogg_int32_t FMOD_vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op){ codec_setup_info *ci=vi->codec_setup; oggpack_buffer opb; diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/vorbisfile.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/vorbisfile.c index 90116b8..450a5e5 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/vorbisfile.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/vorbisfile.c @@ -68,6 +68,7 @@ #define CHUNKSIZE 8500 +// OFFSET: 0x00469AB0 static ogg_int32_t _get_data(void *context, OggVorbis_File *vf){ #ifndef SN_TARGET_PS3 errno=0; @@ -92,6 +93,7 @@ static ogg_int32_t _get_data(void *context, OggVorbis_File *vf){ } /* save a tiny smidge of verbosity to make the code more readable */ +// OFFSET: 0x00469B20 static int _seek_helper(OggVorbis_File *vf,ogg_int64_t offset){ if(vf->datasource){ if(!(vf->callbacks.seek_func)|| @@ -119,6 +121,7 @@ static int _seek_helper(OggVorbis_File *vf,ogg_int64_t offset){ return: <0) did not find a page (OV_FALSE, OV_EOF, OV_EREAD) n) found a page at absolute offset n */ +// OFFSET: 0x00469B80 static ogg_int64_t _get_next_page(void *context, OggVorbis_File *vf,ogg_page *og, ogg_int64_t boundary){ if(boundary>0)boundary+=vf->offset; @@ -158,6 +161,7 @@ static ogg_int64_t _get_next_page(void *context, OggVorbis_File *vf,ogg_page *og backward search linkage. no 'readp' as it will certainly have to read. */ /* returns offset or OV_EREAD, OV_FAULT */ +// OFFSET: 0x00469C30 static ogg_int64_t _get_prev_page(void *context, OggVorbis_File *vf,ogg_page *og){ ogg_int64_t begin=vf->offset; ogg_int64_t end=begin; @@ -306,6 +310,7 @@ static ogg_int64_t _get_prev_page_serial(void *context, OggVorbis_File *vf, /* uses the local ogg_stream storage in vf; this is important for non-streaming input sources */ +// OFFSET: 0x0046A170 static int _fetch_headers(void *context, OggVorbis_File *vf,vorbis_info *vi,vorbis_comment *vc, ogg_int32_t **serialno_list, int *serialno_n, ogg_page *og_ptr){ @@ -502,6 +507,7 @@ static ogg_int64_t _initial_pcmoffset(void *context, OggVorbis_File *vf, vorbis_ (has to begin by knowing the offset of the lb's initial page). Recurses for each link so it can alloc the link storage after finding them all, then unroll and fill the cache at the same time */ +// OFFSET: 0x00469ED0 static int _bisect_forward_serialno(void *context, OggVorbis_File *vf, ogg_int64_t begin, @@ -640,6 +646,7 @@ static int _bisect_forward_serialno(void *context, return(0); } +// OFFSET: 0x0046A7A0 static int _make_decode_ready(void *context, OggVorbis_File *vf){ if(vf->ready_state>STREAMSET)return 0; if(vf->ready_statedataoffsets[0],end,endgran=-1; int endserial=vf->os.serialno; @@ -712,6 +720,7 @@ static int _open_seekable2(void *context, OggVorbis_File *vf){ } /* clear out the current logical bitstream decoder */ +// OFFSET: 0x0046A810 static void _decode_clear(void *context, OggVorbis_File *vf){ FMOD_vorbis_dsp_clear(context, &vf->vd); FMOD_vorbis_block_clear(context, &vf->vb); @@ -729,6 +738,7 @@ static void _decode_clear(void *context, OggVorbis_File *vf){ 1) got a packet */ +// OFFSET: 0x0046A840 static int _fetch_and_process_packet(void *context, OggVorbis_File *vf, ogg_packet *op_in, int readp, @@ -935,6 +945,7 @@ static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){ return fseek(f,(int)off,whence); } +// OFFSET: 0x0046BEC0 static int _ov_open1(void *context, void *f,OggVorbis_File *vf,char *initial, ogg_int32_t ibytes, ov_callbacks callbacks){ int offsettest=((f && callbacks.seek_func)?callbacks.seek_func(f,0,SEEK_CUR):-1); @@ -1037,6 +1048,7 @@ static int _ov_open2(void *context, OggVorbis_File *vf){ /* clear out the OggVorbis_File struct */ +// OFFSET: 0x0046AB30 int ov_clear(void *context, OggVorbis_File *vf){ if(vf){ FMOD_vorbis_block_clear(context, &vf->vb); @@ -1075,6 +1087,7 @@ int ov_clear(void *context, OggVorbis_File *vf){ 0) OK */ +// OFFSET: 0x0046C040 int ov_open_callbacks(void *context, void *f,OggVorbis_File *vf,char *initial,ogg_int32_t ibytes, ov_callbacks callbacks){ int ret=_ov_open1(context, f,vf,initial,ibytes,callbacks); @@ -1160,6 +1173,7 @@ int ov_test_open(void *context, OggVorbis_File *vf){ } /* How many logical bitstreams in this physical bitstream? */ +// OFFSET: 0x0046AC80 ogg_int32_t ov_streams(OggVorbis_File *vf){ return vf->links; } @@ -1266,6 +1280,7 @@ ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i){ OV_EINVAL if the stream is not seekable (we can't know the length) or only partially open */ +// OFFSET: 0x0046AC90 ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i){ if(vf->ready_stateseekable || i>=vf->links)return(OV_EINVAL); @@ -1306,6 +1321,7 @@ float ov_time_total(OggVorbis_File *vf,int i){ returns zero on success, nonzero on failure */ +// OFFSET: 0x0046AD20 int ov_raw_seek(void *context, OggVorbis_File *vf,ogg_int64_t pos){ ogg_stream_state work_os; int ret; @@ -1479,6 +1495,7 @@ int ov_raw_seek(void *context, OggVorbis_File *vf,ogg_int64_t pos){ Seek to the last [granule marked] page preceeding the specified pos location, such that decoding past the returned point will quickly arrive at the requested position. */ +// OFFSET: 0x0046B050 int ov_pcm_seek_page(void *context, OggVorbis_File *vf,ogg_int64_t pos){ int link=-1; ogg_int64_t result=0; @@ -1663,6 +1680,7 @@ int ov_pcm_seek_page(void *context, OggVorbis_File *vf,ogg_int64_t pos){ /* seek to a sample offset relative to the decompressed pcm stream returns zero on success, nonzero on failure */ +// OFFSET: 0x0046B6C0 int ov_pcm_seek(void *context, OggVorbis_File *vf,ogg_int64_t pos){ int thisblock,lastblock=0; int ret=ov_pcm_seek_page(context, vf,pos); @@ -1822,6 +1840,7 @@ int ov_time_seek_page(void *context, OggVorbis_File *vf,float seconds){ /* tell the current stream offset cursor. Note that seek followed by tell will likely not give the set offset due to caching */ +// OFFSET: 0x0046B9B0 ogg_int64_t ov_raw_tell(OggVorbis_File *vf){ if(vf->ready_stateoffset); @@ -1863,6 +1882,7 @@ float ov_time_tell(OggVorbis_File *vf){ current bitstream. NULL in the case that the machine is not initialized */ +// OFFSET: 0x0046B9D0 vorbis_info *ov_info(OggVorbis_File *vf,int link){ if(vf->seekable){ if(link<0) @@ -1881,6 +1901,7 @@ vorbis_info *ov_info(OggVorbis_File *vf,int link){ } /* grr, strong typing, grr, no templates/inheritence, grr */ +// OFFSET: 0x0046BA10 vorbis_comment *ov_comment(OggVorbis_File *vf,int link){ if(vf->seekable){ if(link<0) @@ -2077,6 +2098,7 @@ ogg_int32_t ov_read_filter(void *context, OggVorbis_File *vf,char *buffer,int le } } +// OFFSET: 0x0046BA50 ogg_int32_t ov_read(void *context, OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream){ return ov_read_filter(context, vf, buffer, length, bigendianp, word, sgned, bitstream, NULL, NULL); diff --git a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/window.c b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/window.c index 50e778f..ce4cd81 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/window.c +++ b/Engine/Source/SoundEngine/fmodex/lib/ogg_vorbis/vorbis/lib/window.c @@ -2098,6 +2098,7 @@ static float *vwin[8] = { /* Added by brett. */ +// OFFSET: 0x00470200 void _FMOD_vorbis_window_init() { int i; @@ -2153,6 +2154,7 @@ void _FMOD_vorbis_window_init() } } +// OFFSET: 0x004703D0 float *_FMOD_vorbis_window_get(int n){ return vwin[n]; } diff --git a/Engine/Source/SoundEngine/fmodex/lib/openal/utils/LoadOAL.cpp b/Engine/Source/SoundEngine/fmodex/lib/openal/utils/LoadOAL.cpp index 186a441..95bbfbc 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/openal/utils/LoadOAL.cpp +++ b/Engine/Source/SoundEngine/fmodex/lib/openal/utils/LoadOAL.cpp @@ -29,6 +29,7 @@ HINSTANCE g_hOpenALDLL = NULL; +// OFFSET: 0x009499D0 ALboolean LoadOALLibrary(char *szOALFullPathName, LPOPENALFNTABLE lpOALFnTable) { if (!lpOALFnTable) @@ -451,6 +452,7 @@ ALboolean LoadOALLibrary(char *szOALFullPathName, LPOPENALFNTABLE lpOALFnTable) return AL_TRUE; } +// OFFSET: 0x0094A0E0 ALvoid UnloadOALLibrary() { // Unload the dll diff --git a/Engine/Source/SoundEngine/fmodex/lib/sfx/foreverb/aSfxDsp.cpp b/Engine/Source/SoundEngine/fmodex/lib/sfx/foreverb/aSfxDsp.cpp index eab2136..b6c99cc 100644 --- a/Engine/Source/SoundEngine/fmodex/lib/sfx/foreverb/aSfxDsp.cpp +++ b/Engine/Source/SoundEngine/fmodex/lib/sfx/foreverb/aSfxDsp.cpp @@ -15,6 +15,7 @@ //----------------------------------------------------------------------------- +// OFFSET: 0x009287F0 int ASfxDsp::init(float rate) { int delayLine; @@ -108,6 +109,7 @@ int ASfxDsp::init(float rate) return 0; } +// OFFSET: 0x00927560 void ASfxDsp::close() { if (mInBuffMemory) @@ -123,6 +125,7 @@ void ASfxDsp::close() } +// OFFSET: 0x00927600 int ASfxDsp::AllocateLateDelays(int numDelays, float *delaySec, float sampleRate) { int delaySamples; @@ -150,6 +153,7 @@ int ASfxDsp::AllocateLateDelays(int numDelays, float *delaySec, float sampleRate return 0; } +// OFFSET: 0x00927740 int ASfxDsp::AllocateEarlyLateDelay(float *delaySec, float sampleRate) { // Allocate it to the max Ref & Rev delays, so we don't have to reallocate it if the delays change. @@ -175,6 +179,7 @@ int ASfxDsp::AllocateEarlyLateDelay(float *delaySec, float sampleRate) return 0; } +// OFFSET: 0x00927810 int ASfxDsp::AllocateAllpassDelays(int numDelays, float *delaySec, float sampleRate) { int delaySamples; @@ -201,6 +206,7 @@ int ASfxDsp::AllocateAllpassDelays(int numDelays, float *delaySec, float sampleR return 0; } +// OFFSET: 0x00927950 int ASfxDsp::AllocateEarlyDelay(float delaySec, float sampleRate) { int delaySamples = (int)(delaySec * sampleRate) + 1; @@ -228,6 +234,7 @@ int ASfxDsp::NextPowerOf2(int delaySamples) } +// OFFSET: 0x009270B0 void ASfxDsp::DeallocateLateDelays() { for (int delayLine=0; delayLinegSystemHead->isEmpty()) @@ -237,6 +238,7 @@ FMOD_RESULT F_API FMOD_Memory_GetStats(int *currentalloced, int *maxalloced, FMO System::release ] */ +// OFFSET: 0x008D0660 FMOD_RESULT F_API FMOD_System_Create(FMOD_SYSTEM **system) { FMOD::SystemI *sys, *current; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_async.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_async.cpp index 98b7834..2fd67bd 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_async.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_async.cpp @@ -26,6 +26,7 @@ LinkedListNode AsyncThread::gAsyncHead; [SEE_ALSO] ] */ +// OFFSET: 0x00921FC0 void asyncThreadFunc(void *data) { AsyncThread *asyncThread = (AsyncThread *)data; @@ -46,6 +47,7 @@ void asyncThreadFunc(void *data) [SEE_ALSO] ] */ +// OFFSET: 0x00921FD0 AsyncThread::AsyncThread() { mCrit = 0; @@ -68,6 +70,7 @@ AsyncThread::AsyncThread() [SEE_ALSO] ] */ +// OFFSET: 0x00922040 FMOD_RESULT AsyncThread::shutDown() { if (FMOD::gGlobal->gAsyncCrit) @@ -216,6 +219,7 @@ FMOD_RESULT AsyncThread::removeCallback(FMOD_ASYNC_CALLBACK callback) [SEE_ALSO] ] */ +// OFFSET: 0x009220A0 FMOD_RESULT AsyncThread::init(bool owned, SystemI *system) { FMOD_RESULT result; @@ -288,6 +292,7 @@ FMOD_RESULT AsyncThread::release() [SEE_ALSO] ] */ +// OFFSET: 0x00921C60 FMOD_RESULT AsyncThread::reallyRelease() { FMOD_OS_CriticalSection_Enter(mCrit); @@ -364,6 +369,7 @@ FMOD_RESULT AsyncThread::wakeupThread() [SEE_ALSO] ] */ +// OFFSET: 0x00921D30 FMOD_RESULT AsyncThread::update() { if (FMOD::gGlobal->gAsyncCrit) @@ -407,6 +413,7 @@ FMOD_RESULT AsyncThread::update() [SEE_ALSO] ] */ +// OFFSET: 0x00921D80 FMOD_RESULT AsyncThread::threadFunc() { FMOD_RESULT result = FMOD_OK; @@ -607,6 +614,7 @@ FMOD_RESULT AsyncThread::threadFunc() [SEE_ALSO] ] */ +// OFFSET: 0x00922130 FMOD_RESULT AsyncThread::getAsyncThread(SoundI *sound) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel.cpp index d99fc67..7078190 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel.cpp @@ -32,6 +32,7 @@ FMOD_RESULT Channel::getSystemObject(System **system) } +// OFFSET: 0x008D0930 FMOD_RESULT Channel::stop() { FMOD_RESULT result; @@ -49,6 +50,7 @@ FMOD_RESULT Channel::stop() } +// OFFSET: 0x008D0960 FMOD_RESULT Channel::setPaused(bool paused) { FMOD_RESULT result; @@ -87,6 +89,7 @@ FMOD_RESULT Channel::getPaused(bool *paused) } +// OFFSET: 0x008D0990 FMOD_RESULT Channel::setVolume(float volume) { FMOD_RESULT result; @@ -104,6 +107,7 @@ FMOD_RESULT Channel::setVolume(float volume) } +// OFFSET: 0x008D09C0 FMOD_RESULT Channel::getVolume(float *volume) { FMOD_RESULT result; @@ -125,6 +129,7 @@ FMOD_RESULT Channel::getVolume(float *volume) } +// OFFSET: 0x008D0A00 FMOD_RESULT Channel::setFrequency(float frequency) { FMOD_RESULT result; @@ -142,6 +147,7 @@ FMOD_RESULT Channel::setFrequency(float frequency) } +// OFFSET: 0x008D0A30 FMOD_RESULT Channel::getFrequency(float *frequency) { FMOD_RESULT result; @@ -243,6 +249,7 @@ FMOD_RESULT Channel::getDelay(FMOD_DELAYTYPE delaytype, unsigned int *delayhi, u } +// OFFSET: 0x008D0A70 FMOD_RESULT Channel::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright) { FMOD_RESULT result; @@ -423,6 +430,7 @@ FMOD_RESULT Channel::getMute(bool *mute) } +// OFFSET: 0x008D0AD0 FMOD_RESULT Channel::setPriority(int priority) { FMOD_RESULT result; @@ -440,6 +448,7 @@ FMOD_RESULT Channel::setPriority(int priority) } +// OFFSET: 0x008D0B00 FMOD_RESULT Channel::getPriority(int *priority) { FMOD_RESULT result; @@ -461,6 +470,7 @@ FMOD_RESULT Channel::getPriority(int *priority) } +// OFFSET: 0x008D0B40 FMOD_RESULT Channel::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -478,6 +488,7 @@ FMOD_RESULT Channel::setPosition(unsigned int position, FMOD_TIMEUNIT postype) } +// OFFSET: 0x008D0B70 FMOD_RESULT Channel::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -499,6 +510,7 @@ FMOD_RESULT Channel::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) } +// OFFSET: 0x008D0BB0 FMOD_RESULT Channel::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result; @@ -516,6 +528,7 @@ FMOD_RESULT Channel::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *pr } +// OFFSET: 0x008D0BE0 FMOD_RESULT Channel::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result; @@ -571,6 +584,7 @@ FMOD_RESULT Channel::getLowPassGain(float *gain) } +// OFFSET: 0x008D0C10 FMOD_RESULT Channel::setChannelGroup(ChannelGroup *channelgroup) { FMOD_RESULT result; @@ -609,6 +623,7 @@ FMOD_RESULT Channel::getChannelGroup(ChannelGroup **channelgroup) } +// OFFSET: 0x008D0C40 FMOD_RESULT Channel::setCallback(FMOD_CHANNEL_CALLBACK callback) { FMOD_RESULT result; @@ -626,6 +641,7 @@ FMOD_RESULT Channel::setCallback(FMOD_CHANNEL_CALLBACK callback) } +// OFFSET: 0x008D0C70 FMOD_RESULT Channel::set3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR *vel) { FMOD_RESULT result; @@ -643,6 +659,7 @@ FMOD_RESULT Channel::set3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR * } +// OFFSET: 0x008D0CA0 FMOD_RESULT Channel::get3DAttributes(FMOD_VECTOR *pos, FMOD_VECTOR *vel) { FMOD_RESULT result; @@ -668,6 +685,7 @@ FMOD_RESULT Channel::get3DAttributes(FMOD_VECTOR *pos, FMOD_VECTOR *vel) } +// OFFSET: 0x008D0D00 FMOD_RESULT Channel::set3DMinMaxDistance(float mindistance, float maxdistance) { FMOD_RESULT result; @@ -685,6 +703,7 @@ FMOD_RESULT Channel::set3DMinMaxDistance(float mindistance, float maxdistance) } +// OFFSET: 0x008D0D40 FMOD_RESULT Channel::get3DMinMaxDistance(float *mindistance, float *maxdistance) { FMOD_RESULT result; @@ -710,6 +729,7 @@ FMOD_RESULT Channel::get3DMinMaxDistance(float *mindistance, float *maxdistance) } +// OFFSET: 0x008D0D90 FMOD_RESULT Channel::set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume) { FMOD_RESULT result; @@ -756,6 +776,7 @@ FMOD_RESULT Channel::get3DConeSettings(float *insideconeangle, float *outsidecon } +// OFFSET: 0x008D0DD0 FMOD_RESULT Channel::set3DConeOrientation(FMOD_VECTOR *orientation) { FMOD_RESULT result; @@ -916,6 +937,7 @@ FMOD_RESULT Channel::get3DSpread(float *angle) } +// OFFSET: 0x008D0E00 FMOD_RESULT Channel::set3DPanLevel(float level) { FMOD_RESULT result; @@ -933,6 +955,7 @@ FMOD_RESULT Channel::set3DPanLevel(float level) } +// OFFSET: 0x008D0E30 FMOD_RESULT Channel::get3DPanLevel(float *level) { FMOD_RESULT result; @@ -1013,6 +1036,7 @@ FMOD_RESULT Channel::getDSPHead(DSP **dsp) } +// OFFSET: 0x008D0E70 FMOD_RESULT Channel::addDSP(DSP *dsp, DSPConnection **connection) { FMOD_RESULT result; @@ -1030,6 +1054,7 @@ FMOD_RESULT Channel::addDSP(DSP *dsp, DSPConnection **connection) } +// OFFSET: 0x008D0EA0 FMOD_RESULT Channel::isPlaying(bool *isplaying) { FMOD_RESULT result; @@ -1051,6 +1076,7 @@ FMOD_RESULT Channel::isPlaying(bool *isplaying) } +// OFFSET: 0x008D0EE0 FMOD_RESULT Channel::isVirtual(bool *isvirtual) { FMOD_RESULT result; @@ -1072,6 +1098,7 @@ FMOD_RESULT Channel::isVirtual(bool *isvirtual) } +// OFFSET: 0x008D0F20 FMOD_RESULT Channel::getAudibility(float *audibility) { FMOD_RESULT result; @@ -1194,6 +1221,7 @@ FMOD_RESULT Channel::setMode(FMOD_MODE mode) } +// OFFSET: 0x008D0FA0 FMOD_RESULT Channel::getMode(FMOD_MODE *mode) { FMOD_RESULT result; @@ -1295,6 +1323,7 @@ FMOD_RESULT Channel::getLoopPoints(unsigned int *loopstart, FMOD_TIMEUNIT loopst } +// OFFSET: 0x008D0FE0 FMOD_RESULT Channel::setUserData(void *_userdata) { FMOD_RESULT result; @@ -1312,6 +1341,7 @@ FMOD_RESULT Channel::setUserData(void *_userdata) } +// OFFSET: 0x008D1010 FMOD_RESULT Channel::getUserData(void **_userdata) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_emulated.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_emulated.cpp index fab456a..3ed0bda 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_emulated.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_emulated.cpp @@ -28,6 +28,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00944A70 ChannelEmulated::ChannelEmulated() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -52,6 +53,7 @@ ChannelEmulated::ChannelEmulated() [SEE_ALSO] ] */ +// OFFSET: 0x00944AB0 FMOD_RESULT ChannelEmulated::init(int index, SystemI *system, Output *output, DSPI *dspmixtarget) { ChannelReal::init(index, system, output, dspmixtarget); @@ -114,6 +116,7 @@ FMOD_RESULT ChannelEmulated::init(int index, SystemI *system, Output *output, DS [SEE_ALSO] ] */ +// OFFSET: 0x009447D0 FMOD_RESULT ChannelEmulated::alloc() { FMOD_RESULT result; @@ -162,6 +165,7 @@ FMOD_RESULT ChannelEmulated::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x00944820 FMOD_RESULT ChannelEmulated::stop() { #ifdef FMOD_SUPPORT_STREAMING @@ -232,6 +236,7 @@ FMOD_RESULT ChannelEmulated::stop() [SEE_ALSO] ] */ +// OFFSET: 0x009448C0 FMOD_RESULT ChannelEmulated::close() { FMOD_RESULT result; @@ -269,6 +274,7 @@ FMOD_RESULT ChannelEmulated::close() [SEE_ALSO] ] */ +// OFFSET: 0x009448F0 FMOD_RESULT ChannelEmulated::update(int delta) { FMOD_RESULT result; @@ -398,6 +404,7 @@ FMOD_RESULT ChannelEmulated::update(int delta) [SEE_ALSO] ] */ +// OFFSET: 0x00944A20 FMOD_RESULT ChannelEmulated::isVirtual(bool *isvirtual) { if (!isvirtual) @@ -426,6 +433,7 @@ FMOD_RESULT ChannelEmulated::isVirtual(bool *isvirtual) [SEE_ALSO] ] */ +// OFFSET: 0x00944A40 FMOD_RESULT ChannelEmulated::getDSPHead(DSPI **dsp) { if (!dsp) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.cpp index 2d68032..b18dd9a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.cpp @@ -30,6 +30,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00943900 ChannelReal::ChannelReal() { mSound = 0; @@ -57,6 +58,7 @@ ChannelReal::ChannelReal() [SEE_ALSO] ] */ +// OFFSET: 0x00943970 FMOD_RESULT ChannelReal::init(int index, SystemI *system, Output *output, DSPI *dspmixtarget) { mSound = 0; @@ -98,6 +100,7 @@ FMOD_RESULT ChannelReal::init(int index, SystemI *system, Output *output, DSPI * [SEE_ALSO] ] */ +// OFFSET: 0x009439C0 FMOD_RESULT ChannelReal::close() { return stop(); @@ -119,6 +122,7 @@ FMOD_RESULT ChannelReal::close() [SEE_ALSO] ] */ +// OFFSET: 0x009439D0 FMOD_RESULT ChannelReal::alloc() { mPosition = 0; @@ -147,6 +151,7 @@ FMOD_RESULT ChannelReal::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x009439F0 FMOD_RESULT ChannelReal::alloc(DSPI *dsp) { if (mPool) @@ -263,6 +268,7 @@ FMOD_RESULT ChannelReal::start() [SEE_ALSO] ] */ +// OFFSET: 0x00943A10 FMOD_RESULT ChannelReal::stop() { // mSound = 0; /* ChannelI or ChannelStream will clear this out in its stop call. */ @@ -309,6 +315,7 @@ FMOD_RESULT ChannelReal::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00943A70 FMOD_RESULT ChannelReal::setPaused(bool paused) { if (paused) @@ -338,6 +345,7 @@ FMOD_RESULT ChannelReal::setPaused(bool paused) [SEE_ALSO] ] */ +// OFFSET: 0x00943A90 FMOD_RESULT ChannelReal::getPaused(bool *paused) { if (!paused) @@ -450,6 +458,7 @@ FMOD_RESULT ChannelReal::setDSPClockDelay() [SEE_ALSO] ] */ +// OFFSET: 0x00943AE0 FMOD_RESULT ChannelReal::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright) { int numsubchannels = 0; @@ -634,6 +643,7 @@ FMOD_RESULT ChannelReal::setSpeakerMix(float frontleft, float frontright, float [SEE_ALSO] ] */ +// OFFSET: 0x00943DA0 FMOD_RESULT ChannelReal::setSpeakerLevels(int speaker, float *levels, int numlevels) { if (!mParent) @@ -686,6 +696,7 @@ FMOD_RESULT ChannelReal::setSpeakerLevels(int speaker, float *levels, int numlev [SEE_ALSO] ] */ +// OFFSET: 0x00943DC0 FMOD_RESULT ChannelReal::updateSpeakerLevels(float volume) { if (mParent && mParent->mLevels) @@ -771,6 +782,7 @@ FMOD_RESULT ChannelReal::updateSpeakerLevels(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x009442D0 FMOD_RESULT ChannelReal::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { if (postype != FMOD_TIMEUNIT_MS && postype != FMOD_TIMEUNIT_PCM && postype != FMOD_TIMEUNIT_PCMBYTES) @@ -830,6 +842,7 @@ FMOD_RESULT ChannelReal::setPosition(unsigned int position, FMOD_TIMEUNIT postyp [SEE_ALSO] ] */ +// OFFSET: 0x009444A0 FMOD_RESULT ChannelReal::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { bool getsubsoundtime = false; @@ -949,6 +962,7 @@ FMOD_RESULT ChannelReal::getPosition(unsigned int *position, FMOD_TIMEUNIT posty [SEE_ALSO] ] */ +// OFFSET: 0x00943FF0 FMOD_RESULT ChannelReal::setLoopPoints(unsigned int loopstart, unsigned int looplength) { if (!mSound) @@ -988,6 +1002,7 @@ FMOD_RESULT ChannelReal::setLoopPoints(unsigned int loopstart, unsigned int loop [SEE_ALSO] ] */ +// OFFSET: 0x00944040 FMOD_RESULT ChannelReal::setLoopCount(int loopcount) { mLoopCount = loopcount; @@ -1074,6 +1089,7 @@ FMOD_RESULT ChannelReal::set3DMinMaxDistance() [SEE_ALSO] ] */ +// OFFSET: 0x00944050 FMOD_RESULT ChannelReal::set3DOcclusion(float directOcclusion, float reverbOcclusion) { if (!mParent) @@ -1101,6 +1117,7 @@ FMOD_RESULT ChannelReal::set3DOcclusion(float directOcclusion, float reverbOcclu [SEE_ALSO] ] */ +// OFFSET: 0x00944070 FMOD_RESULT ChannelReal::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { #ifndef FMOD_STATICFORPLUGINS @@ -1168,6 +1185,7 @@ FMOD_RESULT ChannelReal::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES [SEE_ALSO] ] */ +// OFFSET: 0x009440B0 FMOD_RESULT ChannelReal::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { #ifndef FMOD_STATICFORPLUGINS @@ -1208,6 +1226,7 @@ FMOD_RESULT ChannelReal::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop [SEE_ALSO] ] */ +// OFFSET: 0x009440F0 FMOD_RESULT ChannelReal::isPlaying(bool *isplaying, bool includethreadlatency) { if (!isplaying) @@ -1243,6 +1262,7 @@ FMOD_RESULT ChannelReal::isPlaying(bool *isplaying, bool includethreadlatency) [SEE_ALSO] ] */ +// OFFSET: 0x00944130 FMOD_RESULT ChannelReal::isVirtual(bool *isvirtual) { if (!isvirtual) @@ -1271,6 +1291,7 @@ FMOD_RESULT ChannelReal::isVirtual(bool *isvirtual) [SEE_ALSO] ] */ +// OFFSET: 0x00944150 FMOD_RESULT ChannelReal::getSpectrum(float *spectrumarray, int numentries, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype) { return FMOD_ERR_NEEDSSOFTWARE; @@ -1292,6 +1313,7 @@ FMOD_RESULT ChannelReal::getSpectrum(float *spectrumarray, int numentries, int c [SEE_ALSO] ] */ +// OFFSET: 0x00944160 FMOD_RESULT ChannelReal::getWaveData(float *wavearray, int numvalues, int channeloffset) { return FMOD_ERR_NEEDSSOFTWARE; @@ -1313,6 +1335,7 @@ FMOD_RESULT ChannelReal::getWaveData(float *wavearray, int numvalues, int channe [SEE_ALSO] ] */ +// OFFSET: 0x00944170 FMOD_RESULT ChannelReal::getDSPHead(DSPI **dsp) { *dsp = 0; @@ -1336,6 +1359,7 @@ FMOD_RESULT ChannelReal::getDSPHead(DSPI **dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00944190 FMOD_RESULT ChannelReal::setMode(FMOD_MODE mode) { /* diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.h b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.h index 5e3a8f3..1868079 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_real.h @@ -112,6 +112,7 @@ namespace FMOD public: ChannelReal(); + // OFFSET: 0x0093BE70 virtual ~ChannelReal() { } virtual FMOD_RESULT init (int index, SystemI *system, Output *output, DSPI *dspmixtarget); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_realmanual3d.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_realmanual3d.cpp index 303315f..e076b75 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_realmanual3d.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_realmanual3d.cpp @@ -28,6 +28,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094BD30 ChannelRealManual3D::ChannelRealManual3D() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -76,6 +77,7 @@ FMOD_RESULT ChannelRealManual3D::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x0094BD50 FMOD_RESULT ChannelRealManual3D::set2DFreqVolumePanFor3D() { #ifdef FMOD_SUPPORT_3DSOUND diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_software.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_software.cpp index 6cda540..688a56f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_software.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_software.cpp @@ -45,6 +45,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00933EB0 ChannelSoftware::ChannelSoftware() { mDSPWaveTable = 0; @@ -73,6 +74,7 @@ ChannelSoftware::ChannelSoftware() [SEE_ALSO] ] */ +// OFFSET: 0x00934CD0 FMOD_RESULT ChannelSoftware::init(int index, SystemI *system, Output *output, DSPI *dspmixtarget) { FMOD_RESULT result; @@ -178,6 +180,7 @@ FMOD_RESULT ChannelSoftware::init(int index, SystemI *system, Output *output, DS [SEE_ALSO] ] */ +// OFFSET: 0x009328B0 FMOD_RESULT ChannelSoftware::close() { FMOD_RESULT result; @@ -243,6 +246,7 @@ FMOD_RESULT ChannelSoftware::close() [SEE_ALSO] ] */ +// OFFSET: 0x00932940 FMOD_RESULT ChannelSoftware::setupDSPCodec(DSPI *dsp) { #ifdef FMOD_SUPPORT_DSPCODEC @@ -487,6 +491,7 @@ FMOD_RESULT ChannelSoftware::setupDSPCodec(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00933F40 FMOD_RESULT ChannelSoftware::alloc() { FMOD_RESULT result; @@ -747,6 +752,7 @@ FMOD_RESULT ChannelSoftware::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x00934300 FMOD_RESULT ChannelSoftware::alloc(DSPI *dsp) { FMOD_RESULT result; @@ -893,6 +899,7 @@ FMOD_RESULT ChannelSoftware::alloc(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00932B70 FMOD_RESULT ChannelSoftware::start() { if (!(mFlags & CHANNELREAL_FLAG_PAUSED)) @@ -942,6 +949,7 @@ FMOD_RESULT ChannelSoftware::start() [SEE_ALSO] ] */ +// OFFSET: 0x00932BE0 FMOD_RESULT ChannelSoftware::stop() { FMOD_RESULT result; @@ -1073,6 +1081,7 @@ FMOD_RESULT ChannelSoftware::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00932D70 FMOD_RESULT ChannelSoftware::setPaused(bool paused) { FMOD_RESULT result; @@ -1205,6 +1214,7 @@ FMOD_RESULT ChannelSoftware::getPaused(bool *paused) [SEE_ALSO] ] */ +// OFFSET: 0x00934520 FMOD_RESULT ChannelSoftware::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { #ifdef FMOD_SUPPORT_REVERB @@ -1443,6 +1453,7 @@ FMOD_RESULT ChannelSoftware::setReverbProperties(const FMOD_REVERB_CHANNELPROPER [SEE_ALSO] ] */ +// OFFSET: 0x00932DC0 FMOD_RESULT ChannelSoftware::updateDirectMix(float volume) { FMOD_RESULT result; @@ -1558,6 +1569,7 @@ FMOD_RESULT ChannelSoftware::updateDirectMix(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x00932F90 FMOD_RESULT ChannelSoftware::updateReverbMix(ReverbI* reverb, float volume) { #ifdef FMOD_SUPPORT_REVERB @@ -1761,6 +1773,7 @@ FMOD_RESULT ChannelSoftware::updateReverbMix(ReverbI* reverb, float volume) [SEE_ALSO] ] */ +// OFFSET: 0x00933140 FMOD_RESULT ChannelSoftware::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { #ifdef FMOD_SUPPORT_REVERB @@ -1831,6 +1844,7 @@ FMOD_RESULT ChannelSoftware::setLowPassGain(float gain) [SEE_ALSO] ] */ +// OFFSET: 0x00933170 FMOD_RESULT ChannelSoftware::set3DOcclusion(float directOcclusion, float reverbOcclusion) { FMOD_RESULT result; @@ -1893,6 +1907,7 @@ FMOD_RESULT ChannelSoftware::set3DOcclusion(float directOcclusion, float reverbO [SEE_ALSO] ] */ +// OFFSET: 0x00933210 FMOD_RESULT ChannelSoftware::setVolume(float volume) { FMOD_RESULT result; @@ -1964,6 +1979,7 @@ FMOD_RESULT ChannelSoftware::setVolume(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x009332D0 FMOD_RESULT ChannelSoftware::setFrequency(float frequency) { if (mDSPResampler || mDSPCodec) @@ -2047,6 +2063,7 @@ FMOD_RESULT ChannelSoftware::setFrequency(float frequency) [SEE_ALSO] ] */ +// OFFSET: 0x009333D0 FMOD_RESULT ChannelSoftware::setPan(float lrpan, float fbpan) { int numchannels; @@ -2174,6 +2191,7 @@ FMOD_RESULT ChannelSoftware::setDSPClockDelay() [SEE_ALSO] ] */ +// OFFSET: 0x009334F0 FMOD_RESULT ChannelSoftware::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright) { FMOD_RESULT result; @@ -2342,6 +2360,7 @@ FMOD_RESULT ChannelSoftware::setSpeakerMix(float frontleft, float frontright, fl [SEE_ALSO] ] */ +// OFFSET: 0x00933640 FMOD_RESULT ChannelSoftware::setSpeakerLevels(int speaker, float *levels, int numlevels) { FMOD_RESULT result; @@ -2460,6 +2479,7 @@ FMOD_RESULT ChannelSoftware::setSpeakerLevels(int speaker, float *levels, int nu [SEE_ALSO] ] */ +// OFFSET: 0x00934760 FMOD_RESULT ChannelSoftware::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { unsigned int pcm = 0, endpoint; @@ -2583,6 +2603,7 @@ FMOD_RESULT ChannelSoftware::setPosition(unsigned int position, FMOD_TIMEUNIT po [SEE_ALSO] ] */ +// OFFSET: 0x00934A00 FMOD_RESULT ChannelSoftware::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { int channels; @@ -2747,6 +2768,7 @@ FMOD_RESULT ChannelSoftware::getPosition(unsigned int *position, FMOD_TIMEUNIT p [SEE_ALSO] ] */ +// OFFSET: 0x00933740 FMOD_RESULT ChannelSoftware::setLoopPoints(unsigned int loopstart, unsigned int looplength) { FMOD_RESULT result; @@ -2785,6 +2807,7 @@ FMOD_RESULT ChannelSoftware::setLoopPoints(unsigned int loopstart, unsigned int [SEE_ALSO] ] */ +// OFFSET: 0x00933790 FMOD_RESULT ChannelSoftware::setLoopCount(int loopcount) { FMOD_RESULT result; @@ -2824,6 +2847,7 @@ FMOD_RESULT ChannelSoftware::setLoopCount(int loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x009337C0 FMOD_RESULT ChannelSoftware::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -2861,6 +2885,7 @@ FMOD_RESULT ChannelSoftware::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x009337F0 FMOD_RESULT ChannelSoftware::isPlaying(bool *isplaying, bool includethreadlatency) { if (!isplaying) @@ -2939,6 +2964,7 @@ FMOD_RESULT ChannelSoftware::isPlaying(bool *isplaying, bool includethreadlatenc FMOD_DSP_FFT_WINDOW ] */ +// OFFSET: 0x00933970 FMOD_RESULT ChannelSoftware::getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype) { #ifdef FMOD_SUPPORT_GETSPECTRUM @@ -3054,6 +3080,7 @@ FMOD_RESULT ChannelSoftware::getSpectrum(float *spectrumarray, int numvalues, in FMOD_DSP_FFT_WINDOW ] */ +// OFFSET: 0x00933AB0 FMOD_RESULT ChannelSoftware::getWaveData(float *wavearray, int numvalues, int channeloffset) { FMOD_RESULT result; @@ -3146,6 +3173,7 @@ FMOD_RESULT ChannelSoftware::getWaveData(float *wavearray, int numvalues, int ch [SEE_ALSO] ] */ +// OFFSET: 0x00933C40 FMOD_RESULT ChannelSoftware::getDSPHead(DSPI **dsp) { *dsp = mDSPHead; @@ -3169,6 +3197,7 @@ FMOD_RESULT ChannelSoftware::getDSPHead(DSPI **dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00933C60 FMOD_RESULT ChannelSoftware::addToReverbs(DSPI *dsptarget) { #ifdef FMOD_SUPPORT_REVERB @@ -3261,6 +3290,7 @@ FMOD_RESULT ChannelSoftware::addToReverbs(DSPI *dsptarget) [SEE_ALSO] ] */ +// OFFSET: 0x00933E00 FMOD_RESULT ChannelSoftware::moveChannelGroup(ChannelGroupI *oldchannelgroup, ChannelGroupI *newchannelgroup, bool forcedspreconnect) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.cpp index 78dfe88..32f40b0 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.cpp @@ -31,6 +31,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091EF10 ChannelStream::ChannelStream() { int count; @@ -82,6 +83,7 @@ FMOD_RESULT ChannelStream::setRealChannel(ChannelReal *realchan) [SEE_ALSO] ] */ +// OFFSET: 0x0091E5C0 FMOD_RESULT ChannelStream::set2DFreqVolumePanFor3D() { FMOD_RESULT result = FMOD_OK; @@ -111,6 +113,7 @@ FMOD_RESULT ChannelStream::set2DFreqVolumePanFor3D() [SEE_ALSO] ] */ +// OFFSET: 0x0091E5F0 FMOD_RESULT ChannelStream::moveChannelGroup(ChannelGroupI *oldchannelgroup, ChannelGroupI *newchannelgroup, bool forcedspreconnect) { FMOD_RESULT result = FMOD_OK; @@ -140,6 +143,7 @@ FMOD_RESULT ChannelStream::moveChannelGroup(ChannelGroupI *oldchannelgroup, Chan [SEE_ALSO] ] */ +// OFFSET: 0x0091E630 FMOD_RESULT ChannelStream::alloc() { FMOD_RESULT result; @@ -256,6 +260,7 @@ FMOD_RESULT ChannelStream::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x0091E7D0 FMOD_RESULT ChannelStream::start() { FMOD_RESULT result = FMOD_OK; @@ -298,6 +303,7 @@ FMOD_RESULT ChannelStream::start() [SEE_ALSO] ] */ +// OFFSET: 0x0091E830 FMOD_RESULT ChannelStream::update(int delta) { FMOD_RESULT result = FMOD_OK; @@ -328,6 +334,7 @@ FMOD_RESULT ChannelStream::update(int delta) [SEE_ALSO] ] */ +// OFFSET: 0x0091EF50 FMOD_RESULT ChannelStream::updateStream() { FMOD_RESULT result = FMOD_OK; @@ -573,6 +580,7 @@ FMOD_RESULT ChannelStream::updateStream() [SEE_ALSO] ] */ +// OFFSET: 0x0091E870 FMOD_RESULT ChannelStream::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -614,6 +622,7 @@ FMOD_RESULT ChannelStream::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x0091E8E0 FMOD_RESULT ChannelStream::stop() { FMOD_RESULT result = FMOD_OK; @@ -695,6 +704,7 @@ FMOD_RESULT ChannelStream::stop() [SEE_ALSO] ] */ +// OFFSET: 0x0091EAA0 FMOD_RESULT ChannelStream::setPaused(bool paused) { FMOD_RESULT result = FMOD_OK; @@ -732,6 +742,7 @@ FMOD_RESULT ChannelStream::setPaused(bool paused) [SEE_ALSO] ] */ +// OFFSET: 0x0091EAE0 FMOD_RESULT ChannelStream::setVolume(float volume) { FMOD_RESULT result = FMOD_OK; @@ -778,6 +789,7 @@ FMOD_RESULT ChannelStream::setVolume(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x0091EB60 FMOD_RESULT ChannelStream::setFrequency(float frequency) { FMOD_RESULT result = FMOD_OK; @@ -807,6 +819,7 @@ FMOD_RESULT ChannelStream::setFrequency(float frequency) [SEE_ALSO] ] */ +// OFFSET: 0x0091EBA0 FMOD_RESULT ChannelStream::setPan(float pan, float fbpan) { FMOD_RESULT result = FMOD_OK; @@ -880,6 +893,7 @@ FMOD_RESULT ChannelStream::setDSPClockDelay() [SEE_ALSO] ] */ +// OFFSET: 0x0091EC50 FMOD_RESULT ChannelStream::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright) { FMOD_RESULT result = FMOD_OK; @@ -909,6 +923,7 @@ FMOD_RESULT ChannelStream::setSpeakerMix(float frontleft, float frontright, floa [SEE_ALSO] ] */ +// OFFSET: 0x0091ECC0 FMOD_RESULT ChannelStream::setSpeakerLevels(int speaker, float *levels, int numlevels) { FMOD_RESULT result = FMOD_OK; @@ -1175,6 +1190,7 @@ FMOD_RESULT ChannelStream::setPositionEx(unsigned int position, FMOD_TIMEUNIT po [SEE_ALSO] ] */ +// OFFSET: 0x0091F260 FMOD_RESULT ChannelStream::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { Stream *stream; @@ -1325,6 +1341,7 @@ FMOD_RESULT ChannelStream::getPosition(unsigned int *position, FMOD_TIMEUNIT pos [SEE_ALSO] ] */ +// OFFSET: 0x0091ED00 FMOD_RESULT ChannelStream::setLoopPoints(unsigned int loopstart, unsigned int looplength) { FMOD_RESULT result; @@ -1360,6 +1377,7 @@ FMOD_RESULT ChannelStream::setLoopPoints(unsigned int loopstart, unsigned int lo [SEE_ALSO] ] */ +// OFFSET: 0x0091ED40 FMOD_RESULT ChannelStream::setLoopCount(int loopcount) { FMOD_RESULT result; @@ -1395,6 +1413,7 @@ FMOD_RESULT ChannelStream::setLoopCount(int loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x0091ED70 FMOD_RESULT ChannelStream::set3DAttributes() { FMOD_RESULT result = FMOD_OK; @@ -1453,6 +1472,7 @@ FMOD_RESULT ChannelStream::setLowPassGain(float gain) [SEE_ALSO] ] */ +// OFFSET: 0x0091EDA0 FMOD_RESULT ChannelStream::set3DMinMaxDistance() { FMOD_RESULT result = FMOD_OK; @@ -1482,6 +1502,7 @@ FMOD_RESULT ChannelStream::set3DMinMaxDistance() [SEE_ALSO] ] */ +// OFFSET: 0x0091EDD0 FMOD_RESULT ChannelStream::set3DOcclusion(float directocclusion, float reverbocclusion) { FMOD_RESULT result = FMOD_OK; @@ -1511,6 +1532,7 @@ FMOD_RESULT ChannelStream::set3DOcclusion(float directocclusion, float reverbocc [SEE_ALSO] ] */ +// OFFSET: 0x0091EE10 FMOD_RESULT ChannelStream::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result = FMOD_OK; @@ -1540,6 +1562,7 @@ FMOD_RESULT ChannelStream::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTI [SEE_ALSO] ] */ +// OFFSET: 0x0091EE50 FMOD_RESULT ChannelStream::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result = FMOD_OK; @@ -1569,6 +1592,7 @@ FMOD_RESULT ChannelStream::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *pr [SEE_ALSO] ] */ +// OFFSET: 0x0091EE90 FMOD_RESULT ChannelStream::isPlaying(bool *isplaying, bool includethreadlatency) { *isplaying = !mFinished; @@ -1592,6 +1616,7 @@ FMOD_RESULT ChannelStream::isPlaying(bool *isplaying, bool includethreadlatency) [SEE_ALSO] ] */ +// OFFSET: 0x0091EEB0 FMOD_RESULT ChannelStream::getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype) { return mRealChannel[0]->getSpectrum(spectrumarray, numvalues, channeloffset, windowtype); @@ -1613,6 +1638,7 @@ FMOD_RESULT ChannelStream::getSpectrum(float *spectrumarray, int numvalues, int [SEE_ALSO] ] */ +// OFFSET: 0x0091EED0 FMOD_RESULT ChannelStream::getWaveData(float *wavearray, int numvalues, int channeloffset) { return mRealChannel[0]->getWaveData(wavearray, numvalues, channeloffset); @@ -1633,6 +1659,7 @@ FMOD_RESULT ChannelStream::getWaveData(float *wavearray, int numvalues, int chan [SEE_ALSO] ] */ +// OFFSET: 0x0091EEF0 FMOD_RESULT ChannelStream::getDSPHead(DSPI **dsp) { return mRealChannel[0]->getDSPHead(dsp); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.h b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.h index 5d01151..ed425af 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channel_stream.h @@ -46,6 +46,7 @@ namespace FMOD FMOD_RESULT setDSPClockDelay (); FMOD_RESULT setSpeakerMix (float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright); FMOD_RESULT setSpeakerLevels (int speaker, float *levels, int numlevels); + // OFFSET: 0x0091F6F0 FMOD_RESULT setPosition (unsigned int position, FMOD_TIMEUNIT postype) { return setPositionEx(position, postype); } FMOD_RESULT setPositionEx (unsigned int position, FMOD_TIMEUNIT postype, bool fromasync = false); FMOD_RESULT getPosition (unsigned int *position, FMOD_TIMEUNIT postype); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroup.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroup.cpp index 53c17a4..8f615f9 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroup.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroup.cpp @@ -11,6 +11,7 @@ namespace FMOD /*$ preserve end $*/ +// OFFSET: 0x008D1BF0 FMOD_RESULT ChannelGroup::release() { FMOD_RESULT result; @@ -45,6 +46,7 @@ FMOD_RESULT ChannelGroup::getSystemObject(System **system) } +// OFFSET: 0x008D1C20 FMOD_RESULT ChannelGroup::setVolume(float volume) { FMOD_RESULT result; @@ -402,6 +404,7 @@ FMOD_RESULT ChannelGroup::getParentGroup(ChannelGroup **group) } +// OFFSET: 0x008D1C50 FMOD_RESULT ChannelGroup::getDSPHead(DSP **dsp) { FMOD_RESULT result; @@ -453,6 +456,7 @@ FMOD_RESULT ChannelGroup::getName(char *name, int namelen) } +// OFFSET: 0x008D1C80 FMOD_RESULT ChannelGroup::getNumChannels(int *numchannels) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.cpp index f622659..fe425a7 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.cpp @@ -61,6 +61,7 @@ FMOD_RESULT ChannelGroupI::validate(ChannelGroup *channelgroup, ChannelGroupI ** ] */ +// OFFSET: 0x008E4D40 FMOD_RESULT ChannelGroupI::release() { if (this == mSystem->mChannelGroup) @@ -86,6 +87,7 @@ FMOD_RESULT ChannelGroupI::release() [SEE_ALSO] ] */ +// OFFSET: 0x008E4C10 FMOD_RESULT ChannelGroupI::releaseInternal(bool releasechildren) { if (mGroupHead && releasechildren) @@ -233,6 +235,7 @@ FMOD_RESULT ChannelGroupI::getSystemObject(System **system) [SEE_ALSO] ] */ +// OFFSET: 0x008E4AD0 FMOD_RESULT ChannelGroupI::setVolume(float volume) { FMOD_RESULT result; @@ -273,6 +276,7 @@ FMOD_RESULT ChannelGroupI::setVolume(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x008E48A0 FMOD_RESULT ChannelGroupI::setVolumeInternal() { LinkedListNode *current; @@ -395,6 +399,7 @@ FMOD_RESULT ChannelGroupI::setPitch(float pitch) [SEE_ALSO] ] */ +// OFFSET: 0x008E4930 FMOD_RESULT ChannelGroupI::setPitchInternal() { LinkedListNode *current; @@ -593,6 +598,7 @@ FMOD_RESULT ChannelGroupI::get3DOcclusion(float *directOcclusion, float *reverbO [SEE_ALSO] ] */ +// OFFSET: 0x008E49B0 FMOD_RESULT ChannelGroupI::setPaused(bool paused, bool setpausedflag) { LinkedListNode *current; @@ -676,6 +682,7 @@ FMOD_RESULT ChannelGroupI::getPaused(bool *paused) [SEE_ALSO] ] */ +// OFFSET: 0x008E4A20 FMOD_RESULT ChannelGroupI::setMute(bool mute, bool setmuteflag) { LinkedListNode *current; @@ -1165,6 +1172,7 @@ FMOD_RESULT ChannelGroupI::updateChildMixTarget(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008E4B10 FMOD_RESULT ChannelGroupI::addGroup(ChannelGroupI *group) { FMOD_RESULT result; @@ -1532,6 +1540,7 @@ FMOD_RESULT ChannelGroupI::getName(char *name, int namelen) [SEE_ALSO] ] */ +// OFFSET: 0x008E4AB0 FMOD_RESULT ChannelGroupI::getNumChannels(int *numchannels) { if (!numchannels) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.h b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.h index b359c16..6594806 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channelgroupi.h @@ -48,6 +48,7 @@ namespace FMOD public: + // OFFSET: 0x008D51C0 ChannelGroupI() { mVolume = mRealVolume = 1; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channeli.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channeli.cpp index 1152871..e3bf3ef 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channeli.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channeli.cpp @@ -39,6 +39,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008DCD60 FMOD_RESULT F_API ChannelI::validate(Channel *channel, ChannelI **channeli) { unsigned int handle = (unsigned int)((FMOD_UINT_NATIVE)channel); @@ -114,6 +115,7 @@ FMOD_RESULT F_API ChannelI::validate(Channel *channel, ChannelI **channeli) [SEE_ALSO] ] */ +// OFFSET: 0x008DCE10 FMOD_RESULT ChannelI::returnToFreeList() { SystemI *systemi; @@ -155,6 +157,7 @@ FMOD_RESULT ChannelI::returnToFreeList() [SEE_ALSO] ] */ +// OFFSET: 0x008DF300 FMOD_RESULT ChannelI::setDefaults() { float realfrequency, realvolume, realpan; @@ -290,6 +293,7 @@ FMOD_RESULT ChannelI::setDefaults() [SEE_ALSO] ] */ +// OFFSET: 0x008DCE80 FMOD_RESULT ChannelI::referenceStamp(bool newstamp) { unsigned int sysindex, index, refcount; @@ -335,6 +339,7 @@ FMOD_RESULT ChannelI::referenceStamp(bool newstamp) [SEE_ALSO] ] */ +// OFFSET: 0x008E05E0 FMOD_RESULT ChannelI::updatePosition() { unsigned int oldlistposition, oldsglistposition; @@ -417,6 +422,7 @@ FMOD_RESULT ChannelI::updatePosition() [SEE_ALSO] ] */ +// OFFSET: 0x008E0460 FMOD_RESULT ChannelI::forceVirtual(bool force) { FMOD_RESULT result; @@ -514,6 +520,7 @@ FMOD_RESULT ChannelI::forceVirtual(bool force) [SEE_ALSO] ] */ +// OFFSET: 0x008DFE20 FMOD_RESULT ChannelI::getChannelInfo(FMOD_CHANNEL_INFO *info) { info->mRealChannel = mRealChannel[0]; @@ -561,6 +568,7 @@ FMOD_RESULT ChannelI::getChannelInfo(FMOD_CHANNEL_INFO *info) [SEE_ALSO] ] */ +// OFFSET: 0x008DFFC0 FMOD_RESULT ChannelI::setChannelInfo(FMOD_CHANNEL_INFO *info) { int count; @@ -682,6 +690,7 @@ FMOD_RESULT ChannelI::setChannelInfo(FMOD_CHANNEL_INFO *info) [SEE_ALSO] ] */ +// OFFSET: 0x008DCEE0 FMOD_RESULT ChannelI::getRealChannel(ChannelReal **realchan, int *subchannels) { #ifdef FMOD_SUPPORT_STREAMING @@ -742,6 +751,7 @@ FMOD_RESULT ChannelI::getRealChannel(ChannelReal **realchan, int *subchannels) [SEE_ALSO] ] */ +// OFFSET: 0x008DCF80 FMOD_RESULT ChannelI::calcVolumeAndPitchFor3D(int delta) { float pitch3d = 1.0f, vol3d = 1.0f, conevol = 1.0f; @@ -1029,6 +1039,7 @@ FMOD_RESULT ChannelI::calcVolumeAndPitchFor3D(int delta) [SEE_ALSO] ] */ +// OFFSET: 0x008DF530 ChannelI::ChannelI() { init(); @@ -1050,6 +1061,7 @@ ChannelI::ChannelI() [SEE_ALSO] ] */ +// OFFSET: 0x008DF570 ChannelI::ChannelI(int index, SystemI *system) { init(); @@ -1077,6 +1089,7 @@ ChannelI::ChannelI(int index, SystemI *system) [SEE_ALSO] ] */ +// OFFSET: 0x008DD530 FMOD_RESULT ChannelI::init() { int count; @@ -1194,6 +1207,7 @@ FMOD_RESULT ChannelI::getSystemObject(System **system) [SEE_ALSO] ] */ +// OFFSET: 0x008E0200 FMOD_RESULT ChannelI::play(SoundI *sound, bool paused, bool reset, bool startmuted) { FMOD_RESULT result; @@ -1355,6 +1369,7 @@ FMOD_RESULT ChannelI::play(SoundI *sound, bool paused, bool reset, bool startmut [SEE_ALSO] ] */ +// OFFSET: 0x008E0360 FMOD_RESULT ChannelI::play(DSPI *dsp, bool paused, bool reset, bool startmuted) { FMOD_RESULT result; @@ -1479,6 +1494,7 @@ FMOD_RESULT ChannelI::play(DSPI *dsp, bool paused, bool reset, bool startmuted) [SEE_ALSO] ] */ +// OFFSET: 0x008DD670 FMOD_RESULT ChannelI::alloc(SoundI *sound, bool reset) { FMOD_RESULT result; @@ -1655,6 +1671,7 @@ FMOD_RESULT ChannelI::alloc(SoundI *sound, bool reset) [SEE_ALSO] ] */ +// OFFSET: 0x008DD870 FMOD_RESULT ChannelI::alloc(DSPI *dsp, bool reset) { int count; @@ -1752,6 +1769,7 @@ FMOD_RESULT ChannelI::alloc(DSPI *dsp, bool reset) [SEE_ALSO] ] */ +// OFFSET: 0x008DDA10 FMOD_RESULT ChannelI::start() { FMOD_RESULT result; @@ -1799,6 +1817,7 @@ FMOD_RESULT ChannelI::start() [SEE_ALSO] ] */ +// OFFSET: 0x008DF5E0 FMOD_RESULT ChannelI::updateSyncPoints(bool seeking) { FMOD_RESULT result; @@ -1955,6 +1974,7 @@ FMOD_RESULT ChannelI::updateSyncPoints(bool seeking) [SEE_ALSO] ] */ +// OFFSET: 0x008E0850 FMOD_RESULT ChannelI::update(int delta, bool updategeometrynow) { FMOD_RESULT result; @@ -2237,6 +2257,7 @@ FMOD_RESULT ChannelI::update(int delta, bool updategeometrynow) [SEE_ALSO] ] */ +// OFFSET: 0x008DDA70 FMOD_RESULT ChannelI::calculate3DReverbGain(ReverbI *reverb, FMOD_VECTOR *channelpos, float *gain) { if (!gain) @@ -2323,6 +2344,7 @@ FMOD_RESULT ChannelI::updateStream() [SEE_ALSO] ] */ +// OFFSET: 0x008E0440 FMOD_RESULT ChannelI::stop() { return stopEx(CHANNELI_STOPFLAG_REFSTAMP | @@ -2349,6 +2371,7 @@ FMOD_RESULT ChannelI::stop() [SEE_ALSO] ] */ +// OFFSET: 0x008DF810 FMOD_RESULT ChannelI::stopEx(FMOD_CHANNEL_STOPFLAG stopflag) { FMOD_RESULT result; @@ -2538,6 +2561,7 @@ FMOD_RESULT ChannelI::stopEx(FMOD_CHANNEL_STOPFLAG stopflag) [SEE_ALSO] ] */ +// OFFSET: 0x008DDB00 FMOD_RESULT ChannelI::setPaused(bool paused) { FMOD_RESULT result = FMOD_OK; @@ -2672,6 +2696,7 @@ FMOD_RESULT ChannelI::getPaused(bool *paused) [SEE_ALSO] ] */ +// OFFSET: 0x008DDB90 FMOD_RESULT ChannelI::setVolume(float volume, bool forceupdatepos) { FMOD_RESULT result = FMOD_OK; @@ -2754,6 +2779,7 @@ FMOD_RESULT ChannelI::setVolume(float volume, bool forceupdatepos) [SEE_ALSO] ] */ +// OFFSET: 0x008DDC90 FMOD_RESULT ChannelI::getVolume(float *volume) { if (!volume) @@ -2787,6 +2813,7 @@ FMOD_RESULT ChannelI::getVolume(float *volume) [SEE_ALSO] ] */ +// OFFSET: 0x008DDCC0 FMOD_RESULT ChannelI::setFrequency(float frequency) { FMOD_RESULT result = FMOD_OK; @@ -2845,6 +2872,7 @@ FMOD_RESULT ChannelI::setFrequency(float frequency) [SEE_ALSO] ] */ +// OFFSET: 0x008DDD60 FMOD_RESULT ChannelI::getFrequency(float *frequency) { if (!frequency) @@ -2878,6 +2906,7 @@ FMOD_RESULT ChannelI::getFrequency(float *frequency) [SEE_ALSO] ] */ +// OFFSET: 0x008DDD90 FMOD_RESULT ChannelI::setPan(float pan, bool calldriver) { FMOD_RESULT result = FMOD_OK; @@ -2992,6 +3021,7 @@ FMOD_RESULT ChannelI::getPan(float *pan) [SEE_ALSO] ] */ +// OFFSET: 0x008DDEA0 FMOD_RESULT ChannelI::setDelay(FMOD_DELAYTYPE delaytype, unsigned int delayhi, unsigned int delaylo) { FMOD_RESULT result = FMOD_OK; @@ -3154,6 +3184,7 @@ FMOD_RESULT ChannelI::getDelay(FMOD_DELAYTYPE delaytype, unsigned int *delayhi, [SEE_ALSO] ] */ +// OFFSET: 0x008DDF00 FMOD_RESULT ChannelI::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright, bool calldriver) { FMOD_RESULT result = FMOD_OK; @@ -3272,6 +3303,7 @@ FMOD_RESULT ChannelI::getSpeakerMix(float *frontleft, float *frontright, float * [SEE_ALSO] ] */ +// OFFSET: 0x008DE100 FMOD_RESULT ChannelI::setSpeakerLevels(FMOD_SPEAKER speaker, float *levels, int numlevels, bool calldriver) { FMOD_RESULT result = FMOD_OK; @@ -3442,6 +3474,7 @@ FMOD_RESULT ChannelI::setSpeakerLevels(FMOD_SPEAKER speaker, float *levels, int [SEE_ALSO] ] */ +// OFFSET: 0x008DE460 FMOD_RESULT ChannelI::getSpeakerLevels(FMOD_SPEAKER speaker, float *levels, int numlevels) { int count; @@ -3607,6 +3640,7 @@ FMOD_RESULT ChannelI::getInputChannelMix(float *levels, int numlevels) [SEE_ALSO] ] */ +// OFFSET: 0x008DE5A0 FMOD_RESULT ChannelI::setMute(bool mute) { FMOD_RESULT result = FMOD_OK; @@ -3723,6 +3757,7 @@ FMOD_RESULT ChannelI::getMute(bool *mute) [SEE_ALSO] ] */ +// OFFSET: 0x008E0700 FMOD_RESULT ChannelI::setPriority(int priority) { if (priority < 0 || priority > FMOD_MAXPRIORITIES) @@ -3751,6 +3786,7 @@ FMOD_RESULT ChannelI::setPriority(int priority) [SEE_ALSO] ] */ +// OFFSET: 0x008DE660 FMOD_RESULT ChannelI::getPriority(int *priority) { if (!priority) @@ -3862,6 +3898,7 @@ FMOD_RESULT ChannelI::getLowPassGain(float *gain) [SEE_ALSO] ] */ +// OFFSET: 0x008DE680 FMOD_RESULT ChannelI::set3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR *vel) { FMOD_RESULT result = FMOD_OK; @@ -3978,6 +4015,7 @@ FMOD_RESULT ChannelI::set3DAttributes(const FMOD_VECTOR *pos, const FMOD_VECTOR [SEE_ALSO] ] */ +// OFFSET: 0x008DE7B0 FMOD_RESULT ChannelI::get3DAttributes(FMOD_VECTOR *pos, FMOD_VECTOR *vel) { if (!mRealChannel[0]) @@ -4023,6 +4061,7 @@ FMOD_RESULT ChannelI::get3DAttributes(FMOD_VECTOR *pos, FMOD_VECTOR *vel) [SEE_ALSO] ] */ +// OFFSET: 0x008E0CC0 FMOD_RESULT ChannelI::set3DMinMaxDistance(float mindistance, float maxdistance) { FMOD_RESULT result = FMOD_OK; @@ -4103,6 +4142,7 @@ FMOD_RESULT ChannelI::set3DMinMaxDistance(float mindistance, float maxdistance) [SEE_ALSO] ] */ +// OFFSET: 0x008DE820 FMOD_RESULT ChannelI::get3DMinMaxDistance(float *mindistance, float *maxdistance) { if (!mRealChannel[0]) @@ -4144,6 +4184,7 @@ FMOD_RESULT ChannelI::get3DMinMaxDistance(float *mindistance, float *maxdistance [SEE_ALSO] ] */ +// OFFSET: 0x008DE870 FMOD_RESULT ChannelI::set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume) { FMOD_RESULT result = FMOD_OK; @@ -4242,6 +4283,7 @@ FMOD_RESULT ChannelI::get3DConeSettings(float *insideconeangle, float *outsideco [SEE_ALSO] ] */ +// OFFSET: 0x008DE8F0 FMOD_RESULT ChannelI::set3DConeOrientation(FMOD_VECTOR *orientation) { FMOD_RESULT result = FMOD_OK; @@ -4399,6 +4441,7 @@ FMOD_RESULT ChannelI::get3DCustomRolloff(FMOD_VECTOR **points, int *numpoints) [SEE_ALSO] ] */ +// OFFSET: 0x008E0730 FMOD_RESULT ChannelI::set3DOcclusionInternal(float direct, float reverb, bool resettarget) { FMOD_RESULT result = FMOD_OK; @@ -4665,6 +4708,7 @@ FMOD_RESULT ChannelI::get3DSpread(float *angle) [SEE_ALSO] ] */ +// OFFSET: 0x008E0E00 FMOD_RESULT ChannelI::set3DPanLevel(float level) { if (!mRealChannel[0]) @@ -4707,6 +4751,7 @@ FMOD_RESULT ChannelI::set3DPanLevel(float level) [SEE_ALSO] ] */ +// OFFSET: 0x008DE950 FMOD_RESULT ChannelI::get3DPanLevel(float *level) { if (!mRealChannel[0]) @@ -4821,6 +4866,7 @@ FMOD_RESULT ChannelI::get3DDopplerLevel(float *level) [SEE_ALSO] ] */ +// OFFSET: 0x008DE990 FMOD_RESULT ChannelI::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result = FMOD_OK; @@ -4861,6 +4907,7 @@ FMOD_RESULT ChannelI::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *p [SEE_ALSO] ] */ +// OFFSET: 0x008DE9F0 FMOD_RESULT ChannelI::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { FMOD_RESULT result = FMOD_OK; @@ -4902,6 +4949,7 @@ FMOD_RESULT ChannelI::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) [SEE_ALSO] ] */ +// OFFSET: 0x008DEA50 FMOD_RESULT ChannelI::setChannelGroupInternal(ChannelGroupI *channelgroup, bool resetattributes, bool forcedspreconnect) { FMOD_RESULT result = FMOD_OK; @@ -5022,6 +5070,7 @@ FMOD_RESULT ChannelI::setChannelGroupInternal(ChannelGroupI *channelgroup, bool [SEE_ALSO] ] */ +// OFFSET: 0x008DECC0 FMOD_RESULT ChannelI::setChannelGroup(ChannelGroupI *channelgroup) { return setChannelGroupInternal(channelgroup, true); @@ -5071,6 +5120,7 @@ FMOD_RESULT ChannelI::getChannelGroup(ChannelGroupI **channelgroup) [SEE_ALSO] ] */ +// OFFSET: 0x008DECE0 FMOD_RESULT ChannelI::isPlaying(bool *isplaying) { FMOD_RESULT result; @@ -5168,6 +5218,7 @@ FMOD_RESULT ChannelI::isPlaying(bool *isplaying) [SEE_ALSO] ] */ +// OFFSET: 0x008DEDE0 FMOD_RESULT ChannelI::isVirtual(bool *isvirtual) { if (!isvirtual) @@ -5282,6 +5333,7 @@ FMOD_RESULT F_API ChannelI::getFinalFrequency(float *frequency) [SEE_ALSO] ] */ +// OFFSET: 0x008DEE20 FMOD_RESULT ChannelI::getAudibility(float *audibility) { return getAudibilityInternal(audibility, true); @@ -5303,6 +5355,7 @@ FMOD_RESULT ChannelI::getAudibility(float *audibility) [SEE_ALSO] ] */ +// OFFSET: 0x008DEEC0 FMOD_RESULT ChannelI::getCurrentSound(SoundI **sound) { if (!sound) @@ -5344,6 +5397,7 @@ FMOD_RESULT ChannelI::getCurrentSound(SoundI **sound) [SEE_ALSO] ] */ +// OFFSET: 0x008DEF10 FMOD_RESULT ChannelI::getCurrentDSP(DSPI **dsp) { if (!dsp) @@ -5487,6 +5541,7 @@ FMOD_RESULT ChannelI::getIndex(int *index) [SEE_ALSO] ] */ +// OFFSET: 0x008DEF40 FMOD_RESULT ChannelI::setCallback(FMOD_CHANNEL_CALLBACK callback) { if (!mRealChannel[0]) @@ -5532,6 +5587,7 @@ FMOD_RESULT ChannelI::setCallback(FMOD_CHANNEL_CALLBACK callback) [SEE_ALSO] ] */ +// OFFSET: 0x008DFA80 FMOD_RESULT ChannelI::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result = FMOD_OK; @@ -5768,6 +5824,7 @@ FMOD_RESULT ChannelI::setPosition(unsigned int position, FMOD_TIMEUNIT postype) [SEE_ALSO] ] */ +// OFFSET: 0x008DEFD0 FMOD_RESULT ChannelI::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { if (!position) @@ -5831,6 +5888,7 @@ FMOD_RESULT ChannelI::getDSPHead(DSPI **dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008DF010 FMOD_RESULT ChannelI::addDSP(DSPI *dsp, DSPConnectionI **dspconnection) { FMOD_RESULT result; @@ -5887,6 +5945,7 @@ FMOD_RESULT ChannelI::addDSP(DSPI *dsp, DSPConnectionI **dspconnection) [SEE_ALSO] ] */ +// OFFSET: 0x008E0E90 FMOD_RESULT ChannelI::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -6050,6 +6109,7 @@ FMOD_RESULT ChannelI::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x008DF270 FMOD_RESULT ChannelI::getMode(FMOD_MODE *mode) { if (!mode) @@ -6083,6 +6143,7 @@ FMOD_RESULT ChannelI::getMode(FMOD_MODE *mode) [SEE_ALSO] ] */ +// OFFSET: 0x008DF2A0 FMOD_RESULT ChannelI::setLoopCount(int loopcount) { FMOD_RESULT result = FMOD_OK; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_channelpool.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_channelpool.cpp index b87c943..b33b68d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_channelpool.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_channelpool.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E8960 ChannelPool::ChannelPool() { mChannel = 0; @@ -52,6 +53,7 @@ ChannelPool::ChannelPool() [SEE_ALSO] ] */ +// OFFSET: 0x008E8980 FMOD_RESULT ChannelPool::init(SystemI *system, Output *output, int numchannels) { if (numchannels < 0) @@ -91,6 +93,7 @@ FMOD_RESULT ChannelPool::init(SystemI *system, Output *output, int numchannels) [SEE_ALSO] ] */ +// OFFSET: 0x008E89E0 FMOD_RESULT ChannelPool::release() { int count; @@ -129,6 +132,7 @@ FMOD_RESULT ChannelPool::release() [SEE_ALSO] ] */ +// OFFSET: 0x008E8A50 FMOD_RESULT ChannelPool::allocateChannel(ChannelReal **realchannel, int index, int numchannels, int *found_out, bool ignorereserved) { int count; @@ -230,6 +234,7 @@ FMOD_RESULT ChannelPool::allocateChannel(ChannelReal **realchannel, int index, i [SEE_ALSO] ] */ +// OFFSET: 0x008E8BB0 FMOD_RESULT ChannelPool::getNumChannels(int *numchannels) { if (!numchannels) @@ -258,6 +263,7 @@ FMOD_RESULT ChannelPool::getNumChannels(int *numchannels) [SEE_ALSO] ] */ +// OFFSET: 0x008E8BD0 FMOD_RESULT ChannelPool::getChannelsUsed(int *numchannels) { if (!numchannels) @@ -286,6 +292,7 @@ FMOD_RESULT ChannelPool::getChannelsUsed(int *numchannels) [SEE_ALSO] ] */ +// OFFSET: 0x008E8BF0 FMOD_RESULT ChannelPool::setChannel(int index, ChannelReal *channel, DSPI *dspmixtarget) { if (!channel || index < 0 || index >= mNumChannels) @@ -315,6 +322,7 @@ FMOD_RESULT ChannelPool::setChannel(int index, ChannelReal *channel, DSPI *dspmi [SEE_ALSO] ] */ +// OFFSET: 0x008E8C40 FMOD_RESULT ChannelPool::getChannel(int index, ChannelReal **channel) { if (!channel || index < 0 || index >= mNumChannels) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec.cpp index 8a26c79..9cc70cd 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec.cpp @@ -24,6 +24,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091D2F0 FMOD_RESULT Codec::release() { FMOD_RESULT result; @@ -85,6 +86,7 @@ FMOD_RESULT Codec::release() [SEE_ALSO] ] */ +// OFFSET: 0x0091DD50 FMOD_RESULT Codec::read(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -182,6 +184,7 @@ FMOD_RESULT Codec::read(void *buffer, unsigned int sizebytes, unsigned int *byte [SEE_ALSO] ] */ +// OFFSET: 0x0091DCD0 FMOD_RESULT Codec::getMetadataFromFile() { FMOD_RESULT result = FMOD_OK; @@ -224,6 +227,7 @@ FMOD_RESULT Codec::getMetadataFromFile() [SEE_ALSO] ] */ +// OFFSET: 0x0091D390 FMOD_RESULT Codec::getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype) { FMOD_RESULT result; @@ -275,6 +279,7 @@ FMOD_RESULT Codec::getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype) [SEE_ALSO] ] */ +// OFFSET: 0x0091D4B0 FMOD_RESULT Codec::setPosition(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -388,6 +393,7 @@ FMOD_RESULT Codec::setPosition(int subsound, unsigned int position, FMOD_TIMEUNI [SEE_ALSO] ] */ +// OFFSET: 0x0091D400 FMOD_RESULT Codec::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -445,6 +451,7 @@ FMOD_RESULT Codec::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) FMOD_TAGDATATYPE ] */ +// OFFSET: 0x0091DC30 FMOD_RESULT Codec::metaData(FMOD_TAGTYPE type, const char *name, void *data, unsigned int datalen, FMOD_TAGDATATYPE datatype, bool unique) { if (!mMetadata) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_aiff.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_aiff.cpp index 14d7c87..1155712 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_aiff.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_aiff.cpp @@ -55,6 +55,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0090E2E0 FMOD_CODEC_DESCRIPTION_EX *CodecAIFF::getDescriptionEx() { FMOD_memset(&aiffcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -80,6 +81,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecAIFF::getDescriptionEx() /**************************************************************** * Extended precision IEEE floating-point conversion routine. ****************************************************************/ +// OFFSET: 0x0090D700 float ConvertFromIeeeExtended(unsigned char *bytes) { float f; @@ -141,6 +143,7 @@ float ConvertFromIeeeExtended(unsigned char *bytes) [SEE_ALSO] ] */ +// OFFSET: 0x0090D990 FMOD_RESULT CodecAIFF::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -555,6 +558,7 @@ FMOD_RESULT CodecAIFF::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090D7D0 FMOD_RESULT CodecAIFF::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result; @@ -694,6 +698,7 @@ FMOD_RESULT CodecAIFF::readInternal(void *buffer, unsigned int sizebytes, unsign [SEE_ALSO] ] */ +// OFFSET: 0x0090E0B0 FMOD_RESULT CodecAIFF::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -730,6 +735,7 @@ FMOD_RESULT CodecAIFF::setPositionInternal(int subsound, unsigned int position, [SEE_ALSO] ] */ +// OFFSET: 0x0090E270 FMOD_RESULT F_CALLBACK CodecAIFF::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecAIFF *aiff = (CodecAIFF *)codec; @@ -778,6 +784,7 @@ FMOD_RESULT F_CALLBACK CodecAIFF::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090D960 FMOD_RESULT F_CALLBACK CodecAIFF::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecAIFF *aiff = (CodecAIFF *)codec; @@ -801,6 +808,7 @@ FMOD_RESULT F_CALLBACK CodecAIFF::readCallback(FMOD_CODEC_STATE *codec, void *bu [SEE_ALSO] ] */ +// OFFSET: 0x0090E2B0 FMOD_RESULT F_CALLBACK CodecAIFF::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecAIFF *aiff = (CodecAIFF *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_dls.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_dls.cpp index e3dda72..c0e702f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_dls.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_dls.cpp @@ -53,6 +53,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x008F9F60 FMOD_CODEC_DESCRIPTION_EX *CodecDLS::getDescriptionEx() { FMOD_memset(&dlscodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -88,6 +89,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecDLS::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F8E40 FMOD_RESULT CodecDLS::parseChunk(char *parentchunk, unsigned int chunksize) { unsigned int offset, fileoffset; @@ -628,6 +630,7 @@ FMOD_RESULT CodecDLS::parseChunk(char *parentchunk, unsigned int chunksize) [SEE_ALSO] ] */ +// OFFSET: 0x008F9C00 FMOD_RESULT CodecDLS::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -710,6 +713,7 @@ FMOD_RESULT CodecDLS::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x008F8BE0 FMOD_RESULT CodecDLS::closeInternal() { if (waveformat) @@ -777,6 +781,7 @@ FMOD_RESULT CodecDLS::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F8D70 FMOD_RESULT CodecDLS::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -834,6 +839,7 @@ FMOD_RESULT CodecDLS::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x008F9D00 FMOD_RESULT CodecDLS::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result = FMOD_OK; @@ -887,6 +893,7 @@ FMOD_RESULT CodecDLS::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x008F9EF0 FMOD_RESULT F_CALLBACK CodecDLS::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecDLS *dls = (CodecDLS *)codec; @@ -911,6 +918,7 @@ FMOD_RESULT F_CALLBACK CodecDLS::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x008F8DE0 FMOD_RESULT F_CALLBACK CodecDLS::closeCallback(FMOD_CODEC_STATE *codec) { CodecDLS *dls = (CodecDLS *)codec; @@ -935,6 +943,7 @@ FMOD_RESULT F_CALLBACK CodecDLS::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008F8E10 FMOD_RESULT F_CALLBACK CodecDLS::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecDLS *dls = (CodecDLS *)codec; @@ -958,6 +967,7 @@ FMOD_RESULT F_CALLBACK CodecDLS::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x008F9F30 FMOD_RESULT F_CALLBACK CodecDLS::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecDLS *dls = (CodecDLS *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_flac.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_flac.cpp index 794d3fa..a05a6fa 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_flac.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_flac.cpp @@ -21,6 +21,7 @@ #ifdef PLUGIN_EXPORTS extern "C" { +// OFFSET: 0x0090CD90 void * FMOD_FLAC_Malloc(void *context, int size) { void *mem = FMOD_Memory_Alloc(size); @@ -34,6 +35,7 @@ void * FMOD_FLAC_Malloc(void *context, int size) return mem; } +// OFFSET: 0x0090CDC0 void * FMOD_FLAC_Calloc(void *context, int count, int size) { void *mem = FMOD_Memory_Calloc(count * size); @@ -46,6 +48,7 @@ void * FMOD_FLAC_Calloc(void *context, int count, int size) return mem; } +// OFFSET: 0x0090CDF0 void * FMOD_FLAC_ReAlloc(void *context, void *ptr, int size) { void *mem; @@ -68,6 +71,7 @@ void * FMOD_FLAC_ReAlloc(void *context, void *ptr, int size) return mem; } +// OFFSET: 0x0090CE20 void FMOD_FLAC_Free(void *context, void *ptr) { if (ptr) @@ -130,6 +134,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0090CE40 static FLAC__StreamDecoderReadStatus FMOD_FLAC_ReadCallback(const FLAC__StreamDecoder *decoder, FLAC__byte buffer[], size_t *bytes, void *client_data) { FMOD_RESULT result; @@ -150,6 +155,7 @@ static FLAC__StreamDecoderReadStatus FMOD_FLAC_ReadCallback(const FLAC__StreamDe } +// OFFSET: 0x0090CE80 static FLAC__StreamDecoderWriteStatus FMOD_FLAC_WriteCallback(const FLAC__StreamDecoder *decoder, const FLAC__Frame *frame, const FLAC__int32 * const buffer[], void *client_data) { CodecFLAC *codec; @@ -214,6 +220,7 @@ static FLAC__StreamDecoderWriteStatus FMOD_FLAC_WriteCallback(const FLAC__Stream } +// OFFSET: 0x0090CF60 static FLAC__StreamDecoderSeekStatus FMOD_FLAC_SeekCallback(const FLAC__StreamDecoder *decoder, FLAC__uint64 absolute_byte_offset, void *client_data) { CodecFLAC *codec; @@ -231,6 +238,7 @@ static FLAC__StreamDecoderSeekStatus FMOD_FLAC_SeekCallback(const FLAC__StreamDe } +// OFFSET: 0x0090CF80 static FLAC__StreamDecoderTellStatus FMOD_FLAC_TellCallback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *absolute_byte_offset, void *client_data) { unsigned int pos; @@ -250,6 +258,7 @@ static FLAC__StreamDecoderTellStatus FMOD_FLAC_TellCallback(const FLAC__StreamDe } +// OFFSET: 0x0090CFC0 static FLAC__StreamDecoderLengthStatus FMOD_FLAC_LengthCallback(const FLAC__StreamDecoder *decoder, FLAC__uint64 *stream_length, void *client_data) { unsigned int len; @@ -269,6 +278,7 @@ static FLAC__StreamDecoderLengthStatus FMOD_FLAC_LengthCallback(const FLAC__Stre } +// OFFSET: 0x0090D000 static FLAC__bool FMOD_FLAC_EofCallback(const FLAC__StreamDecoder *decoder, void *client_data) { unsigned int pos, len; @@ -305,6 +315,7 @@ static void FMOD_FLAC_ErrorCallback(const FLAC__StreamDecoder *decoder, FLAC__St } +// OFFSET: 0x0090D040 static void FMOD_FLAC_MetadataCallback(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *metadata, void *client_data) { CodecFLAC *codec; @@ -366,6 +377,7 @@ static void FMOD_FLAC_MetadataCallback(const FLAC__StreamDecoder *decoder, const [SEE_ALSO] ] */ +// OFFSET: 0x0090D680 FMOD_CODEC_DESCRIPTION_EX *CodecFLAC::getDescriptionEx() { FMOD_memset(&flaccodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -401,6 +413,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecFLAC::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x0090D340 FMOD_RESULT CodecFLAC::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { unsigned int rd; @@ -562,6 +575,7 @@ FMOD_RESULT CodecFLAC::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO * [SEE_ALSO] ] */ +// OFFSET: 0x0090D1B0 FMOD_RESULT CodecFLAC::closeInternal() { if (mDecoder) @@ -608,6 +622,7 @@ FMOD_RESULT CodecFLAC::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090D210 FMOD_RESULT CodecFLAC::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -702,6 +717,7 @@ FMOD_RESULT CodecFLAC::setPositionInternal(int subsound, unsigned int position, [SEE_ALSO] ] */ +// OFFSET: 0x0090D640 FMOD_RESULT F_CALLBACK CodecFLAC::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecFLAC *flac = (CodecFLAC *)codec; @@ -726,6 +742,7 @@ FMOD_RESULT F_CALLBACK CodecFLAC::openCallback(FMOD_CODEC_STATE *codec, FMOD_MOD [SEE_ALSO] ] */ +// OFFSET: 0x0090D280 FMOD_RESULT F_CALLBACK CodecFLAC::closeCallback(FMOD_CODEC_STATE *codec) { CodecFLAC *flac = (CodecFLAC *)codec; @@ -750,6 +767,7 @@ FMOD_RESULT F_CALLBACK CodecFLAC::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090D2B0 FMOD_RESULT F_CALLBACK CodecFLAC::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecFLAC *flac = (CodecFLAC *)codec; @@ -773,6 +791,7 @@ FMOD_RESULT F_CALLBACK CodecFLAC::readCallback(FMOD_CODEC_STATE *codec, void *bu [SEE_ALSO] ] */ +// OFFSET: 0x0090D2E0 FMOD_RESULT F_CALLBACK CodecFLAC::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecFLAC *flac = (CodecFLAC *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_fsb.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_fsb.cpp index 9cbf8fb..e1003e6 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_fsb.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_fsb.cpp @@ -97,6 +97,7 @@ CodecFSBCache CodecFSB::gCacheHead; [SEE_ALSO] ] */ +// OFFSET: 0x00912EC0 FMOD_CODEC_DESCRIPTION_EX *CodecFSB::getDescriptionEx() { FMOD_memset(&fsbcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -139,6 +140,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecFSB::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00911FD0 FMOD_RESULT CodecFSB::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { unsigned int rd; @@ -1834,6 +1836,7 @@ FMOD_RESULT CodecFSB::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x009106F0 FMOD_RESULT CodecFSB::closeInternal() { FLOG((FMOD_DEBUG_LEVEL_LOG, __FILE__, __LINE__, "CodecFSB::closeInternal", "\n")); @@ -2028,6 +2031,7 @@ FMOD_RESULT CodecFSB::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00911210 FMOD_RESULT CodecFSB::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -2453,6 +2457,7 @@ FMOD_RESULT CodecFSB::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x009117B0 FMOD_RESULT CodecFSB::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result = FMOD_OK; @@ -2643,6 +2648,7 @@ FMOD_RESULT CodecFSB::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x00911C70 FMOD_RESULT CodecFSB::getPositionInternal(unsigned int *position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -2773,6 +2779,7 @@ FMOD_RESULT CodecFSB::getSyncPointData(int subsound, int index, char **name, int [SEE_ALSO] ] */ +// OFFSET: 0x00911D00 FMOD_RESULT CodecFSB::soundcreateInternal(int subsound, FMOD_SOUND *sound) { FMOD_RESULT result; @@ -2847,6 +2854,7 @@ FMOD_RESULT CodecFSB::soundcreateInternal(int subsound, FMOD_SOUND *sound) [SEE_ALSO] ] */ +// OFFSET: 0x00910B00 FMOD_RESULT CodecFSB::getWaveFormatInternal(int index, FMOD_CODEC_WAVEFORMAT *waveformat_out) { FMOD_memset(waveformat_out, 0, sizeof(FMOD_CODEC_WAVEFORMAT)); @@ -3459,6 +3467,7 @@ FMOD_RESULT CodecFSB::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x009109D0 FMOD_RESULT CodecFSB::resetInternal() { #ifdef FMOD_SUPPORT_XMA @@ -3539,6 +3548,7 @@ FMOD_RESULT CodecFSB::canPointInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00912E80 FMOD_RESULT F_CALLBACK CodecFSB::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3562,6 +3572,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x00910A60 FMOD_RESULT F_CALLBACK CodecFSB::closeCallback(FMOD_CODEC_STATE *codec) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3585,6 +3596,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00911EF0 FMOD_RESULT F_CALLBACK CodecFSB::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3607,6 +3619,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x00911F20 FMOD_RESULT F_CALLBACK CodecFSB::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3629,6 +3642,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::setPositionCallback(FMOD_CODEC_STATE *codec, in [SEE_ALSO] ] */ +// OFFSET: 0x00911F50 FMOD_RESULT F_CALLBACK CodecFSB::getPositionCallback(FMOD_CODEC_STATE *codec, unsigned int *position, FMOD_TIMEUNIT postype) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3651,6 +3665,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::getPositionCallback(FMOD_CODEC_STATE *codec, un [SEE_ALSO] ] */ +// OFFSET: 0x00911F90 FMOD_RESULT F_CALLBACK CodecFSB::soundcreateCallback(FMOD_CODEC_STATE *codec, int subsound, FMOD_SOUND *sound) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3676,6 +3691,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::soundcreateCallback(FMOD_CODEC_STATE *codec, in [SEE_ALSO] ] */ +// OFFSET: 0x009111D0 FMOD_RESULT F_CALLBACK CodecFSB::getWaveFormatCallback(FMOD_CODEC_STATE *codec, int subsound, FMOD_CODEC_WAVEFORMAT *waveformat) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3700,6 +3716,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::getWaveFormatCallback(FMOD_CODEC_STATE *codec, [SEE_ALSO] ] */ +// OFFSET: 0x00910A90 FMOD_RESULT F_CALLBACK CodecFSB::resetCallback(FMOD_CODEC_STATE *codec) { CodecFSB *fsb = (CodecFSB *)codec; @@ -3723,6 +3740,7 @@ FMOD_RESULT F_CALLBACK CodecFSB::resetCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00910AC0 FMOD_RESULT F_CALLBACK CodecFSB::canPointCallback(FMOD_CODEC_STATE *codec) { CodecFSB *fsb = (CodecFSB *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_it.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_it.cpp index e545bbf..1867764 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_it.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_it.cpp @@ -65,6 +65,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00903A10 FMOD_CODEC_DESCRIPTION_EX *CodecIT::getDescriptionEx() { FMOD_memset(&itcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -107,6 +108,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecIT::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00900F50 FMOD_RESULT CodecIT::calculateLength() { waveformat[0].lengthpcm = 0; @@ -144,6 +146,7 @@ FMOD_RESULT CodecIT::calculateLength() [SEE_ALSO] ] */ +// OFFSET: 0x008FD3C0 FMOD_RESULT CodecIT::readBits(unsigned char b, unsigned int *result) /* reads b bits from the stream */ { unsigned int value,value2; @@ -217,6 +220,7 @@ FMOD_RESULT CodecIT::readBits(unsigned char b, unsigned int *result) /* reads b [SEE_ALSO] ] */ +// OFFSET: 0x008FD470 FMOD_RESULT CodecIT::readBlock(signed char **buff) /* gets block of compressed data from file */ { unsigned short size; @@ -283,6 +287,7 @@ FMOD_RESULT CodecIT::freeBlock() /* frees that block again */ [SEE_ALSO] ] */ +// OFFSET: 0x008FD4F0 FMOD_RESULT CodecIT::decompress8(void **src, void *dst, int len, bool it215, int channels) { signed char *destbuf; /* the destination buffer which will be returned */ @@ -416,6 +421,7 @@ FMOD_RESULT CodecIT::decompress8(void **src, void *dst, int len, bool it215, int [SEE_ALSO] ] */ +// OFFSET: 0x008FD6F0 FMOD_RESULT CodecIT::decompress16(void **src, void *dst, int len, bool it215, int channels) { short *destbuf; /* the destination buffer which will be returned */ @@ -555,6 +561,7 @@ FMOD_RESULT CodecIT::decompress16(void **src, void *dst, int len, bool it215, in [SEE_ALSO] ] */ +// OFFSET: 0x008FD900 FMOD_RESULT MusicChannelIT::volumeSlide() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -669,6 +676,7 @@ You just add to the speed +1 if there are 2. There is a flag you have to set li */ +// OFFSET: 0x008FD960 FMOD_RESULT MusicChannelIT::portamento() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -749,6 +757,7 @@ FMOD_RESULT MusicChannelIT::portamento() [SEE_ALSO] ] */ +// OFFSET: 0x008FDA10 FMOD_RESULT MusicChannelIT::vibrato() { int delta; @@ -834,6 +843,7 @@ FMOD_RESULT MusicChannelIT::vibrato() [SEE_ALSO] ] */ +// OFFSET: 0x008FDAF0 FMOD_RESULT MusicChannelIT::fineVibrato() { int delta; @@ -919,6 +929,7 @@ FMOD_RESULT MusicChannelIT::fineVibrato() [SEE_ALSO] ] */ +// OFFSET: 0x008FDBC0 FMOD_RESULT MusicChannelIT::tremolo() { unsigned char temp; @@ -1001,6 +1012,7 @@ FMOD_RESULT MusicChannelIT::tremolo() [SEE_ALSO] ] */ +// OFFSET: 0x008FDCB0 FMOD_RESULT MusicChannelIT::panbrello() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -1084,6 +1096,7 @@ FMOD_RESULT MusicChannelIT::panbrello() [SEE_ALSO] ] */ +// OFFSET: 0x008FDDB0 FMOD_RESULT CodecIT::processEnvelope(MusicEnvelopeState *env, MusicVirtualChannel *vcptr, int Inumpoints, MusicEnvelopeNode *v, int type, int mLoopStart, int loopend, int susmLoopStart, int susloopend, unsigned char control) { if (env->mPosition < Inumpoints) @@ -1200,6 +1213,7 @@ FMOD_RESULT CodecIT::processEnvelope(MusicEnvelopeState *env, MusicVirtualChanne [SEE_ALSO] ] */ +// OFFSET: 0x008FDF30 FMOD_RESULT CodecIT::processPitchEnvelope(MusicVirtualChannel *vcptr, MusicInstrument *iptr, int note) { /* @@ -1407,6 +1421,7 @@ FMOD_RESULT CodecIT::processPitchEnvelope(MusicVirtualChannel *vcptr, MusicInstr [SEE_ALSO] ] */ +// OFFSET: 0x008FE4D0 FMOD_RESULT CodecIT::sampleVibrato(MusicVirtualChannel *vcptr) { int delta = 0; @@ -1463,6 +1478,7 @@ FMOD_RESULT CodecIT::sampleVibrato(MusicVirtualChannel *vcptr) [SEE_ALSO] ] */ +// OFFSET: 0x008FE5C0 FMOD_RESULT MusicChannelIT::processVolumeByte(MusicNote *current, bool newrow) { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -1713,6 +1729,7 @@ FMOD_RESULT MusicChannelIT::processVolumeByte(MusicNote *current, bool newrow) [SEE_ALSO] ] */ +// OFFSET: 0x008FE800 FMOD_RESULT CodecIT::unpackRow() { unsigned char channelvariable; @@ -1807,6 +1824,7 @@ FMOD_RESULT CodecIT::unpackRow() [SEE_ALSO] ] */ +// OFFSET: 0x008FE980 FMOD_RESULT CodecIT::updateRow(bool audible) { MusicNote *current; @@ -3947,6 +3965,7 @@ FMOD_RESULT CodecIT::updateRow(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x009008D0 FMOD_RESULT CodecIT::update(bool audible) { if (mTick == 0) /* new note */ @@ -4088,6 +4107,7 @@ FMOD_RESULT CodecIT::update(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x00900AD0 FMOD_RESULT CodecIT::play(bool fromopen) { MusicSong::play(fromopen); @@ -4138,6 +4158,7 @@ FMOD_RESULT CodecIT::play(bool fromopen) [SEE_ALSO] ] */ +// OFFSET: 0x009013B0 FMOD_RESULT CodecIT::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { int count, highestorder; @@ -6221,6 +6242,7 @@ FMOD_RESULT CodecIT::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *us [SEE_ALSO] ] */ +// OFFSET: 0x00900B40 FMOD_RESULT CodecIT::closeInternal() { int count; @@ -6365,6 +6387,7 @@ FMOD_RESULT CodecIT::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00900FC0 FMOD_RESULT CodecIT::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -6463,6 +6486,7 @@ FMOD_RESULT CodecIT::readInternal(void *buffer, unsigned int sizebytes, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x00900E50 FMOD_RESULT CodecIT::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { if (postype == FMOD_TIMEUNIT_MODORDER) @@ -6529,6 +6553,7 @@ FMOD_RESULT CodecIT::setPositionInternal(int subsound, unsigned int position, FM [SEE_ALSO] ] */ +// OFFSET: 0x009039D0 FMOD_RESULT F_CALLBACK CodecIT::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecIT *cit = (CodecIT *)codec; @@ -6553,6 +6578,7 @@ FMOD_RESULT F_CALLBACK CodecIT::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x00900EF0 FMOD_RESULT F_CALLBACK CodecIT::closeCallback(FMOD_CODEC_STATE *codec) { CodecIT *cit = (CodecIT *)codec; @@ -6577,6 +6603,7 @@ FMOD_RESULT F_CALLBACK CodecIT::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00901380 FMOD_RESULT F_CALLBACK CodecIT::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecIT *cit = (CodecIT *)codec; @@ -6600,6 +6627,7 @@ FMOD_RESULT F_CALLBACK CodecIT::readCallback(FMOD_CODEC_STATE *codec, void *buff [SEE_ALSO] ] */ +// OFFSET: 0x00900F20 FMOD_RESULT F_CALLBACK CodecIT::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecIT *cit = (CodecIT *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_midi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_midi.cpp index 284d03d..c75aa44 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_midi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_midi.cpp @@ -83,6 +83,7 @@ const char *note[128] = [SEE_ALSO] ] */ +// OFFSET: 0x008FD340 FMOD_CODEC_DESCRIPTION_EX *CodecMIDI::getDescriptionEx() { FMOD_memset(&midicodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -379,6 +380,7 @@ FMOD_RESULT CodecMIDISubChannel::displayArticulators() [SEE_ALSO] ] */ +// OFFSET: 0x008F9FE0 FMOD_RESULT CodecMIDISubChannel::findArticulator(int src, int dest) { int blockcount; @@ -412,6 +414,7 @@ FMOD_RESULT CodecMIDISubChannel::findArticulator(int src, int dest) [SEE_ALSO] ] */ +// OFFSET: 0x008FA030 FMOD_RESULT CodecMIDISubChannel::articulateDest(CONN_SRC_FLAGS srcflags, int dest, int *usDestination) { int blockcount; @@ -657,6 +660,7 @@ static float gTimeCentsTable[TIMECENTSTABLENUM] = #endif +// OFFSET: 0x008FA390 float CodecMIDISubChannel::getTimeCentsFromlScale(int lScale) { if ((unsigned int)lScale == 0x80000000) @@ -692,6 +696,7 @@ float CodecMIDISubChannel::getTimeCentsFromlScale(int lScale) } +// OFFSET: 0x008FA400 FMOD_RESULT CodecMIDISubChannel::setUpArticulators() { mKeyOff = false; @@ -876,6 +881,7 @@ FMOD_RESULT CodecMIDISubChannel::setUpArticulators() [SEE_ALSO] ] */ +// OFFSET: 0x008FA810 FMOD_RESULT CodecMIDISubChannel::stop() { mChannel.stopEx(CHANNELI_STOPFLAG_RESETCALLBACKS); @@ -951,6 +957,7 @@ static float gDBToLinearTable[(96*2) + 1] = [SEE_ALSO] ] */ +// OFFSET: 0x008FA880 FMOD_RESULT CodecMIDISubChannel::updateVolume() { float eg1 = 1.0f, velocity, channelvol, expression, attenuation, tremolo = 1.0f; @@ -1134,6 +1141,7 @@ FMOD_RESULT CodecMIDISubChannel::updateVolume() [SEE_ALSO] ] */ +// OFFSET: 0x008FAB40 FMOD_RESULT CodecMIDISubChannel::updatePitch() { float eg2 = 0; @@ -1276,6 +1284,7 @@ FMOD_RESULT CodecMIDISubChannel::updatePitch() [SEE_ALSO] ] */ +// OFFSET: 0x008FADD0 FMOD_RESULT CodecMIDISubChannel::updatePan() { mChannel.setPan(((float)mParent->mPan / 64.0f) - 1.0f); @@ -1307,6 +1316,7 @@ FMOD_RESULT CodecMIDISubChannel::updatePan() [SEE_ALSO] ] */ +// OFFSET: 0x008FAE00 FMOD_RESULT CodecMIDIChannel::getSound(int key, SoundI **sound, CodecDLSInstrument **instrument, int *unitynote, int *finetune, int *sampleattenuation, bool *duplicateallowed, int *keygroup, int *numarticulators, DLS_CONNECTIONBLOCK **articulators) { CodecDLS *dls = mTrack->mMIDI->mDLS; @@ -1419,6 +1429,7 @@ FMOD_RESULT CodecMIDIChannel::getSound(int key, SoundI **sound, CodecDLSInstrume [SEE_ALSO] ] */ +// OFFSET: 0x008FB560 FMOD_RESULT CodecMIDIChannel::process(unsigned char event, bool reuse, unsigned char runningdata, bool calledfromopen) { FMOD_RESULT result; @@ -2254,6 +2265,7 @@ FMOD_RESULT CodecMIDIChannel::process(unsigned char event, bool reuse, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008FB010 FMOD_RESULT CodecMIDIChannel::update() { CodecMIDISubChannel *current; @@ -2308,6 +2320,7 @@ FMOD_RESULT CodecMIDIChannel::update() [SEE_ALSO] ] */ +// OFFSET: 0x008FB0C0 FMOD_RESULT CodecMIDITrack::readVarLen(unsigned int *result) { register unsigned int value = 0; @@ -2347,6 +2360,7 @@ FMOD_RESULT CodecMIDITrack::readVarLen(unsigned int *result) [SEE_ALSO] ] */ +// OFFSET: 0x008FB130 FMOD_RESULT CodecMIDITrack::readByte(unsigned char *result) { if (mOffset >= mLength) @@ -2376,6 +2390,7 @@ FMOD_RESULT CodecMIDITrack::readByte(unsigned char *result) [SEE_ALSO] ] */ +// OFFSET: 0x008FB160 FMOD_RESULT CodecMIDITrack::read(void *buff, int length) { if (mOffset >= mLength) @@ -2415,6 +2430,7 @@ FMOD_RESULT CodecMIDITrack::read(void *buff, int length) [SEE_ALSO] ] */ +// OFFSET: 0x008FB1B0 FMOD_RESULT CodecMIDITrack::addTag(const char *name, int length, bool calledfromopen) { FMOD_RESULT result; @@ -2460,6 +2476,7 @@ FMOD_RESULT CodecMIDITrack::addTag(const char *name, int length, bool calledfrom [SEE_ALSO] ] */ +// OFFSET: 0x008FBD90 FMOD_RESULT CodecMIDITrack::process(bool calledfromopen) { unsigned char event; @@ -2819,6 +2836,7 @@ FMOD_RESULT CodecMIDITrack::process(bool calledfromopen) [SEE_ALSO] ] */ +// OFFSET: 0x008FC3B0 FMOD_RESULT CodecMIDI::update(bool audible) { int count; @@ -2859,6 +2877,7 @@ FMOD_RESULT CodecMIDI::update(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x008FB270 FMOD_RESULT CodecMIDI::play(bool fromopen) { int count; @@ -2923,6 +2942,7 @@ FMOD_RESULT CodecMIDI::play(bool fromopen) [SEE_ALSO] ] */ +// OFFSET: 0x008FC850 FMOD_RESULT CodecMIDI::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -3411,6 +3431,7 @@ FMOD_RESULT CodecMIDI::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO * [SEE_ALSO] ] */ +// OFFSET: 0x008FB410 FMOD_RESULT CodecMIDI::closeInternal() { int count; @@ -3487,6 +3508,7 @@ FMOD_RESULT CodecMIDI::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008FC430 FMOD_RESULT CodecMIDI::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -3758,6 +3780,7 @@ FMOD_RESULT CodecMIDI::getMusicChannelVolumeInternal(int channel, float *volume) [SEE_ALSO] ] */ +// OFFSET: 0x008FD300 FMOD_RESULT F_CALLBACK CodecMIDI::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecMIDI *cmidi = (CodecMIDI *)codec; @@ -3781,6 +3804,7 @@ FMOD_RESULT F_CALLBACK CodecMIDI::openCallback(FMOD_CODEC_STATE *codec, FMOD_MOD [SEE_ALSO] ] */ +// OFFSET: 0x008FB530 FMOD_RESULT F_CALLBACK CodecMIDI::closeCallback(FMOD_CODEC_STATE *codec) { CodecMIDI *cmidi = (CodecMIDI *)codec; @@ -3804,6 +3828,7 @@ FMOD_RESULT F_CALLBACK CodecMIDI::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008FC7D0 FMOD_RESULT F_CALLBACK CodecMIDI::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecMIDI *cmidi = (CodecMIDI *)codec; @@ -3826,6 +3851,7 @@ FMOD_RESULT F_CALLBACK CodecMIDI::readCallback(FMOD_CODEC_STATE *codec, void *bu [SEE_ALSO] ] */ +// OFFSET: 0x008FC800 FMOD_RESULT F_CALLBACK CodecMIDI::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecMIDI *cmidi = (CodecMIDI *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mod.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mod.cpp index 79cc8ed..ada24bc 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mod.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mod.cpp @@ -61,6 +61,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0090CD00 FMOD_CODEC_DESCRIPTION_EX *CodecMOD::getDescriptionEx() { FMOD_memset(&modcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -102,6 +103,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecMOD::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x0090B960 FMOD_RESULT CodecMOD::calculateLength() { waveformat[0].lengthpcm = 0; @@ -157,6 +159,7 @@ int CodecMOD::getAmigaPeriod(int note, int middlec) [SEE_ALSO] ] */ +// OFFSET: 0x009076E0 FMOD_RESULT MusicChannelMOD::portamento() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -214,6 +217,7 @@ FMOD_RESULT MusicChannelMOD::portamento() [SEE_ALSO] ] */ +// OFFSET: 0x0090A630 FMOD_RESULT MusicChannelMOD::vibrato() { int delta; @@ -279,6 +283,7 @@ FMOD_RESULT MusicChannelMOD::vibrato() [SEE_ALSO] ] */ +// OFFSET: 0x0090A6F0 FMOD_RESULT MusicChannelMOD::tremolo() { int delta; @@ -350,6 +355,7 @@ FMOD_RESULT MusicChannelMOD::tremolo() [SEE_ALSO] ] */ +// OFFSET: 0x0090A7C0 FMOD_RESULT CodecMOD::updateNote(bool audible) { MusicNote *current; @@ -825,6 +831,7 @@ FMOD_RESULT CodecMOD::updateNote(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x0090AF70 FMOD_RESULT CodecMOD::updateEffects() { MusicNote *current; @@ -1139,6 +1146,7 @@ FMOD_RESULT CodecMOD::updateEffects() [SEE_ALSO] ] */ +// OFFSET: 0x0090B540 FMOD_RESULT CodecMOD::update(bool audible) { if (mTick == 0) /* new note */ @@ -1236,6 +1244,7 @@ FMOD_RESULT CodecMOD::update(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x0090BDA0 FMOD_RESULT CodecMOD::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -1956,6 +1965,7 @@ FMOD_RESULT CodecMOD::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x0090B680 FMOD_RESULT CodecMOD::closeInternal() { int count; @@ -2050,6 +2060,7 @@ FMOD_RESULT CodecMOD::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090B9B0 FMOD_RESULT CodecMOD::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -2151,6 +2162,7 @@ FMOD_RESULT CodecMOD::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x0090B860 FMOD_RESULT CodecMOD::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { if (postype == FMOD_TIMEUNIT_MODORDER) @@ -2216,6 +2228,7 @@ FMOD_RESULT CodecMOD::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x0090CCC0 FMOD_RESULT F_CALLBACK CodecMOD::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecMOD *cmod = (CodecMOD *)codec; @@ -2239,6 +2252,7 @@ FMOD_RESULT F_CALLBACK CodecMOD::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x0090B900 FMOD_RESULT F_CALLBACK CodecMOD::closeCallback(FMOD_CODEC_STATE *codec) { CodecMOD *cmod = (CodecMOD *)codec; @@ -2262,6 +2276,7 @@ FMOD_RESULT F_CALLBACK CodecMOD::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090BD70 FMOD_RESULT F_CALLBACK CodecMOD::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecMOD *cmod = (CodecMOD *)codec; @@ -2285,6 +2300,7 @@ FMOD_RESULT F_CALLBACK CodecMOD::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x0090B930 FMOD_RESULT F_CALLBACK CodecMOD::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype ) { CodecMOD *cmod = (CodecMOD *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg.cpp index ba6cd2e..7122b22 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg.cpp @@ -136,6 +136,7 @@ int CodecMPEG::gIntWinBase[] = [SEE_ALSO] ] */ +// OFFSET: 0x008F6CC0 FMOD_CODEC_DESCRIPTION_EX *CodecMPEG::getDescriptionEx() { FMOD_memset(&mpegcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -172,6 +173,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecMPEG::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F57E0 FMOD_RESULT CodecMPEG::makeTables(int scaleval) { int i,j,k,kr,divv; @@ -247,6 +249,7 @@ FMOD_RESULT CodecMPEG::makeTables(int scaleval) [SEE_ALSO] ] */ +// OFFSET: 0x008F5C70 FMOD_RESULT CodecMPEG::initAll() { FMOD_RESULT result; @@ -359,6 +362,7 @@ FMOD_RESULT CodecMPEG::closeAll() [SEE_ALSO] ] */ +// OFFSET: 0x008F5CA0 FMOD_RESULT CodecMPEG::getPCMLength() { FMOD_RESULT result; @@ -449,6 +453,7 @@ FMOD_RESULT CodecMPEG::getPCMLength() [SEE_ALSO] ] */ +// OFFSET: 0x008F64F0 FMOD_RESULT CodecMPEG::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -914,6 +919,7 @@ FMOD_RESULT CodecMPEG::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO * [SEE_ALSO] ] */ +// OFFSET: 0x008F5E20 FMOD_RESULT CodecMPEG::closeInternal() { if (mPCMBufferMemory) @@ -959,6 +965,7 @@ FMOD_RESULT CodecMPEG::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F5EE0 FMOD_RESULT CodecMPEG::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { int channel; @@ -1273,6 +1280,7 @@ FMOD_RESULT CodecMPEG::readInternal(void *buffer, unsigned int sizebytes, unsign [SEE_ALSO] ] */ +// OFFSET: 0x008F60E0 FMOD_RESULT CodecMPEG::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { #ifndef PLATFORM_PS3_SPU_STREAMDECODE @@ -1504,6 +1512,7 @@ FMOD_RESULT CodecMPEG::setPositionInternal(int subsound, unsigned int position, [SEE_ALSO] ] */ +// OFFSET: 0x008F6360 FMOD_RESULT CodecMPEG::soundCreateInternal(int subsound, FMOD_SOUND *sound) { #ifndef PLATFORM_PS3_SPU @@ -1548,6 +1557,7 @@ FMOD_RESULT CodecMPEG::soundCreateInternal(int subsound, FMOD_SOUND *sound) [SEE_ALSO] ] */ +// OFFSET: 0x008F6C80 FMOD_RESULT F_CALLBACK CodecMPEG::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecMPEG *mpeg = (CodecMPEG *)codec; @@ -1572,6 +1582,7 @@ FMOD_RESULT F_CALLBACK CodecMPEG::openCallback(FMOD_CODEC_STATE *codec, FMOD_MOD [SEE_ALSO] ] */ +// OFFSET: 0x008F63F0 FMOD_RESULT F_CALLBACK CodecMPEG::closeCallback(FMOD_CODEC_STATE *codec) { CodecMPEG *mpeg = (CodecMPEG *)codec; @@ -1596,6 +1607,7 @@ FMOD_RESULT F_CALLBACK CodecMPEG::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008F6420 FMOD_RESULT F_CALLBACK CodecMPEG::soundCreateCallback(FMOD_CODEC_STATE *codec, int subsound, FMOD_SOUND *sound) { CodecMPEG *mpeg = (CodecMPEG *)codec; @@ -1622,6 +1634,7 @@ FMOD_RESULT F_CALLBACK CodecMPEG::soundCreateCallback(FMOD_CODEC_STATE *codec, i [SEE_ALSO] ] */ +// OFFSET: 0x008F6460 FMOD_RESULT F_CALLBACK CodecMPEG::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecMPEG *mpeg = (CodecMPEG *)codec; @@ -1645,6 +1658,7 @@ FMOD_RESULT F_CALLBACK CodecMPEG::readCallback(FMOD_CODEC_STATE *codec, void *bu [SEE_ALSO] ] */ +// OFFSET: 0x008F6490 FMOD_RESULT F_CALLBACK CodecMPEG::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecMPEG *mpeg = (CodecMPEG *)codec; @@ -1668,6 +1682,7 @@ FMOD_RESULT F_CALLBACK CodecMPEG::setPositionCallback(FMOD_CODEC_STATE *codec, i [SEE_ALSO] ] */ +// OFFSET: 0x008F64C0 FMOD_RESULT F_CALLBACK CodecMPEG::resetCallback(FMOD_CODEC_STATE *codec) { CodecMPEG *mpeg = (CodecMPEG *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_decode.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_decode.cpp index 98460f6..0a2ebd7 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_decode.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_decode.cpp @@ -57,6 +57,7 @@ int CodecMPEG::gFreqs[9] = [SEE_ALSO] ] */ +// OFFSET: 0x0092C240 unsigned int CodecMPEG::getBits(int number_of_bits) { unsigned int rval; @@ -96,6 +97,7 @@ unsigned int CodecMPEG::getBits(int number_of_bits) [SEE_ALSO] ] */ +// OFFSET: 0x0092C2C0 unsigned int CodecMPEG::getBitsFast(int number_of_bits) { unsigned int rval; @@ -132,6 +134,7 @@ unsigned int CodecMPEG::getBitsFast(int number_of_bits) [SEE_ALSO] ] */ +// OFFSET: 0x0092C330 FMOD_RESULT CodecMPEG::decodeHeader(void *in, int *samplerate, int *channels, int *framesize) { #ifdef FMOD_SUPPORT_MPEG_SONYDECODER @@ -521,6 +524,7 @@ FMOD_RESULT CodecMPEG::decodeHeader(void *in, int *samplerate, int *channels, in [SEE_ALSO] ] */ +// OFFSET: 0x0092C670 FMOD_RESULT CodecMPEG::decodeXingHeader(unsigned char *in, unsigned char *toc, unsigned int *numframes) { int i, flags = 0; @@ -618,6 +622,7 @@ FMOD_RESULT CodecMPEG::decodeXingHeader(unsigned char *in, unsigned char *toc, u [SEE_ALSO] ] */ +// OFFSET: 0x0092C780 FMOD_RESULT CodecMPEG::decodeFrame(unsigned char *in, void *out, unsigned int *outlen) { FMOD_RESULT result = FMOD_OK; @@ -696,6 +701,7 @@ FMOD_RESULT CodecMPEG::decodeFrame(unsigned char *in, void *out, unsigned int *o [SEE_ALSO] ] */ +// OFFSET: 0x0092C880 FMOD_RESULT CodecMPEG::resetFrame() { if (mMemoryBlock) @@ -746,6 +752,7 @@ FMOD_RESULT CodecMPEG::resetFrame() [SEE_ALSO] ] */ +// OFFSET: 0x0092C930 void CodecMPEG::dct64(float *out0,float *out1,float *samples) { float b1[32], b2[32]; @@ -1061,6 +1068,7 @@ void CodecMPEG::dct64(float *out0,float *out1,float *samples) else if( (sum) < -32768.0f) { *(samples) = -0x8000; } \ else { *(samples) = (short)sum; } +// OFFSET: 0x0094B920 FMOD_RESULT CodecMPEG::synthC(float *b0, int bo1, int channelskip, signed short *samples) { register int j; @@ -1182,6 +1190,7 @@ FMOD_RESULT CodecMPEG::synthC(float *b0, int bo1, int channelskip, signed short [SEE_ALSO] ] */ +// OFFSET: 0x0092D300 FMOD_RESULT CodecMPEG::synth(void *samples, float *bandPtr, int channels, int channelskip) { int count; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer2.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer2.cpp index de06808..2ea1865 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer2.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer2.cpp @@ -229,6 +229,7 @@ struct al_table CodecMPEG::gAlloc4[] = [SEE_ALSO] ] */ +// OFFSET: 0x009317C0 FMOD_RESULT CodecMPEG::initLayer2() { float mulmul[27] = @@ -304,6 +305,7 @@ FMOD_RESULT CodecMPEG::initLayer2() [SEE_ALSO] ] */ +// OFFSET: 0x00931A60 FMOD_RESULT CodecMPEG::II_step_one(unsigned int *bit_alloc,int *scale) { int stereo = mMemoryBlock->mFrame.stereo-1; @@ -407,6 +409,7 @@ FMOD_RESULT CodecMPEG::II_step_one(unsigned int *bit_alloc,int *scale) [SEE_ALSO] ] */ +// OFFSET: 0x00931C90 FMOD_RESULT CodecMPEG::II_step_two(unsigned int *bit_alloc,float fraction[2][4][SBLIMIT],int *scale,int x1) { int i,j,k,ba; @@ -523,6 +526,7 @@ FMOD_RESULT CodecMPEG::II_step_two(unsigned int *bit_alloc,float fraction[2][4][ [SEE_ALSO] ] */ +// OFFSET: 0x009320D0 FMOD_RESULT CodecMPEG::getIIStuff() { int translate[3][2][16] = @@ -575,6 +579,7 @@ FMOD_RESULT CodecMPEG::getIIStuff() [SEE_ALSO] ] */ +// OFFSET: 0x00932380 FMOD_RESULT CodecMPEG::decodeLayer2(void *pcm_sample, unsigned int *outlen) { int i,j = 0; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer3.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer3.cpp index 661d11f..9f370a2 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer3.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_mpeg_layer3.cpp @@ -468,6 +468,7 @@ float CodecMPEG::gPow2_2[2][16]; [SEE_ALSO] ] */ +// OFFSET: 0x0092D450 FMOD_RESULT CodecMPEG::initLayer3(int down_sample_sblimit) { int i, j, k, l; @@ -746,6 +747,7 @@ FMOD_RESULT CodecMPEG::initLayer3(int down_sample_sblimit) [SEE_ALSO] ] */ +// OFFSET: 0x0092DDB0 FMOD_RESULT CodecMPEG::III_get_side_info_1(struct III_sideinfo *si, int stereo, int ms_stereo, int sfreq) { int ch, gr; @@ -860,6 +862,7 @@ FMOD_RESULT CodecMPEG::III_get_side_info_1(struct III_sideinfo *si, int stereo, [SEE_ALSO] ] */ +// OFFSET: 0x0092E140 FMOD_RESULT CodecMPEG::III_get_side_info_2(struct III_sideinfo *si, int stereo, int ms_stereo, int sfreq) { int ch; @@ -966,6 +969,7 @@ FMOD_RESULT CodecMPEG::III_get_side_info_2(struct III_sideinfo *si, int stereo, [SEE_ALSO] ] */ +// OFFSET: 0x0092E470 FMOD_RESULT CodecMPEG::III_get_scale_factors_1(int *scf,struct gr_info_s *gr_info, int *numbits) { static unsigned char slen[2][16] = @@ -1082,6 +1086,7 @@ FMOD_RESULT CodecMPEG::III_get_scale_factors_1(int *scf,struct gr_info_s *gr_inf [SEE_ALSO] ] */ +// OFFSET: 0x0092E680 FMOD_RESULT CodecMPEG::III_get_scale_factors_2(int *scf,struct gr_info_s *gr_info,int i_stereo, int *numbits) { unsigned char *pnt; @@ -1198,6 +1203,7 @@ static int pretab2[22] = [SEE_ALSO] ] */ +// OFFSET: 0x0092E790 FMOD_RESULT CodecMPEG::III_dequantize_sample(float xr[SBLIMIT][SSLIMIT],int *scf, struct gr_info_s *gr_info,int sfreq,int part2bits) { int shift = 1 + gr_info->scalefac_scale; @@ -1652,6 +1658,7 @@ FMOD_RESULT CodecMPEG::III_dequantize_sample(float xr[SBLIMIT][SSLIMIT],int *scf [SEE_ALSO] ] */ +// OFFSET: 0x0092F3C0 FMOD_RESULT CodecMPEG::III_dequantize_sample_ms(float xr[2][SBLIMIT][SSLIMIT], int *scf, struct gr_info_s *gr_info, int sfreq, int part2bits) { int shift = 1 + gr_info->scalefac_scale; @@ -2186,6 +2193,7 @@ FMOD_RESULT CodecMPEG::III_dequantize_sample_ms(float xr[2][SBLIMIT][SSLIMIT], i [SEE_ALSO] ] */ +// OFFSET: 0x00930220 FMOD_RESULT CodecMPEG::III_i_stereo(float xr_buf[2][SBLIMIT][SSLIMIT], int *scalefac, struct gr_info_s *gr_info, int sfreq, int ms_stereo, int lsf) { float (*xr)[SBLIMIT * SSLIMIT] = (float(*)[SBLIMIT * SSLIMIT]) xr_buf; @@ -2381,6 +2389,7 @@ FMOD_RESULT CodecMPEG::III_i_stereo(float xr_buf[2][SBLIMIT][SSLIMIT], int *scal [SEE_ALSO] ] */ +// OFFSET: 0x00930780 FMOD_RESULT CodecMPEG::III_antialias(float xr[SBLIMIT][SSLIMIT], struct gr_info_s *gr_info) { int sblim; @@ -2478,6 +2487,7 @@ FMOD_RESULT CodecMPEG::III_antialias(float xr[SBLIMIT][SSLIMIT], struct gr_info_ [SEE_ALSO] ] */ +// OFFSET: 0x00930950 void CodecMPEG::dct36(float * inbuf, float * o1, float * o2, float * wintab, float * tsbuf) { float tmp[18]; @@ -2640,6 +2650,7 @@ void CodecMPEG::dct36(float * inbuf, float * o1, float * o2, float * wintab, flo [SEE_ALSO] ] */ +// OFFSET: 0x00930E80 void CodecMPEG::dct12(float * in, float * rawout1, float * rawout2, register float * wi, register float * ts) { #define DCT12_PART1 \ @@ -2802,6 +2813,7 @@ void CodecMPEG::dct12(float * in, float * rawout1, float * rawout2, register flo [SEE_ALSO] ] */ +// OFFSET: 0x00931270 FMOD_RESULT CodecMPEG::III_hybrid(float fsIn[SBLIMIT][SSLIMIT], float tsOut[SSLIMIT][SBLIMIT], int ch, struct gr_info_s *gr_info) { float *tspnt = (float *) tsOut; @@ -2888,6 +2900,7 @@ int scale[] = [SEE_ALSO] ] */ +// OFFSET: 0x00931460 FMOD_RESULT CodecMPEG::decodeLayer3(void *pcm_sample, unsigned int *outlen) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_oggvorbis.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_oggvorbis.cpp index d0dfc51..f9ac2b1 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_oggvorbis.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_oggvorbis.cpp @@ -15,6 +15,7 @@ #include +// OFFSET: 0x0090E3D0 void * FMOD_OggVorbis_Malloc(void *context, int size) { void *mem = FMOD_Memory_Alloc(size); @@ -28,6 +29,7 @@ void * FMOD_OggVorbis_Malloc(void *context, int size) return mem; } +// OFFSET: 0x0090E400 void * FMOD_OggVorbis_Calloc(void *context, int count, int size) { void *mem = FMOD_Memory_Calloc(count * size); @@ -40,6 +42,7 @@ void * FMOD_OggVorbis_Calloc(void *context, int count, int size) return mem; } +// OFFSET: 0x0090E430 void * FMOD_OggVorbis_ReAlloc(void *context, void *ptr, int size) { void *mem; @@ -62,6 +65,7 @@ void * FMOD_OggVorbis_ReAlloc(void *context, void *ptr, int size) return mem; } +// OFFSET: 0x0090E460 void FMOD_OggVorbis_Free(void *context, void *ptr) { if (ptr && context) @@ -126,6 +130,7 @@ bool CodecOggVorbis::gInitialized = false; [SEE_ALSO] ] */ +// OFFSET: 0x0090E350 size_t FMOD_OggVorbis_ReadCallback(void *ptr, size_t size, size_t nmemb, void *datasource) { FMOD_RESULT result; @@ -159,6 +164,7 @@ size_t FMOD_OggVorbis_ReadCallback(void *ptr, size_t size, size_t nmemb, void *d [SEE_ALSO] ] */ +// OFFSET: 0x0090E380 int FMOD_OggVorbis_SeekCallback(void *datasource, ogg_int64_t offset, int whence) { File *fp = (File *)datasource; @@ -189,6 +195,7 @@ int FMOD_OggVorbis_SeekCallback(void *datasource, ogg_int64_t offset, int whence [SEE_ALSO] ] */ +// OFFSET: 0x0090E3B0 ogg_int32_t FMOD_OggVorbis_TellCallback(void *datasource) { File *fp = (File *)datasource; @@ -215,6 +222,7 @@ ogg_int32_t FMOD_OggVorbis_TellCallback(void *datasource) [SEE_ALSO] ] */ +// OFFSET: 0x0090EB40 FMOD_CODEC_DESCRIPTION_EX *CodecOggVorbis::getDescriptionEx() { FMOD_memset(&oggvorbiscodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -252,6 +260,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecOggVorbis::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x0090E6D0 FMOD_RESULT CodecOggVorbis::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -531,6 +540,7 @@ FMOD_RESULT CodecOggVorbis::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090E490 FMOD_RESULT CodecOggVorbis::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { int bigendian; @@ -638,6 +648,7 @@ FMOD_RESULT CodecOggVorbis::setPositionInternal(int subsound, unsigned int posit [SEE_ALSO] ] */ +// OFFSET: 0x0090E590 FMOD_RESULT CodecOggVorbis::readVorbisComments() { FMOD_RESULT result; @@ -715,6 +726,7 @@ FMOD_RESULT CodecOggVorbis::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x0090EB00 FMOD_RESULT F_CALLBACK CodecOggVorbis::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecOggVorbis *ogg = (CodecOggVorbis *)codec; @@ -738,6 +750,7 @@ FMOD_RESULT F_CALLBACK CodecOggVorbis::openCallback(FMOD_CODEC_STATE *codec, FMO [SEE_ALSO] ] */ +// OFFSET: 0x0090E630 FMOD_RESULT F_CALLBACK CodecOggVorbis::closeCallback(FMOD_CODEC_STATE *codec) { CodecOggVorbis *ogg = (CodecOggVorbis *)codec; @@ -761,6 +774,7 @@ FMOD_RESULT F_CALLBACK CodecOggVorbis::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090E660 FMOD_RESULT F_CALLBACK CodecOggVorbis::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecOggVorbis *ogg = (CodecOggVorbis *)codec; @@ -783,6 +797,7 @@ FMOD_RESULT F_CALLBACK CodecOggVorbis::readCallback(FMOD_CODEC_STATE *codec, voi [SEE_ALSO] ] */ +// OFFSET: 0x0090E690 FMOD_RESULT F_CALLBACK CodecOggVorbis::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecOggVorbis *ogg = (CodecOggVorbis *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_playlist.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_playlist.cpp index 25be666..7fd0c0d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_playlist.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_playlist.cpp @@ -56,6 +56,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x008F7BC0 FMOD_CODEC_DESCRIPTION_EX *CodecPlaylist::getDescriptionEx() { FMOD_memset(&playlistcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -91,6 +92,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecPlaylist::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F7990 FMOD_RESULT CodecPlaylist::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_ERR_FORMAT; @@ -228,6 +230,7 @@ FMOD_RESULT CodecPlaylist::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXIN [SEE_ALSO] ] */ +// OFFSET: 0x008F7470 FMOD_RESULT CodecPlaylist::readASX() { FMOD_RESULT result; @@ -567,6 +570,7 @@ FMOD_RESULT CodecPlaylist::readB4S() [SEE_ALSO] ] */ +// OFFSET: 0x008F6DD0 FMOD_RESULT CodecPlaylist::getNextXMLTag(char *tagname, int *tagnamesize, char *tagdata, int *tagdatasize) { FMOD_RESULT result; @@ -699,6 +703,7 @@ FMOD_RESULT CodecPlaylist::getNextXMLTag(char *tagname, int *tagnamesize, char * [SEE_ALSO] ] */ +// OFFSET: 0x008F6EF0 FMOD_RESULT CodecPlaylist::readM3U() { FMOD_RESULT result; @@ -879,6 +884,7 @@ FMOD_RESULT CodecPlaylist::readM3U() [SEE_ALSO] ] */ +// OFFSET: 0x008F76F0 FMOD_RESULT CodecPlaylist::readPLS() { FMOD_RESULT result; @@ -990,6 +996,7 @@ FMOD_RESULT CodecPlaylist::readPLS() [SEE_ALSO] ] */ +// OFFSET: 0x008F7180 FMOD_RESULT CodecPlaylist::getPLSToken(char *buffer, int length, int *tokensize) { FMOD_RESULT result = FMOD_OK; @@ -1132,6 +1139,7 @@ FMOD_RESULT CodecPlaylist::getPLSToken(char *buffer, int length, int *tokensize) [SEE_ALSO] ] */ +// OFFSET: 0x008F7910 FMOD_RESULT CodecPlaylist::readSimple() { FMOD_RESULT result; @@ -1181,6 +1189,7 @@ FMOD_RESULT CodecPlaylist::readSimple() [SEE_ALSO] ] */ +// OFFSET: 0x008F7330 FMOD_RESULT CodecPlaylist::readLine(char *buffer, int length, int *linelength) { FMOD_RESULT result; @@ -1235,6 +1244,7 @@ FMOD_RESULT CodecPlaylist::readLine(char *buffer, int length, int *linelength) [SEE_ALSO] ] */ +// OFFSET: 0x008F73C0 FMOD_RESULT CodecPlaylist::skipSimpleComments() { FMOD_RESULT result = FMOD_OK; @@ -1357,6 +1367,7 @@ FMOD_RESULT CodecPlaylist::getQuoteData(const char *tag, char *buffer, int *data [SEE_ALSO] ] */ +// OFFSET: 0x008F6D50 FMOD_RESULT CodecPlaylist::skipWhiteSpace(int *numwhitespaces) { FMOD_RESULT result; @@ -1478,6 +1489,7 @@ FMOD_RESULT CodecPlaylist::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F7B80 FMOD_RESULT F_CALLBACK CodecPlaylist::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecPlaylist *playlist = (CodecPlaylist *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_raw.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_raw.cpp index ace9fbb..d669204 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_raw.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_raw.cpp @@ -69,6 +69,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x008F5760 FMOD_CODEC_DESCRIPTION_EX *CodecRaw::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -115,6 +116,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecRaw::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F5440 FMOD_RESULT CodecRaw::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -282,6 +284,7 @@ FMOD_RESULT CodecRaw::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x008F5340 FMOD_RESULT CodecRaw::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -346,6 +349,7 @@ FMOD_RESULT CodecRaw::canPointInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F5720 FMOD_RESULT F_CALLBACK CodecRaw::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecRaw *raw = (CodecRaw *)codec; @@ -395,6 +399,7 @@ FMOD_RESULT F_CALLBACK CodecRaw::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008F53A0 FMOD_RESULT F_CALLBACK CodecRaw::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecRaw *raw = (CodecRaw *)codec; @@ -419,6 +424,7 @@ FMOD_RESULT F_CALLBACK CodecRaw::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x008F5410 FMOD_RESULT F_CALLBACK CodecRaw::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecRaw *raw = (CodecRaw *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_s3m.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_s3m.cpp index cb625aa..de9f9ce 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_s3m.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_s3m.cpp @@ -62,6 +62,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0090A5A0 FMOD_CODEC_DESCRIPTION_EX *CodecS3M::getDescriptionEx() { FMOD_memset(&s3mcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -104,6 +105,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecS3M::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00908EF0 FMOD_RESULT CodecS3M::calculateLength() { waveformat[0].lengthpcm = 0; @@ -137,6 +139,7 @@ FMOD_RESULT CodecS3M::calculateLength() [SEE_ALSO] ] */ +// OFFSET: 0x00907680 FMOD_RESULT MusicChannelS3M::volumeSlide() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -305,6 +308,7 @@ FMOD_RESULT MusicChannelS3M::vibrato() [SEE_ALSO] ] */ +// OFFSET: 0x00907750 FMOD_RESULT MusicChannelS3M::tremolo() { int delta; @@ -378,6 +382,7 @@ FMOD_RESULT MusicChannelS3M::tremolo() [SEE_ALSO] ] */ +// OFFSET: 0x00907830 FMOD_RESULT MusicChannelS3M::fineVibrato() { int delta; @@ -443,6 +448,7 @@ FMOD_RESULT MusicChannelS3M::fineVibrato() [SEE_ALSO] ] */ +// OFFSET: 0x009078F0 FMOD_RESULT CodecS3M::updateNote(bool audible) { MusicNote *current; @@ -1070,6 +1076,7 @@ FMOD_RESULT CodecS3M::updateNote(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x00908320 FMOD_RESULT CodecS3M::updateEffects() { MusicNote *current; @@ -1443,6 +1450,7 @@ FMOD_RESULT CodecS3M::updateEffects() [SEE_ALSO] ] */ +// OFFSET: 0x00908AF0 FMOD_RESULT CodecS3M::update(bool audible) { if (mTick == 0) /* new note */ @@ -1532,6 +1540,7 @@ FMOD_RESULT CodecS3M::update(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x00909330 FMOD_RESULT CodecS3M::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { unsigned char remap[32], st3pan, mastervol, temp[4]; @@ -2507,6 +2516,7 @@ FMOD_RESULT CodecS3M::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x00908C10 FMOD_RESULT CodecS3M::closeInternal() { int count; @@ -2602,6 +2612,7 @@ FMOD_RESULT CodecS3M::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00908F40 FMOD_RESULT CodecS3M::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -2705,6 +2716,7 @@ FMOD_RESULT CodecS3M::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x00908DF0 FMOD_RESULT CodecS3M::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { if (postype == FMOD_TIMEUNIT_MODORDER) @@ -2771,6 +2783,7 @@ FMOD_RESULT CodecS3M::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x0090A560 FMOD_RESULT F_CALLBACK CodecS3M::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecS3M *cs3m = (CodecS3M *)codec; @@ -2795,6 +2808,7 @@ FMOD_RESULT F_CALLBACK CodecS3M::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x00908E90 FMOD_RESULT F_CALLBACK CodecS3M::closeCallback(FMOD_CODEC_STATE *codec) { CodecS3M *cs3m = (CodecS3M *)codec; @@ -2819,6 +2833,7 @@ FMOD_RESULT F_CALLBACK CodecS3M::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00909300 FMOD_RESULT F_CALLBACK CodecS3M::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecS3M *cs3m = (CodecS3M *)codec; @@ -2842,6 +2857,7 @@ FMOD_RESULT F_CALLBACK CodecS3M::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x00908EC0 FMOD_RESULT F_CALLBACK CodecS3M::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype ) { CodecS3M *cs3m = (CodecS3M *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_swvag.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_swvag.cpp index da0db41..73d2633 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_swvag.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_swvag.cpp @@ -55,6 +55,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00910670 FMOD_CODEC_DESCRIPTION_EX *CodecVAG::getDescriptionEx() { FMOD_memset(&vagcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -90,6 +91,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecVAG::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00910270 FMOD_RESULT CodecVAG::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -194,6 +196,7 @@ FMOD_RESULT CodecVAG::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x009103D0 FMOD_RESULT CodecVAG::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result; @@ -329,6 +332,7 @@ FMOD_RESULT CodecVAG::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x009105A0 FMOD_RESULT CodecVAG::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -370,6 +374,7 @@ FMOD_RESULT CodecVAG::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x00910530 FMOD_RESULT F_CALLBACK CodecVAG::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecVAG *vag = (CodecVAG *)codec; @@ -418,6 +423,7 @@ FMOD_RESULT F_CALLBACK CodecVAG::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00910570 FMOD_RESULT F_CALLBACK CodecVAG::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecVAG *vag = (CodecVAG *)codec; @@ -441,6 +447,7 @@ FMOD_RESULT F_CALLBACK CodecVAG::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x00910640 FMOD_RESULT F_CALLBACK CodecVAG::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecVAG *vag = (CodecVAG *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_tag.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_tag.cpp index 1096d84..660ec6f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_tag.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_tag.cpp @@ -96,6 +96,7 @@ typedef struct [SEE_ALSO] ] */ +// OFFSET: 0x00914990 FMOD_CODEC_DESCRIPTION_EX *CodecTag::getDescriptionEx() { FMOD_memset(&tagcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -131,6 +132,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecTag::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00914890 FMOD_RESULT CodecTag::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -230,6 +232,7 @@ FMOD_RESULT CodecTag::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00914550 FMOD_RESULT CodecTag::readTags() { FMOD_RESULT result = FMOD_OK; @@ -438,6 +441,7 @@ FMOD_RESULT CodecTag::readTags() [SEE_ALSO] ] */ +// OFFSET: 0x009134A0 FMOD_RESULT CodecTag::readID3v1() { FMOD_RESULT result; @@ -561,6 +565,7 @@ FMOD_RESULT CodecTag::readID3v1() [SEE_ALSO] ] */ +// OFFSET: 0x00913800 FMOD_RESULT CodecTag::readID3v2() { FMOD_RESULT result; @@ -780,6 +785,7 @@ FMOD_RESULT CodecTag::readID3v2() [SEE_ALSO] ] */ +// OFFSET: 0x00913BE0 FMOD_RESULT CodecTag::readID3v2FromFooter() { FMOD_RESULT result; @@ -871,6 +877,7 @@ FMOD_RESULT CodecTag::readID3v2FromFooter() [SEE_ALSO] ] */ +// OFFSET: 0x00913CE0 FMOD_RESULT CodecTag::readASF() { FMOD_RESULT result; @@ -1235,6 +1242,7 @@ FMOD_RESULT CodecTag::readASF() [SEE_ALSO] ] */ +// OFFSET: 0x00914950 FMOD_RESULT F_CALLBACK CodecTag::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecTag *tag = (CodecTag *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_user.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_user.cpp index b74757b..4a86a14 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_user.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_user.cpp @@ -55,6 +55,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x008E8F30 FMOD_CODEC_DESCRIPTION_EX *CodecUser::getDescriptionEx() { FMOD_memset(&usercodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -90,6 +91,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecUser::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008E8CF0 FMOD_RESULT CodecUser::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -246,6 +248,7 @@ FMOD_RESULT CodecUser::setPositionInternal(int subsound, unsigned int position, [SEE_ALSO] ] */ +// OFFSET: 0x008E8EF0 FMOD_RESULT F_CALLBACK CodecUser::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecUser *cuser = (CodecUser *)codec; @@ -294,6 +297,7 @@ FMOD_RESULT F_CALLBACK CodecUser::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008E8CD0 FMOD_RESULT F_CALLBACK CodecUser::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecUser *cuser = (CodecUser *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav.cpp index 5bd9a2f..e44217c 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav.cpp @@ -67,6 +67,7 @@ static const FMOD_GUID _KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = { 0x00000003, 0x0000, [SEE_ALSO] ] */ +// OFFSET: 0x009101E0 FMOD_CODEC_DESCRIPTION_EX *CodecWav::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -127,6 +128,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecWav::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x0090EBC0 FMOD_RESULT CodecWav::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result; @@ -535,6 +537,7 @@ FMOD_RESULT CodecWav::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x0090F550 FMOD_RESULT CodecWav::closeInternal() { if (mSrcFormat && mSrcFormat != &mSrcFormatMemory) @@ -590,6 +593,7 @@ FMOD_RESULT CodecWav::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090F650 FMOD_RESULT CodecWav::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result; @@ -802,6 +806,7 @@ FMOD_RESULT CodecWav::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x0090FE20 FMOD_RESULT CodecWav::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -893,6 +898,7 @@ FMOD_RESULT CodecWav::setPositionInternal(int subsound, unsigned int position, F [SEE_ALSO] ] */ +// OFFSET: 0x0090FAF0 FMOD_RESULT CodecWav::soundCreateInternal(int subsound, FMOD_SOUND *sound) { FMOD_RESULT result = FMOD_OK; @@ -932,6 +938,7 @@ FMOD_RESULT CodecWav::soundCreateInternal(int subsound, FMOD_SOUND *sound) [SEE_ALSO] ] */ +// OFFSET: 0x0090FB80 FMOD_RESULT CodecWav::canPointInternal() { #if defined(PLATFORM_WINDOWS) && !defined(__MINGW32__) && !defined(PLUGIN_FSB) @@ -986,6 +993,7 @@ FMOD_RESULT CodecWav::canPointInternal() [SEE_ALSO] ] */ +// OFFSET: 0x0090FD10 FMOD_RESULT F_CALLBACK CodecWav::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecWav *wav = (CodecWav *)codec; @@ -1009,6 +1017,7 @@ FMOD_RESULT F_CALLBACK CodecWav::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x0090FD50 FMOD_RESULT F_CALLBACK CodecWav::closeCallback(FMOD_CODEC_STATE *codec) { CodecWav *wav = (CodecWav *)codec; @@ -1032,6 +1041,7 @@ FMOD_RESULT F_CALLBACK CodecWav::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090FD80 FMOD_RESULT F_CALLBACK CodecWav::soundCreateCallback(FMOD_CODEC_STATE *codec, int subsound, FMOD_SOUND *sound) { CodecWav *wav = (CodecWav *)codec; @@ -1055,6 +1065,7 @@ FMOD_RESULT F_CALLBACK CodecWav::soundCreateCallback(FMOD_CODEC_STATE *codec, in [SEE_ALSO] ] */ +// OFFSET: 0x0090FDC0 FMOD_RESULT F_CALLBACK CodecWav::canPointCallback(FMOD_CODEC_STATE *codec) { CodecWav *wav = (CodecWav *)codec; @@ -1081,6 +1092,7 @@ FMOD_RESULT F_CALLBACK CodecWav::canPointCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x0090FDF0 FMOD_RESULT F_CALLBACK CodecWav::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecWav *wav = (CodecWav *)codec; @@ -1104,6 +1116,7 @@ FMOD_RESULT F_CALLBACK CodecWav::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x009101B0 FMOD_RESULT F_CALLBACK CodecWav::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecWav *wav = (CodecWav *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_imaadpcm.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_imaadpcm.cpp index 3a8da25..13bcc48 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_imaadpcm.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_imaadpcm.cpp @@ -247,6 +247,7 @@ FMOD_INLINE int IMAAdpcm_DecodeSample(int nEncodedSample, int nPredictedSample, +// OFFSET: 0x009356E0 FMOD_RESULT IMAAdpcm_DecodeM16(unsigned char *pbSrc, signed short *pbDst, unsigned int cBlocks, unsigned int nBlockAlignment, unsigned int cSamplesPerBlock, int channels) { FMOD_RESULT result = FMOD_OK; @@ -351,6 +352,7 @@ FMOD_RESULT IMAAdpcm_DecodeM16(unsigned char *pbSrc, signed short *pbDst, unsign } +// OFFSET: 0x00935A60 FMOD_RESULT IMAAdpcm_DecodeS16(unsigned char *pbSrc, signed short *pbDst, unsigned int cBlocks, unsigned int nBlockAlignment, unsigned int cSamplesPerBlock) { FMOD_RESULT result = FMOD_OK; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_riff.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_riff.cpp index 54c5b31..f6358e8 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_riff.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_wav_riff.cpp @@ -25,6 +25,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00932440 FMOD_RESULT CodecWav::parseChunk(unsigned int chunksize) { unsigned int offset, fileoffset; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_xm.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_xm.cpp index c0d327c..f413d7a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codec_xm.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codec_xm.cpp @@ -62,6 +62,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x009075F0 FMOD_CODEC_DESCRIPTION_EX *CodecXM::getDescriptionEx() { FMOD_memset(&xmcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -105,6 +106,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecXM::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00905E30 FMOD_RESULT CodecXM::calculateLength() { waveformat[0].lengthpcm = 0; @@ -149,6 +151,7 @@ FMOD_RESULT CodecXM::calculateLength() [SEE_ALSO] ] */ +// OFFSET: 0x00903AA0 FMOD_RESULT CodecXM::spawnNewChannel(MusicChannel *cptr, MusicVirtualChannel *oldvcptr, MusicSample *sptr, MusicVirtualChannel **newvcptr) { if (oldvcptr == &gDummyVirtualChannel) /* bugfix - fmod 3.11 - instrument starting with no channel was just ignoring settings. */ @@ -189,6 +192,7 @@ FMOD_RESULT CodecXM::spawnNewChannel(MusicChannel *cptr, MusicVirtualChannel *ol [SEE_ALSO] ] */ +// OFFSET: 0x00903AE0 FMOD_RESULT CodecXM::updateFlags(MusicChannel *cptr, MusicVirtualChannel *vcptr, MusicSample *sptr) { if (!(vcptr->mFrequency + vcptr->mFrequencyDelta)) @@ -297,6 +301,7 @@ FMOD_RESULT CodecXM::updateFlags(MusicChannel *cptr, MusicVirtualChannel *vcptr, [SEE_ALSO] ] */ +// OFFSET: 0x00903C30 FMOD_RESULT MusicChannelXM::portamento() { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -353,6 +358,7 @@ FMOD_RESULT MusicChannelXM::portamento() [SEE_ALSO] ] */ +// OFFSET: 0x00903CA0 FMOD_RESULT MusicChannelXM::vibrato() { int delta; @@ -414,6 +420,7 @@ FMOD_RESULT MusicChannelXM::vibrato() [SEE_ALSO] ] */ +// OFFSET: 0x00903D40 FMOD_RESULT MusicChannelXM::tremolo() { unsigned char temp; @@ -482,6 +489,7 @@ FMOD_RESULT MusicChannelXM::tremolo() [SEE_ALSO] ] */ +// OFFSET: 0x00903E50 FMOD_RESULT CodecXM::processEnvelope(MusicEnvelopeState *env, MusicVirtualChannel *vcptr, int Inumpoints, unsigned short *points, int type, int loopstart, int loopend, unsigned char ISustain, unsigned char control) { if (env->mPosition < Inumpoints) @@ -585,6 +593,7 @@ FMOD_RESULT CodecXM::processEnvelope(MusicEnvelopeState *env, MusicVirtualChanne [SEE_ALSO] ] */ +// OFFSET: 0x00903F70 FMOD_RESULT MusicChannelXM::instrumentVibrato(MusicInstrument *iptr) { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -651,6 +660,7 @@ FMOD_RESULT MusicChannelXM::instrumentVibrato(MusicInstrument *iptr) [SEE_ALSO] ] */ +// OFFSET: 0x009040B0 FMOD_RESULT MusicChannelXM::processVolumeByte(unsigned char volume) { MusicVirtualChannel *vcptr = (MusicVirtualChannel *)mVirtualChannelHead.getNext(); @@ -763,6 +773,7 @@ FMOD_RESULT MusicChannelXM::processVolumeByte(unsigned char volume) [SEE_ALSO] ] */ +// OFFSET: 0x00904220 FMOD_RESULT CodecXM::getAmigaPeriod(int note, int finetune, int *period) { *period = gPeriodTable[note]; @@ -802,6 +813,7 @@ FMOD_RESULT CodecXM::getAmigaPeriod(int note, int finetune, int *period) [SEE_ALSO] ] */ +// OFFSET: 0x00904270 FMOD_RESULT CodecXM::processNote(MusicNote *current, MusicChannelXM *cptr, MusicVirtualChannel *vcptr, MusicInstrument *iptr, MusicSample *sptr) { /* @@ -911,6 +923,7 @@ FMOD_RESULT CodecXM::processNote(MusicNote *current, MusicChannelXM *cptr, Music [SEE_ALSO] ] */ +// OFFSET: 0x00904440 FMOD_RESULT CodecXM::updateNote(bool audible) { MusicNote *current; @@ -1568,6 +1581,7 @@ FMOD_RESULT CodecXM::updateNote(bool audible) [SEE_ALSO] ] */ +// OFFSET: 0x00904F00 FMOD_RESULT CodecXM::updateEffects() { MusicNote *current; @@ -2101,6 +2115,7 @@ FMOD_RESULT CodecXM::updateEffects() [SEE_ALSO] ] */ +// OFFSET: 0x009059C0 FMOD_RESULT CodecXM::update(bool audible) { //FLOG((FMOD_DEBUG_LEVEL_ERROR, __FILE__, __LINE__, "CodecXM::update", "tick %d row %d\n", mTick, mRow)); @@ -2380,6 +2395,7 @@ int CodecXM::EncodeVAG_pcm2vag(unsigned char *vag, short *wave, int sample_len, [SEE_ALSO] ] */ +// OFFSET: 0x00906270 FMOD_RESULT CodecXM::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { unsigned short filenumpatterns=0; @@ -3577,6 +3593,7 @@ FMOD_RESULT CodecXM::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *us [SEE_ALSO] ] */ +// OFFSET: 0x00905B00 FMOD_RESULT CodecXM::closeInternal() { int count; @@ -3689,6 +3706,7 @@ FMOD_RESULT CodecXM::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00905E80 FMOD_RESULT CodecXM::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { FMOD_RESULT result = FMOD_OK; @@ -3791,6 +3809,7 @@ FMOD_RESULT CodecXM::readInternal(void *buffer, unsigned int sizebytes, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x00905D30 FMOD_RESULT CodecXM::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { if (postype == FMOD_TIMEUNIT_MODORDER) @@ -3856,6 +3875,7 @@ FMOD_RESULT CodecXM::setPositionInternal(int subsound, unsigned int position, FM [SEE_ALSO] ] */ +// OFFSET: 0x009075B0 FMOD_RESULT F_CALLBACK CodecXM::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecXM *cxm = (CodecXM *)codec; @@ -3879,6 +3899,7 @@ FMOD_RESULT F_CALLBACK CodecXM::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x00905DD0 FMOD_RESULT F_CALLBACK CodecXM::closeCallback(FMOD_CODEC_STATE *codec) { CodecXM *cxm = (CodecXM *)codec; @@ -3902,6 +3923,7 @@ FMOD_RESULT F_CALLBACK CodecXM::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00906240 FMOD_RESULT F_CALLBACK CodecXM::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecXM *cxm = (CodecXM *)codec; @@ -3925,6 +3947,7 @@ FMOD_RESULT F_CALLBACK CodecXM::readCallback(FMOD_CODEC_STATE *codec, void *buff [SEE_ALSO] ] */ +// OFFSET: 0x00905E00 FMOD_RESULT F_CALLBACK CodecXM::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype ) { CodecXM *cxm = (CodecXM *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_codeci.h b/Engine/Source/SoundEngine/fmodex/src/fmod_codeci.h index 6ea2dc9..932e78d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_codeci.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_codeci.h @@ -117,11 +117,15 @@ namespace FMOD bool mXMASeekable; #endif + // OFFSET: 0x008F3850 static FMOD_INLINE FMOD_RESULT F_CALLBACK defaultFileRead (void *handle, void *buffer, unsigned int size, unsigned int *read, void *userdata) { return ((File *)handle)->read(buffer, 1, size, read); } + // OFFSET: 0x008F3870 static FMOD_INLINE FMOD_RESULT F_CALLBACK defaultFileSeek (void *handle, unsigned int pos, void *userdata) { return ((File *)handle)->seek(pos, SEEK_SET); } #ifndef PLATFORM_PS3_SPU + // OFFSET: 0x008F3890 static FMOD_INLINE FMOD_RESULT F_CALLBACK defaultMetaData (FMOD_CODEC_STATE *codec, FMOD_TAGTYPE type, char *name, void *data, unsigned int datalen, FMOD_TAGDATATYPE datatype, int unique) { return ((Codec *)codec)->metaData(type, name, data, datalen, datatype, unique == 1 ? true : false); } #endif + // OFFSET: 0x008E84B0 static FMOD_INLINE FMOD_RESULT F_CALLBACK defaultGetWaveFormat(FMOD_CODEC_STATE *codec, int index, FMOD_CODEC_WAVEFORMAT *waveformat_out) { if (!codec->waveformat) @@ -141,6 +145,7 @@ namespace FMOD public: + // OFFSET: [0x008F40E0, 0x008F4440] Codec() { mType = FMOD_SOUND_TYPE_UNKNOWN; @@ -170,6 +175,7 @@ namespace FMOD FMOD_RESULT getPosition(unsigned int *position, FMOD_TIMEUNIT postype); FMOD_RESULT metaData(FMOD_TAGTYPE type, const char *name, void *data, unsigned int datalen, FMOD_TAGDATATYPE datatype, bool unique); FMOD_RESULT getMetadataFromFile(); + // OFFSET: 0x008D26F0 FMOD_RESULT canPointTo() { if (mDescription.canpoint) @@ -182,6 +188,7 @@ namespace FMOD } } #endif + // OFFSET: 0x008D2710 FMOD_RESULT reset() { mPCMBufferOffsetBytes = 0; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_debug.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_debug.cpp index 8d5fbda..fc615ee 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_debug.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_debug.cpp @@ -39,6 +39,7 @@ extern "C" FMOD_DEBUGLEVEL ] */ +// OFFSET: 0x008D0750 FMOD_RESULT F_API FMOD_Debug_SetLevel(FMOD_DEBUGLEVEL level) { #ifdef FMOD_DEBUG diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp.cpp index 2c038a9..9795072 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp.cpp @@ -9,6 +9,7 @@ namespace FMOD /*$ preserve end $*/ +// OFFSET: 0x008D0760 FMOD_RESULT DSP::release() { FMOD_RESULT result; @@ -43,6 +44,7 @@ FMOD_RESULT DSP::getSystemObject(System **system) } +// OFFSET: 0x008D0790 FMOD_RESULT DSP::addInput(DSP *target, DSPConnection **connection) { FMOD_RESULT result; @@ -77,6 +79,7 @@ FMOD_RESULT DSP::disconnectFrom(DSP *target) } +// OFFSET: 0x008D07C0 FMOD_RESULT DSP::disconnectAll(bool inputs, bool outputs) { FMOD_RESULT result; @@ -94,6 +97,7 @@ FMOD_RESULT DSP::disconnectAll(bool inputs, bool outputs) } +// OFFSET: 0x008D07F0 FMOD_RESULT DSP::remove() { FMOD_RESULT result; @@ -162,6 +166,7 @@ FMOD_RESULT DSP::getInput(int index, DSP **input, DSPConnection **inputconnectio } +// OFFSET: 0x008D0820 FMOD_RESULT DSP::getOutput(int index, DSP **output, DSPConnection **outputconnection) { FMOD_RESULT result; @@ -179,6 +184,7 @@ FMOD_RESULT DSP::getOutput(int index, DSP **output, DSPConnection **outputconnec } +// OFFSET: 0x008D0850 FMOD_RESULT DSP::setActive(bool active) { FMOD_RESULT result; @@ -213,6 +219,7 @@ FMOD_RESULT DSP::getActive(bool *active) } +// OFFSET: 0x008D0890 FMOD_RESULT DSP::setBypass(bool bypass) { FMOD_RESULT result; @@ -298,6 +305,7 @@ FMOD_RESULT DSP::reset() } +// OFFSET: 0x008D08D0 FMOD_RESULT DSP::setParameter(int index, float value) { FMOD_RESULT result; @@ -468,6 +476,7 @@ FMOD_RESULT DSP::setUserData(void *_userdata) } +// OFFSET: 0x008D0900 FMOD_RESULT DSP::getUserData(void **_userdata) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_chorus.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_chorus.cpp index 193d3a3..a975b17 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_chorus.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_chorus.cpp @@ -64,6 +64,7 @@ FMOD_DSP_PARAMETERDESC dspchorus_param[8] = [SEE_ALSO] ] */ +// OFFSET: 0x008EC3A0 FMOD_DSP_DESCRIPTION_EX *DSPChorus::getDescriptionEx() { FMOD_memset(&dspchorus, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -164,6 +165,7 @@ FMOD_INLINE const float DSPChorus::sine(float x) [SEE_ALSO] ] */ +// OFFSET: 0x008EB9B0 FMOD_RESULT DSPChorus::createInternal() { FMOD_RESULT result; @@ -286,6 +288,7 @@ FMOD_RESULT DSPChorus::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EBAC0 FMOD_RESULT DSPChorus::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -418,6 +421,7 @@ FMOD_RESULT DSPChorus::readInternal(float *inbuffer, float *outbuffer, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008EBFF0 FMOD_RESULT DSPChorus::setParameterInternal(int index, float value) { float olddelay; @@ -503,6 +507,7 @@ FMOD_RESULT DSPChorus::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EC130 FMOD_RESULT DSPChorus::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -618,6 +623,7 @@ FMOD_RESULT DSPChorus::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EC240 FMOD_RESULT F_CALLBACK DSPChorus::createCallback(FMOD_DSP_STATE *dsp) { DSPChorus *chorus = (DSPChorus *)dsp; @@ -641,6 +647,7 @@ FMOD_RESULT F_CALLBACK DSPChorus::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EC270 FMOD_RESULT F_CALLBACK DSPChorus::releaseCallback(FMOD_DSP_STATE *dsp) { DSPChorus *chorus = (DSPChorus *)dsp; @@ -664,6 +671,7 @@ FMOD_RESULT F_CALLBACK DSPChorus::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EC2C0 FMOD_RESULT F_CALLBACK DSPChorus::resetCallback(FMOD_DSP_STATE *dsp) { DSPChorus *chorus = (DSPChorus *)dsp; @@ -687,6 +695,7 @@ FMOD_RESULT F_CALLBACK DSPChorus::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EC300 FMOD_RESULT F_CALLBACK DSPChorus::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPChorus *chorus = (DSPChorus *)dsp; @@ -710,6 +719,7 @@ FMOD_RESULT F_CALLBACK DSPChorus::readCallback(FMOD_DSP_STATE *dsp, float *inbuf [SEE_ALSO] ] */ +// OFFSET: 0x008EC330 FMOD_RESULT F_CALLBACK DSPChorus::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPChorus *chorus = (DSPChorus *)dsp; @@ -733,6 +743,7 @@ FMOD_RESULT F_CALLBACK DSPChorus::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008EC370 FMOD_RESULT F_CALLBACK DSPChorus::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPChorus *chorus = (DSPChorus *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codec.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codec.cpp index 1f12da2..2c13d79 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codec.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codec.cpp @@ -64,6 +64,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00927000 FMOD_DSP_DESCRIPTION_EX *DSPCodec::getDescriptionEx() { FMOD_memset(&dspcodec, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -132,6 +133,7 @@ FMOD_RESULT DSPCodec::createInternal() [SEE_ALSO] ] */ +// OFFSET: 0x00926C20 FMOD_RESULT DSPCodec::release(bool freethis) { FMOD_RESULT result; @@ -365,6 +367,7 @@ void DSPCodec_dmasubsoundlist(SoundI **soundi, void *soundimem, void *soundlistm [SEE_ALSO] ] */ +// OFFSET: 0x00926CD0 FMOD_RESULT DSPCodec::readInternal(signed short *inbuffer, signed short *outbuffer, unsigned int length, int inchannels, int outchannels) { FMOD_RESULT result; @@ -767,6 +770,7 @@ FMOD_RESULT DSPCodec::getParameterInternal(int index, float *value, char *values [SEE_ALSO] ] */ +// OFFSET: 0x00926C70 FMOD_RESULT F_CALLBACK DSPCodec::createCallback(FMOD_DSP_STATE *dsp) { DSPCodec *dspcodec = (DSPCodec *)dsp; @@ -836,6 +840,7 @@ FMOD_RESULT F_CALLBACK DSPCodec::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00926FD0 FMOD_RESULT F_CALLBACK DSPCodec::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPCodec *dspcodec = (DSPCodec *)dsp; @@ -859,6 +864,7 @@ FMOD_RESULT F_CALLBACK DSPCodec::readCallback(FMOD_DSP_STATE *dsp, float *inbuff [SEE_ALSO] ] */ +// OFFSET: 0x00926CA0 FMOD_RESULT F_CALLBACK DSPCodec::setPositionCallback(FMOD_DSP_STATE *dsp, unsigned int pos) { DSPCodec *dspcodec = (DSPCodec *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codecpool.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codecpool.cpp index 8101395..64c7a7a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codecpool.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_codecpool.cpp @@ -73,6 +73,7 @@ private: int mPoolSize; }; +// OFFSET: 0x008E86B0 FMOD_RESULT DSPCodecPool::init(FMOD_DSP_CATEGORY category, int resamplerpcmblocksize, int numdspcodecs) { int count; @@ -320,6 +321,7 @@ FMOD_RESULT DSPCodecPool::init(FMOD_DSP_CATEGORY category, int resamplerpcmblock [SEE_ALSO] ] */ +// OFFSET: 0x008E8510 FMOD_RESULT DSPCodecPool::close() { if (mPool) @@ -377,6 +379,7 @@ FMOD_RESULT DSPCodecPool::close() [SEE_ALSO] ] */ +// OFFSET: 0x008E85F0 FMOD_RESULT DSPCodecPool::alloc(DSPCodec **dspcodec) { int count; @@ -413,6 +416,7 @@ FMOD_RESULT DSPCodecPool::alloc(DSPCodec **dspcodec) [SEE_ALSO] ] */ +// OFFSET: 0x008E8660 FMOD_RESULT DSPCodecPool::areAnyFree() { int count; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_compressor.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_compressor.cpp index 8511ca4..f85c3d0 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_compressor.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_compressor.cpp @@ -74,6 +74,7 @@ FMOD_DSP_PARAMETERDESC dspcompressor_param[4] = [SEE_ALSO] ] */ +// OFFSET: 0x008EAB70 FMOD_DSP_DESCRIPTION_EX *DSPCompressor::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -124,6 +125,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPCompressor::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EA4C0 FMOD_RESULT DSPCompressor::createInternal() { init(); @@ -165,6 +167,7 @@ FMOD_RESULT DSPCompressor::createInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EA580 FMOD_RESULT DSPCompressor::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int sample; @@ -371,6 +374,7 @@ FMOD_RESULT DSPCompressor::readInternal(float *inbuffer, float *outbuffer, unsig [SEE_ALSO] ] */ +// OFFSET: 0x008EA8D0 FMOD_RESULT DSPCompressor::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -454,6 +458,7 @@ FMOD_RESULT DSPCompressor::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EA9F0 FMOD_RESULT DSPCompressor::getParameterInternal(int index, float *value, char *valuestr) { @@ -542,6 +547,7 @@ FMOD_RESULT DSPCompressor::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EAAA0 FMOD_RESULT F_CALLBACK DSPCompressor::createCallback(FMOD_DSP_STATE *dsp) { DSPCompressor *compressor = (DSPCompressor *)dsp; @@ -567,6 +573,7 @@ FMOD_RESULT F_CALLBACK DSPCompressor::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EAAD0 FMOD_RESULT F_CALLBACK DSPCompressor::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPCompressor *compressor = (DSPCompressor *)dsp; @@ -592,6 +599,7 @@ FMOD_RESULT F_CALLBACK DSPCompressor::readCallback(FMOD_DSP_STATE *dsp, float *i [SEE_ALSO] ] */ +// OFFSET: 0x008EAB00 FMOD_RESULT F_CALLBACK DSPCompressor::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPCompressor *compressor = (DSPCompressor *)dsp; @@ -616,6 +624,7 @@ FMOD_RESULT F_CALLBACK DSPCompressor::setParameterCallback(FMOD_DSP_STATE *dsp, [SEE_ALSO] ] */ +// OFFSET: 0x008EAB40 FMOD_RESULT F_CALLBACK DSPCompressor::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPCompressor *compressor = (DSPCompressor *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connection.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connection.cpp index 3dccb20..59c3564 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connection.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connection.cpp @@ -79,6 +79,7 @@ FMOD_RESULT DSPConnection::getMix(float *volume) } +// OFFSET: 0x00923A70 FMOD_RESULT DSPConnection::setLevels(FMOD_SPEAKER speaker, float *levels, int numlevels) { FMOD_RESULT result; @@ -96,6 +97,7 @@ FMOD_RESULT DSPConnection::setLevels(FMOD_SPEAKER speaker, float *levels, int nu } +// OFFSET: 0x00923BC0 FMOD_RESULT DSPConnection::getLevels(FMOD_SPEAKER speaker, float *levels, int numlevels) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectioni.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectioni.cpp index 7d8cfb6..f768674 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectioni.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectioni.cpp @@ -75,6 +75,7 @@ FMOD_RESULT DSPConnectionI::validate(DSPConnection *dspconnection, DSPConnection [SEE_ALSO] ] */ +// OFFSET: 0x00923020 FMOD_RESULT DSPConnectionI::init(DSP_LEVEL_TYPE * &levelmemory, int maxoutputlevels, int maxinputlevels) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -212,6 +213,7 @@ FMOD_RESULT DSPConnectionI::getOutput(DSPI **output) [SEE_ALSO] ] */ +// OFFSET: 0x009230A0 FMOD_RESULT DSPConnectionI::reset() { int count, count2; @@ -253,6 +255,7 @@ FMOD_RESULT DSPConnectionI::reset() [SEE_ALSO] ] */ +// OFFSET: 0x00923130 FMOD_RESULT DSPConnectionI::setUnity() { int count, count2; @@ -295,6 +298,7 @@ FMOD_RESULT DSPConnectionI::setUnity() [SEE_ALSO] ] */ +// OFFSET: 0x00923D50 FMOD_RESULT DSPConnectionI::mix(float * FMOD_RESTRICT outbuffer, float * FMOD_RESTRICT inbuffer, int outchannels, int inchannels, unsigned int length) { unsigned int count; @@ -1384,6 +1388,7 @@ FMOD_RESULT DSPConnectionI::mix(float * FMOD_RESTRICT outbuffer, float * FMOD_RE [SEE_ALSO] ] */ +// OFFSET: 0x009231B0 FMOD_RESULT DSPConnectionI::mixAndRamp(float * FMOD_RESTRICT outbuffer, float * FMOD_RESTRICT inbuffer, int outchannels, int inchannels, unsigned int length) { unsigned int count; @@ -1482,6 +1487,7 @@ FMOD_RESULT DSPConnectionI::mixAndRamp(float * FMOD_RESTRICT outbuffer, float * [SEE_ALSO] ] */ +// OFFSET: 0x00923300 FMOD_RESULT DSPConnectionI::rampTo() { int count; @@ -1557,6 +1563,7 @@ FMOD_RESULT DSPConnectionI::rampTo() [SEE_ALSO] ] */ +// OFFSET: 0x00923470 FMOD_RESULT DSPConnectionI::checkUnity(int outchannels, int inchannels) { int count, count2; @@ -1651,6 +1658,7 @@ FMOD_RESULT DSPConnectionI::checkMono(int outchannels, int inchannels) [SEE_ALSO] ] */ +// OFFSET: 0x00923500 FMOD_RESULT DSPConnectionI::setPan(float pan, int outchannels, int inchannels, FMOD_SPEAKERMODE speakermode) { int count, count2; @@ -2132,6 +2140,7 @@ FMOD_RESULT DSPConnectionI::getLevels(float *levels, int numinputlevels) [SEE_ALSO] ] */ +// OFFSET: 0x00923A20 FMOD_RESULT DSPConnectionI::setMix(float volume) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2361,6 +2370,7 @@ FMOD_RESULT DSPConnectionI::getUserData(void **userdata) ] */ #ifdef FMOD_SUPPORT_SOFTWARE +// OFFSET: 0x00923C50 FMOD_RESULT DSPConnectionI::copy(DSPConnectionI *source) { int count, count2; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectionpool.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectionpool.cpp index 026f895..3199e59 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectionpool.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_connectionpool.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00922780 FMOD_RESULT DSPConnectionPool::init(SystemI *system, int numconnections, int numoutputlevels, int numinputlevels) { DSP_LEVEL_TYPE *leveldata; @@ -120,6 +121,7 @@ FMOD_RESULT DSPConnectionPool::init(SystemI *system, int numconnections, int num [SEE_ALSO] ] */ +// OFFSET: 0x00922380 FMOD_RESULT DSPConnectionPool::close() { int i; @@ -166,6 +168,7 @@ FMOD_RESULT DSPConnectionPool::close() [SEE_ALSO] ] */ +// OFFSET: 0x00922420 FMOD_RESULT DSPConnectionPool::alloc(DSPConnectionI **connection, bool protect) { LocalCriticalSection crit(mSystem->mDSPConnectionCrit); @@ -288,6 +291,7 @@ FMOD_RESULT DSPConnectionPool::alloc(DSPConnectionI **connection, bool protect) [SEE_ALSO] ] */ +// OFFSET: 0x009226B0 FMOD_RESULT DSPConnectionPool::free(DSPConnectionI *connection, bool protect) { LocalCriticalSection crit(mSystem->mDSPConnectionCrit); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_convert.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_convert.cpp index bdccdde..a5af76d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_convert.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_convert.cpp @@ -37,6 +37,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0093CD10 FMOD_RESULT DSPI::convert(void *outbuffer, void *inbuffer, FMOD_SOUND_FORMAT outformat, FMOD_SOUND_FORMAT informat, unsigned int length, int destchannelstep, int srcchannelstep, float volume) { bool supportssimd; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_echo.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_echo.cpp index 40cb7df..b3e55ae 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_echo.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_echo.cpp @@ -61,6 +61,7 @@ FMOD_DSP_PARAMETERDESC dspecho_param[5] = [SEE_ALSO] ] */ +// OFFSET: 0x008F0910 FMOD_DSP_DESCRIPTION_EX *DSPEcho::getDescriptionEx() { FMOD_memset(&dspecho_desc, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -105,6 +106,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPEcho::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EFEB0 FMOD_RESULT DSPEcho::createInternal() { int count; @@ -250,6 +252,7 @@ FMOD_RESULT DSPEcho::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EFF00 FMOD_RESULT DSPEcho::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -744,6 +747,7 @@ FMOD_RESULT DSPEcho::readInternal(float *inbuffer, float *outbuffer, unsigned in [SEE_ALSO] ] */ +// OFFSET: 0x008F0530 FMOD_RESULT DSPEcho::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -806,6 +810,7 @@ FMOD_RESULT DSPEcho::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008F06D0 FMOD_RESULT DSPEcho::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -904,6 +909,7 @@ FMOD_RESULT DSPEcho::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008F07B0 FMOD_RESULT F_CALLBACK DSPEcho::createCallback(FMOD_DSP_STATE *dsp) { DSPEcho *echo = (DSPEcho *)dsp; @@ -928,6 +934,7 @@ FMOD_RESULT F_CALLBACK DSPEcho::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F07E0 FMOD_RESULT F_CALLBACK DSPEcho::releaseCallback(FMOD_DSP_STATE *dsp) { DSPEcho *echo = (DSPEcho *)dsp; @@ -952,6 +959,7 @@ FMOD_RESULT F_CALLBACK DSPEcho::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F0830 FMOD_RESULT F_CALLBACK DSPEcho::resetCallback(FMOD_DSP_STATE *dsp) { DSPEcho *echo = (DSPEcho *)dsp; @@ -976,6 +984,7 @@ FMOD_RESULT F_CALLBACK DSPEcho::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F0870 FMOD_RESULT F_CALLBACK DSPEcho::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPEcho *echo = (DSPEcho *)dsp; @@ -1000,6 +1009,7 @@ FMOD_RESULT F_CALLBACK DSPEcho::readCallback(FMOD_DSP_STATE *dsp, float *inbuffe [SEE_ALSO] ] */ +// OFFSET: 0x008F08A0 FMOD_RESULT F_CALLBACK DSPEcho::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPEcho *echo = (DSPEcho *)dsp; @@ -1024,6 +1034,7 @@ FMOD_RESULT F_CALLBACK DSPEcho::setParameterCallback(FMOD_DSP_STATE *dsp, int in [SEE_ALSO] ] */ +// OFFSET: 0x008F08E0 FMOD_RESULT F_CALLBACK DSPEcho::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPEcho *echo = (DSPEcho *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_fft.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_fft.cpp index f712856..baac6dd 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_fft.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_fft.cpp @@ -24,6 +24,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00918D30 DSPFFT::DSPFFT() { #ifdef USECOSTAB @@ -136,6 +137,7 @@ FMOD_INLINE const unsigned int DSPFFT::reverse(unsigned int val, int bits) [SEE_ALSO] ] */ +// OFFSET: 0x00918D70 FMOD_RESULT DSPFFT::process(int bits) { register int count, count2, count3; @@ -202,6 +204,7 @@ FMOD_RESULT DSPFFT::process(int bits) [SEE_ALSO] ] */ +// OFFSET: 0x009190A0 FMOD_RESULT DSPFFT::getSpectrum(float *pcmbuffer, unsigned int pcmposition, unsigned int pcmlength, float *spectrum, int length, int channel, int numchannels, FMOD_DSP_FFT_WINDOW windowtype) { int count, bits, bitslength, nyquist; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_filter.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_filter.cpp index 939e67c..9aa3d0e 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_filter.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_filter.cpp @@ -33,6 +33,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00919CE0 FMOD_RESULT DSPFilter::release(bool freethis) { stopBuffering(); @@ -367,6 +368,7 @@ FMOD_RESULT DSPFilter::read(float **outbuffer, int *outchannels, unsigned int *l [SEE_ALSO] ] */ +// OFFSET: 0x00919C00 FMOD_RESULT DSPFilter::startBuffering() { FMOD_RESULT result; @@ -430,6 +432,7 @@ FMOD_RESULT DSPFilter::startBuffering() [SEE_ALSO] ] */ +// OFFSET: 0x00919CA0 FMOD_RESULT DSPFilter::getHistoryBuffer(float **buffer, unsigned int *position, unsigned int *length) { if (buffer) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_flange.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_flange.cpp index 0de9280..061dffc 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_flange.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_flange.cpp @@ -72,6 +72,7 @@ FMOD_DSP_PARAMETERDESC dspflange_param[4] = [SEE_ALSO] ] */ +// OFFSET: 0x008EFE00 FMOD_DSP_DESCRIPTION_EX *DSPFlange::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -183,6 +184,7 @@ FMOD_INLINE const float DSPFlange::sine(float x) [SEE_ALSO] ] */ +// OFFSET: 0x008EF590 FMOD_RESULT DSPFlange::createInternal() { FMOD_RESULT result; @@ -326,6 +328,7 @@ FMOD_RESULT DSPFlange::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EF6A0 FMOD_RESULT DSPFlange::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -431,6 +434,7 @@ FMOD_RESULT DSPFlange::readInternal(float *inbuffer, float *outbuffer, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008EFAC0 FMOD_RESULT DSPFlange::setParameterInternal(int index, float value) { float olddepth; @@ -499,6 +503,7 @@ FMOD_RESULT DSPFlange::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EFBD0 FMOD_RESULT DSPFlange::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -593,6 +598,7 @@ FMOD_RESULT DSPFlange::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EFCA0 FMOD_RESULT F_CALLBACK DSPFlange::createCallback(FMOD_DSP_STATE *dsp) { DSPFlange *flange = (DSPFlange *)dsp; @@ -617,6 +623,7 @@ FMOD_RESULT F_CALLBACK DSPFlange::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EFCD0 FMOD_RESULT F_CALLBACK DSPFlange::releaseCallback(FMOD_DSP_STATE *dsp) { DSPFlange *flange = (DSPFlange *)dsp; @@ -641,6 +648,7 @@ FMOD_RESULT F_CALLBACK DSPFlange::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EFD20 FMOD_RESULT F_CALLBACK DSPFlange::resetCallback(FMOD_DSP_STATE *dsp) { DSPFlange *flange = (DSPFlange *)dsp; @@ -666,6 +674,7 @@ FMOD_RESULT F_CALLBACK DSPFlange::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EFD60 FMOD_RESULT F_CALLBACK DSPFlange::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPFlange *flange = (DSPFlange *)dsp; @@ -691,6 +700,7 @@ FMOD_RESULT F_CALLBACK DSPFlange::readCallback(FMOD_DSP_STATE *dsp, float *inbuf [SEE_ALSO] ] */ +// OFFSET: 0x008EFD90 FMOD_RESULT F_CALLBACK DSPFlange::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPFlange *flange = (DSPFlange *)dsp; @@ -715,6 +725,7 @@ FMOD_RESULT F_CALLBACK DSPFlange::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008EFDD0 FMOD_RESULT F_CALLBACK DSPFlange::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPFlange *flange = (DSPFlange *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_highpass.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_highpass.cpp index 01054d1..4792926 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_highpass.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_highpass.cpp @@ -69,6 +69,7 @@ FMOD_DSP_PARAMETERDESC dsphighpass_param[2] = [SEE_ALSO] ] */ +// OFFSET: 0x008F1950 FMOD_DSP_DESCRIPTION_EX *DSPHighPass::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -121,6 +122,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPHighPass::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F1820 FMOD_RESULT DSPHighPass::createInternal() { int count; @@ -179,6 +181,7 @@ FMOD_RESULT DSPHighPass::createInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F09C0 FMOD_RESULT DSPHighPass::resetInternal() { int count; @@ -209,6 +212,7 @@ FMOD_RESULT DSPHighPass::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F09F0 FMOD_RESULT DSPHighPass::updateCoefficients(float resonance, float cutoff) { int outputrate; @@ -527,6 +531,7 @@ FMOD_RESULT DSPHighPass::process(float *inbuffer, float *outbuffer, unsigned int [SEE_ALSO] ] */ +// OFFSET: 0x008F0A60 FMOD_RESULT DSPHighPass::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { if (!inbuffer) @@ -630,6 +635,7 @@ FMOD_RESULT DSPHighPass::readInternal(float *inbuffer, float *outbuffer, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x008F1660 FMOD_RESULT DSPHighPass::setParameterInternal(int index, float value) { switch (index) @@ -668,6 +674,7 @@ FMOD_RESULT DSPHighPass::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008F16D0 FMOD_RESULT DSPHighPass::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -745,6 +752,7 @@ FMOD_RESULT DSPHighPass::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008F1920 FMOD_RESULT F_CALLBACK DSPHighPass::createCallback(FMOD_DSP_STATE *dsp) { DSPHighPass *highpass = (DSPHighPass *)dsp; @@ -768,6 +776,7 @@ FMOD_RESULT F_CALLBACK DSPHighPass::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F1740 FMOD_RESULT F_CALLBACK DSPHighPass::resetCallback(FMOD_DSP_STATE *dsp) { DSPHighPass *highpass = (DSPHighPass *)dsp; @@ -792,6 +801,7 @@ FMOD_RESULT F_CALLBACK DSPHighPass::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F1780 FMOD_RESULT F_CALLBACK DSPHighPass::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPHighPass *highpass = (DSPHighPass *)dsp; @@ -816,6 +826,7 @@ FMOD_RESULT F_CALLBACK DSPHighPass::readCallback(FMOD_DSP_STATE *dsp, float *inb [SEE_ALSO] ] */ +// OFFSET: 0x008F17B0 FMOD_RESULT F_CALLBACK DSPHighPass::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPHighPass *highpass = (DSPHighPass *)dsp; @@ -839,6 +850,7 @@ FMOD_RESULT F_CALLBACK DSPHighPass::setParameterCallback(FMOD_DSP_STATE *dsp, in [SEE_ALSO] ] */ +// OFFSET: 0x008F17F0 FMOD_RESULT F_CALLBACK DSPHighPass::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPHighPass *highpass = (DSPHighPass *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_itecho.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_itecho.cpp index 6d8ed3f..f6e0088 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_itecho.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_itecho.cpp @@ -78,6 +78,7 @@ FMOD_DSP_PARAMETERDESC dspitecho_param[5] = [SEE_ALSO] ] */ +// OFFSET: 0x008EB330 FMOD_DSP_DESCRIPTION_EX *DSPITEcho::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -168,6 +169,7 @@ FMOD_RESULT DSPITEcho::createInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EAC50 FMOD_RESULT DSPITEcho::releaseInternal() { int count; @@ -202,6 +204,7 @@ FMOD_RESULT DSPITEcho::releaseInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EACA0 FMOD_RESULT DSPITEcho::resetInternal() { mEchoPosition[0] = 0; @@ -238,6 +241,7 @@ FMOD_RESULT DSPITEcho::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EAD00 FMOD_RESULT DSPITEcho::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -410,6 +414,7 @@ FMOD_RESULT DSPITEcho::readInternal(float *inbuffer, float *outbuffer, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008EAF20 FMOD_RESULT DSPITEcho::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -540,6 +545,7 @@ FMOD_RESULT DSPITEcho::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EB0C0 FMOD_RESULT DSPITEcho::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -669,6 +675,7 @@ FMOD_RESULT F_CALLBACK DSPITEcho::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EB230 FMOD_RESULT F_CALLBACK DSPITEcho::releaseCallback(FMOD_DSP_STATE *dsp) { DSPITEcho *echo = (DSPITEcho *)dsp; @@ -693,6 +700,7 @@ FMOD_RESULT F_CALLBACK DSPITEcho::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EB260 FMOD_RESULT F_CALLBACK DSPITEcho::resetCallback(FMOD_DSP_STATE *dsp) { DSPITEcho *echo = (DSPITEcho *)dsp; @@ -718,6 +726,7 @@ FMOD_RESULT F_CALLBACK DSPITEcho::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EB290 FMOD_RESULT F_CALLBACK DSPITEcho::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPITEcho *echo = (DSPITEcho *)dsp; @@ -743,6 +752,7 @@ FMOD_RESULT F_CALLBACK DSPITEcho::readCallback(FMOD_DSP_STATE *dsp, float *inbuf [SEE_ALSO] ] */ +// OFFSET: 0x008EB2C0 FMOD_RESULT F_CALLBACK DSPITEcho::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPITEcho *echo = (DSPITEcho *)dsp; @@ -767,6 +777,7 @@ FMOD_RESULT F_CALLBACK DSPITEcho::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008EB300 FMOD_RESULT F_CALLBACK DSPITEcho::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPITEcho *echo = (DSPITEcho *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass.cpp index 210d338..ea7af95 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass.cpp @@ -71,6 +71,7 @@ FMOD_DSP_PARAMETERDESC dsplowpass_param[2] = [SEE_ALSO] ] */ +// OFFSET: 0x008F3790 FMOD_DSP_DESCRIPTION_EX *DSPLowPass::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -123,6 +124,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPLowPass::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F2E00 FMOD_RESULT DSPLowPass::createInternal() { int count; @@ -591,6 +593,7 @@ FMOD_RESULT DSPLowPass::process(float *inbuffer, float *outbuffer, unsigned int [SEE_ALSO] ] */ +// OFFSET: 0x008F2EE0 FMOD_RESULT DSPLowPass::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { if (!inbuffer) @@ -797,6 +800,7 @@ FMOD_RESULT DSPLowPass::prewarp(float *a0, float *a1, float *a2, float fc, float * On return, set coef z-domain coefficients * ---------------------------------------------------------- */ +// OFFSET: 0x008F2AA0 FMOD_RESULT DSPLowPass::bilinear( float a0, float a1, float a2, /* numerator coefficients */ float b0, float b1, float b2, /* denominator coefficients */ @@ -842,6 +846,7 @@ FMOD_RESULT DSPLowPass::bilinear( * Note: frequencies are in Hz. * ---------------------------------------------------------- */ +// OFFSET: 0x008F2B70 FMOD_RESULT DSPLowPass::szxform( float *a0, float *a1, float *a2, /* numerator coefficients */ float *b0, float *b1, float *b2, /* denominator coefficients */ @@ -911,6 +916,7 @@ FMOD_RESULT DSPLowPass::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008F2C00 FMOD_RESULT DSPLowPass::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -951,6 +957,7 @@ FMOD_RESULT DSPLowPass::getParameterInternal(int index, float *value, char *valu [SEE_ALSO] ] */ +// OFFSET: 0x008F2C70 FMOD_RESULT DSPLowPass::updateState(float resonance, float cutoff) { FMOD_RESULT result; @@ -1077,6 +1084,7 @@ FMOD_RESULT DSPLowPass::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008F3730 FMOD_RESULT F_CALLBACK DSPLowPass::createCallback(FMOD_DSP_STATE *dsp) { DSPLowPass *lowpass = (DSPLowPass *)dsp; @@ -1102,6 +1110,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F3760 FMOD_RESULT F_CALLBACK DSPLowPass::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPLowPass *lowpass = (DSPLowPass *)dsp; @@ -1127,6 +1136,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass::readCallback(FMOD_DSP_STATE *dsp, float *inbu [SEE_ALSO] ] */ +// OFFSET: 0x008F2D90 FMOD_RESULT F_CALLBACK DSPLowPass::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPLowPass *lowpass = (DSPLowPass *)dsp; @@ -1151,6 +1161,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008F2DD0 FMOD_RESULT F_CALLBACK DSPLowPass::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPLowPass *lowpass = (DSPLowPass *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass2.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass2.cpp index 1ddd08b..575d7eb 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass2.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass2.cpp @@ -71,6 +71,7 @@ FMOD_DSP_PARAMETERDESC dsplowpass2_param[2] = [SEE_ALSO] ] */ +// OFFSET: 0x008F2A00 FMOD_DSP_DESCRIPTION_EX *DSPLowPass2::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -122,6 +123,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPLowPass2::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F2930 FMOD_RESULT DSPLowPass2::createInternal() { int count; @@ -199,6 +201,7 @@ FMOD_RESULT DSPLowPass2::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F2260 FMOD_RESULT DSPLowPass2::updateCoefficients(float resonance, float cutoff) { int outputrate; @@ -267,6 +270,7 @@ FMOD_RESULT DSPLowPass2::updateCoefficients(float resonance, float cutoff) [SEE_ALSO] ] */ +// OFFSET: 0x008F2360 FMOD_RESULT DSPLowPass2::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { static float dc = (float)1E-20; @@ -699,6 +703,7 @@ FMOD_RESULT DSPLowPass2::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008F29D0 FMOD_RESULT F_CALLBACK DSPLowPass2::createCallback(FMOD_DSP_STATE *dsp) { DSPLowPass2 *lowpass2 = (DSPLowPass2 *)dsp; @@ -723,6 +728,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass2::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F2880 FMOD_RESULT F_CALLBACK DSPLowPass2::resetCallback(FMOD_DSP_STATE *dsp) { DSPLowPass2 *lowpass2 = (DSPLowPass2 *)dsp; @@ -748,6 +754,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass2::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F28C0 FMOD_RESULT F_CALLBACK DSPLowPass2::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPLowPass2 *lowpass2 = (DSPLowPass2 *)dsp; @@ -773,6 +780,7 @@ FMOD_RESULT F_CALLBACK DSPLowPass2::readCallback(FMOD_DSP_STATE *dsp, float *inb [SEE_ALSO] ] */ +// OFFSET: 0x008F28F0 FMOD_RESULT F_CALLBACK DSPLowPass2::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPLowPass2 *lowpass2 = (DSPLowPass2 *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass_simple.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass_simple.cpp index 13ea321..430a387 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass_simple.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_lowpass_simple.cpp @@ -75,6 +75,7 @@ FMOD_DSP_PARAMETERDESC dsplowpass_simple_param[1] = [SEE_ALSO] ] */ +// OFFSET: 0x008F21C0 FMOD_DSP_DESCRIPTION_EX *DSPLowPassSimple::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -127,6 +128,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPLowPassSimple::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F2100 FMOD_RESULT DSPLowPassSimple::createInternal() { int count; @@ -204,6 +206,7 @@ FMOD_RESULT DSPLowPassSimple::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F19F0 FMOD_RESULT DSPLowPassSimple::updateCoefficients(float cutoffhz) { /* @@ -262,6 +265,7 @@ FMOD_RESULT DSPLowPassSimple::updateCoefficients(float cutoffhz) [SEE_ALSO] ] */ +// OFFSET: 0x008F1AA0 FMOD_RESULT DSPLowPassSimple::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { static float dc = (float)1E-20; @@ -711,6 +715,7 @@ FMOD_RESULT DSPLowPassSimple::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008F2190 FMOD_RESULT F_CALLBACK DSPLowPassSimple::createCallback(FMOD_DSP_STATE *dsp) { DSPLowPassSimple *lowpass_simple = (DSPLowPassSimple *)dsp; @@ -735,6 +740,7 @@ FMOD_RESULT F_CALLBACK DSPLowPassSimple::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F2010 FMOD_RESULT F_CALLBACK DSPLowPassSimple::resetCallback(FMOD_DSP_STATE *dsp) { DSPLowPassSimple *lowpass_simple = (DSPLowPassSimple *)dsp; @@ -760,6 +766,7 @@ FMOD_RESULT F_CALLBACK DSPLowPassSimple::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F2050 FMOD_RESULT F_CALLBACK DSPLowPassSimple::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPLowPassSimple *lowpass_simple = (DSPLowPassSimple *)dsp; @@ -785,6 +792,7 @@ FMOD_RESULT F_CALLBACK DSPLowPassSimple::readCallback(FMOD_DSP_STATE *dsp, float [SEE_ALSO] ] */ +// OFFSET: 0x008F2080 FMOD_RESULT F_CALLBACK DSPLowPassSimple::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPLowPassSimple *lowpass_simple = (DSPLowPassSimple *)dsp; @@ -809,6 +817,7 @@ FMOD_RESULT F_CALLBACK DSPLowPassSimple::setParameterCallback(FMOD_DSP_STATE *ds [SEE_ALSO] ] */ +// OFFSET: 0x008F20B0 FMOD_RESULT F_CALLBACK DSPLowPassSimple::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPLowPassSimple *lowpass_simple = (DSPLowPassSimple *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_normalize.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_normalize.cpp index eef2ae8..f28a759 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_normalize.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_normalize.cpp @@ -71,6 +71,7 @@ FMOD_DSP_PARAMETERDESC dspnormalize_param[3] = [SEE_ALSO] ] */ +// OFFSET: 0x008EF1B0 FMOD_DSP_DESCRIPTION_EX *DSPNormalize::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -124,6 +125,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPNormalize::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EED10 FMOD_RESULT DSPNormalize::createInternal() { FMOD_RESULT result; @@ -217,6 +219,7 @@ FMOD_RESULT DSPNormalize::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EED80 FMOD_RESULT DSPNormalize::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count, count2; @@ -295,6 +298,7 @@ FMOD_RESULT DSPNormalize::readInternal(float *inbuffer, float *outbuffer, unsign [SEE_ALSO] ] */ +// OFFSET: 0x008EEF90 FMOD_RESULT DSPNormalize::setParameterInternal(int index, float value) { switch (index) @@ -344,6 +348,7 @@ FMOD_RESULT DSPNormalize::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EF010 FMOD_RESULT DSPNormalize::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -425,6 +430,7 @@ FMOD_RESULT DSPNormalize::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EF0A0 FMOD_RESULT F_CALLBACK DSPNormalize::createCallback(FMOD_DSP_STATE *dsp) { DSPNormalize *normalize = (DSPNormalize *)dsp; @@ -473,6 +479,7 @@ FMOD_RESULT F_CALLBACK DSPNormalize::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EF0D0 FMOD_RESULT F_CALLBACK DSPNormalize::resetCallback(FMOD_DSP_STATE *dsp) { DSPNormalize *normalize = (DSPNormalize *)dsp; @@ -498,6 +505,7 @@ FMOD_RESULT F_CALLBACK DSPNormalize::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EF110 FMOD_RESULT F_CALLBACK DSPNormalize::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPNormalize *normalize = (DSPNormalize *)dsp; @@ -523,6 +531,7 @@ FMOD_RESULT F_CALLBACK DSPNormalize::readCallback(FMOD_DSP_STATE *dsp, float *in [SEE_ALSO] ] */ +// OFFSET: 0x008EF140 FMOD_RESULT F_CALLBACK DSPNormalize::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPNormalize *normalize = (DSPNormalize *)dsp; @@ -547,6 +556,7 @@ FMOD_RESULT F_CALLBACK DSPNormalize::setParameterCallback(FMOD_DSP_STATE *dsp, i [SEE_ALSO] ] */ +// OFFSET: 0x008EF180 FMOD_RESULT F_CALLBACK DSPNormalize::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPNormalize *normalize = (DSPNormalize *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_oscillator.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_oscillator.cpp index ba34cd0..e0fb4ab 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_oscillator.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_oscillator.cpp @@ -72,6 +72,7 @@ FMOD_DSP_PARAMETERDESC dsposcillator_param[2] = [SEE_ALSO] ] */ +// OFFSET: 0x008F52A0 FMOD_DSP_DESCRIPTION_EX *DSPOscillator::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -126,6 +127,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPOscillator::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EAC00 FMOD_RESULT DSPOscillator::createInternal() { int count; @@ -187,6 +189,7 @@ FMOD_RESULT DSPOscillator::releaseInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F4920 FMOD_RESULT DSPOscillator::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -346,6 +349,7 @@ FMOD_RESULT DSPOscillator::readInternal(float *inbuffer, float *outbuffer, unsig [SEE_ALSO] ] */ +// OFFSET: 0x008F5090 FMOD_RESULT DSPOscillator::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -394,6 +398,7 @@ FMOD_RESULT DSPOscillator::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008F50F0 FMOD_RESULT DSPOscillator::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -449,6 +454,7 @@ FMOD_RESULT DSPOscillator::getParameterInternal(int index, float *value, char *v [SEE_ALSO] ] */ +// OFFSET: 0x008EB200 FMOD_RESULT F_CALLBACK DSPOscillator::createCallback(FMOD_DSP_STATE *dsp) { DSPOscillator *osc = (DSPOscillator *)dsp; @@ -498,6 +504,7 @@ FMOD_RESULT F_CALLBACK DSPOscillator::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008F5200 FMOD_RESULT F_CALLBACK DSPOscillator::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPOscillator *osc = (DSPOscillator *)dsp; @@ -523,6 +530,7 @@ FMOD_RESULT F_CALLBACK DSPOscillator::readCallback(FMOD_DSP_STATE *dsp, float *i [SEE_ALSO] ] */ +// OFFSET: 0x008F5230 FMOD_RESULT F_CALLBACK DSPOscillator::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPOscillator *osc = (DSPOscillator *)dsp; @@ -547,6 +555,7 @@ FMOD_RESULT F_CALLBACK DSPOscillator::setParameterCallback(FMOD_DSP_STATE *dsp, [SEE_ALSO] ] */ +// OFFSET: 0x008F5270 FMOD_RESULT F_CALLBACK DSPOscillator::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPOscillator *osc = (DSPOscillator *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_parameq.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_parameq.cpp index c0ae5ae..5da0fa3 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_parameq.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_parameq.cpp @@ -71,6 +71,7 @@ FMOD_DSP_PARAMETERDESC dspparameq_param[3] = [SEE_ALSO] ] */ +// OFFSET: 0x008EEC70 FMOD_DSP_DESCRIPTION_EX *DSPParamEq::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -124,6 +125,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPParamEq::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EEB20 FMOD_RESULT DSPParamEq::createInternal() { int count; @@ -208,6 +210,7 @@ FMOD_RESULT DSPParamEq::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EDF40 FMOD_RESULT DSPParamEq::updateCoefficients(float center, float bandwidth, float gain) { int outputrate; @@ -282,6 +285,7 @@ FMOD_RESULT DSPParamEq::updateCoefficients(float center, float bandwidth, float [SEE_ALSO] ] */ +// OFFSET: 0x008EDFC0 FMOD_RESULT DSPParamEq::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { unsigned int count; @@ -743,6 +747,7 @@ FMOD_RESULT DSPParamEq::readInternal(float *inbuffer, float *outbuffer, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008EE930 FMOD_RESULT DSPParamEq::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -796,6 +801,7 @@ FMOD_RESULT DSPParamEq::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EE9B0 FMOD_RESULT DSPParamEq::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -879,6 +885,7 @@ FMOD_RESULT DSPParamEq::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EEC40 FMOD_RESULT F_CALLBACK DSPParamEq::createCallback(FMOD_DSP_STATE *dsp) { DSPParamEq *parameq = (DSPParamEq *)dsp; @@ -903,6 +910,7 @@ FMOD_RESULT F_CALLBACK DSPParamEq::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EEA40 FMOD_RESULT F_CALLBACK DSPParamEq::resetCallback(FMOD_DSP_STATE *dsp) { DSPParamEq *parameq = (DSPParamEq *)dsp; @@ -928,6 +936,7 @@ FMOD_RESULT F_CALLBACK DSPParamEq::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EEA80 FMOD_RESULT F_CALLBACK DSPParamEq::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPParamEq *parameq = (DSPParamEq *)dsp; @@ -953,6 +962,7 @@ FMOD_RESULT F_CALLBACK DSPParamEq::readCallback(FMOD_DSP_STATE *dsp, float *inbu [SEE_ALSO] ] */ +// OFFSET: 0x008EEAB0 FMOD_RESULT F_CALLBACK DSPParamEq::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPParamEq *parameq = (DSPParamEq *)dsp; @@ -977,6 +987,7 @@ FMOD_RESULT F_CALLBACK DSPParamEq::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008EEAF0 FMOD_RESULT F_CALLBACK DSPParamEq::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPParamEq *parameq = (DSPParamEq *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_pitchshift.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_pitchshift.cpp index 7a5d9fd..f0f5bbd 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_pitchshift.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_pitchshift.cpp @@ -100,6 +100,7 @@ FMOD_DSP_PARAMETERDESC dsppitchshift_param[4] = [SEE_ALSO] ] */ +// OFFSET: 0x008EDE90 FMOD_DSP_DESCRIPTION_EX *DSPPitchShift::getDescriptionEx() { FMOD_memset(&dsppitchshift, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -738,6 +739,7 @@ void DSPPitchShiftSMB::fft(float *fftBuffer, int sign) [SEE_ALSO] ] */ +// OFFSET: 0x008EC450 void DSPPitchShiftSMB::smbInit() { /* initialize our static arrays */ @@ -773,6 +775,7 @@ void DSPPitchShiftSMB::smbInit() [SEE_ALSO] ] */ +// OFFSET: 0x008EC520 FMOD_RESULT DSPPitchShift::createInternal() { FMOD_RESULT result; @@ -1436,6 +1439,7 @@ static float vwin1024[513] = { #define kINVPI2 0.1591549430918F +// OFFSET: 0x008ECF60 void DSPPitchShiftSMB::smbPitchShift(float pitchShift, int numSampsToProcess, int osamp, float sampleRate, float *indata, float *outdata, int channel, int numchannels) { float window; @@ -1795,6 +1799,7 @@ void DSPPitchShiftSMB::smbPitchShift(float pitchShift, int numSampsToProcess, in [SEE_ALSO] ] */ +// OFFSET: 0x008EC5C0 void DSPPitchShiftSMB::smbFft(float *fftBuffer, int sign) { float wr, wi, arg, *p1, *p2, temp; @@ -1950,6 +1955,7 @@ void DSPPitchShiftSMB::setResetPhaseFlag() [SEE_ALSO] ] */ +// OFFSET: 0x008EC8A0 FMOD_RESULT DSPPitchShift::resetInternal() { if (mPitchShift) @@ -1989,6 +1995,7 @@ FMOD_RESULT DSPPitchShift::resetInternal() ] */ +// OFFSET: 0x008EDD90 FMOD_RESULT DSPPitchShift::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { int count; @@ -2069,6 +2076,7 @@ FMOD_RESULT DSPPitchShift::readInternal(float *inbuffer, float *outbuffer, unsig [SEE_ALSO] ] */ +// OFFSET: 0x008EC900 FMOD_RESULT DSPPitchShift::setParameterInternal(int index, float value) { FMOD_RESULT result; @@ -2364,6 +2372,7 @@ FMOD_RESULT DSPPitchShift::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008ECD60 FMOD_RESULT DSPPitchShift::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -2482,6 +2491,7 @@ FMOD_RESULT DSPPitchShift::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008ECE40 FMOD_RESULT F_CALLBACK DSPPitchShift::createCallback(FMOD_DSP_STATE *dsp) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; @@ -2506,6 +2516,7 @@ FMOD_RESULT F_CALLBACK DSPPitchShift::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008ECE70 FMOD_RESULT F_CALLBACK DSPPitchShift::releaseCallback(FMOD_DSP_STATE *dsp) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; @@ -2530,6 +2541,7 @@ FMOD_RESULT F_CALLBACK DSPPitchShift::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008ECEC0 FMOD_RESULT F_CALLBACK DSPPitchShift::resetCallback(FMOD_DSP_STATE *dsp) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; @@ -2554,6 +2566,7 @@ FMOD_RESULT F_CALLBACK DSPPitchShift::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EDE60 FMOD_RESULT F_CALLBACK DSPPitchShift::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; @@ -2579,6 +2592,7 @@ FMOD_RESULT F_CALLBACK DSPPitchShift::readCallback(FMOD_DSP_STATE *dsp, float *i [SEE_ALSO] ] */ +// OFFSET: 0x008ECEF0 FMOD_RESULT F_CALLBACK DSPPitchShift::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; @@ -2603,6 +2617,7 @@ FMOD_RESULT F_CALLBACK DSPPitchShift::setParameterCallback(FMOD_DSP_STATE *dsp, [SEE_ALSO] ] */ +// OFFSET: 0x008ECF30 FMOD_RESULT F_CALLBACK DSPPitchShift::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPPitchShift *pitchshift = (DSPPitchShift *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler.cpp index b695b55..ad34694 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler.cpp @@ -51,6 +51,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091C460 DSPResampler::DSPResampler() { mResampleBufferMemory = 0; @@ -89,6 +90,7 @@ DSPResampler::DSPResampler() [SEE_ALSO] ] */ +// OFFSET: 0x0091C360 FMOD_RESULT DSPResampler::release(bool freethis) { DSPI::release(false); @@ -141,6 +143,7 @@ FMOD_RESULT DSPResampler::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x0091C4D0 FMOD_RESULT DSPResampler::alloc(FMOD_DSP_DESCRIPTION_EX *description) { FMOD_RESULT result; @@ -1166,6 +1169,7 @@ FMOD_RESULT DSPResampler::addInput(DSPI *target) [SEE_ALSO] ] */ +// OFFSET: 0x0091C3C0 FMOD_RESULT DSPResampler::setFrequency(float frequency) { if (frequency < 0) @@ -1229,6 +1233,7 @@ FMOD_RESULT DSPResampler::getFrequency(float *frequency) [SEE_ALSO] ] */ +// OFFSET: 0x0091C400 FMOD_RESULT DSPResampler::setPosition(unsigned int position, bool processinputs) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_cubic.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_cubic.cpp index fc2d725..e0a9b2e 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_cubic.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_cubic.cpp @@ -21,6 +21,7 @@ [SEE_ALSO] ] */ +// OFFSET: 0x009411A0 void FMOD_Resampler_Cubic(float *out, int outlength, void *src, FMOD_SOUND_FORMAT srcformat, FMOD_UINT64P *position, FMOD_SINT64P *speed, int channels) { float scale = 1.0f; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_multiinput.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_multiinput.cpp index 9ec6db5..f81248f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_multiinput.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_multiinput.cpp @@ -295,6 +295,7 @@ FMOD_RESULT DSPResamplerMultiInput::read(float **outbuffer, int *outchannels, un [SEE_ALSO] ] */ +// OFFSET: 0x00929BD0 FMOD_RESULT DSPResamplerMultiInput::addInput(DSPI *target) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_nointerp.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_nointerp.cpp index 7af86ff..230d516 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_nointerp.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_nointerp.cpp @@ -19,6 +19,7 @@ [SEE_ALSO] ] */ +// OFFSET: 0x00942FE0 void FMOD_Resampler_NoInterp(float *out, int outlength, void *src, FMOD_SOUND_FORMAT srcformat, FMOD_UINT64P *position, FMOD_SINT64P *speed, int channels) { float scale = 1.0f; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_spline.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_spline.cpp index c4ecc7c..5f67dd3 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_spline.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_resampler_spline.cpp @@ -21,6 +21,7 @@ [SEE_ALSO] ] */ +// OFFSET: 0x0093F9B0 void FMOD_Resampler_Spline(float *out, int outlength, void *src, FMOD_SOUND_FORMAT srcformat, FMOD_UINT64P *position, FMOD_SINT64P *speed, int channels) { float scale = 1.0f; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_reverb.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_reverb.cpp index ba2c5f9..d3f184d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_reverb.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_reverb.cpp @@ -60,6 +60,7 @@ FMOD_DSP_PARAMETERDESC dspreverb_param[6] = [SEE_ALSO] ] */ +// OFFSET: 0x008EB900 FMOD_DSP_DESCRIPTION_EX *DSPReverb::getDescriptionEx() { FMOD_memset(&dspreverb, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -102,6 +103,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPReverb::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EB3E0 FMOD_RESULT DSPReverb::createInternal() { int count; @@ -231,6 +233,7 @@ FMOD_RESULT DSPReverb::readInternal(float *inbuffer, float *outbuffer, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008EB440 FMOD_RESULT DSPReverb::setParameterInternal(int index, float value) { mSystem->lockDSP(); @@ -338,6 +341,7 @@ FMOD_RESULT DSPReverb::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008EB680 FMOD_RESULT DSPReverb::getParameterInternal(int index, float *value, char *valuestr) { switch (index) @@ -445,6 +449,7 @@ FMOD_RESULT DSPReverb::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EB7F0 FMOD_RESULT F_CALLBACK DSPReverb::createCallback(FMOD_DSP_STATE *dsp) { DSPReverb *reverb = (DSPReverb *)dsp; @@ -514,6 +519,7 @@ FMOD_RESULT F_CALLBACK DSPReverb::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EB820 FMOD_RESULT F_CALLBACK DSPReverb::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPReverb *reverb = (DSPReverb *)dsp; @@ -537,6 +543,7 @@ FMOD_RESULT F_CALLBACK DSPReverb::readCallback(FMOD_DSP_STATE *dsp, float *inbuf [SEE_ALSO] ] */ +// OFFSET: 0x008EB890 FMOD_RESULT F_CALLBACK DSPReverb::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPReverb *reverb = (DSPReverb *)dsp; @@ -560,6 +567,7 @@ FMOD_RESULT F_CALLBACK DSPReverb::setParameterCallback(FMOD_DSP_STATE *dsp, int [SEE_ALSO] ] */ +// OFFSET: 0x008EB8D0 FMOD_RESULT F_CALLBACK DSPReverb::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPReverb *reverb = (DSPReverb *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_sfxreverb.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_sfxreverb.cpp index bbc06c5..8ad760f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_sfxreverb.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_sfxreverb.cpp @@ -132,6 +132,7 @@ FMOD_DSP_PARAMETERDESC dspsfxreverb_param[] = [SEE_ALSO] ] */ +// OFFSET: 0x008EA410 FMOD_DSP_DESCRIPTION_EX *DSPSfxReverb::getDescriptionEx() { #ifndef PLATFORM_PS3_SPU @@ -233,6 +234,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPSfxReverb::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008E9EC0 FMOD_RESULT DSPSfxReverb::createInternal() { FMOD_RESULT result; @@ -445,6 +447,7 @@ FMOD_RESULT DSPSfxReverb::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EA170 FMOD_RESULT DSPSfxReverb::readInternal(float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { #ifndef PLATFORM_PS3 @@ -609,6 +612,7 @@ FMOD_RESULT DSPSfxReverb::updateInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008E8FB0 FMOD_RESULT DSPSfxReverb::setParameterInternal(int index, float value) { FMOD_RESULT result = FMOD_OK; @@ -739,6 +743,7 @@ FMOD_RESULT DSPSfxReverb::setParameterInternal(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008E91D0 FMOD_RESULT DSPSfxReverb::getParameterInternal(int index, float *value, char *valuestr) { @@ -874,6 +879,7 @@ FMOD_RESULT DSPSfxReverb::getParameterInternal(int index, float *value, char *va } // Adjust intensity level for the room effect (i.e. both the early reflections and the late reverberation). +// OFFSET: 0x008E98E0 bool DSPSfxReverb::SetRoom(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, 0] default: -10000 mB { if (pProps->lRoom < I3DL2LISTENER_MINROOM) @@ -890,6 +896,7 @@ bool DSPSfxReverb::SetRoom(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, // Adjust low-pass filter for the room effect (i.e. both the early reflections and the late reverberation). // Room_HF is defined as the attenuation at high frequencies relative to the intensity at low frequencies. +// OFFSET: 0x008E9930 bool DSPSfxReverb::SetRoomHF(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, 0] default: 0 mB { if (pProps->lRoomHF < I3DL2LISTENER_MINROOMHF) @@ -911,6 +918,7 @@ bool DSPSfxReverb::SetRoomHF(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, return err; } +// OFFSET: 0x008E94B0 bool DSPSfxReverb::Calculate1stOrderLowpassCoeff(float gain, float cutoff, float sampleRate, float *pK) { @@ -956,6 +964,7 @@ bool DSPSfxReverb::Calculate1stOrderLowpassCoeff(float gain, float cutoff, float // Adjust low-pass filter for the room effect (i.e. both the early reflections and the late reverberation). // Room_HF is defined as the attenuation at high frequencies relative to the intensity at low frequencies. +// OFFSET: 0x008E99C0 bool DSPSfxReverb::SetRoomLF(SFX_REVERB_LFPROPS *pLFProps) // [-10000, 0] default: 0 mB { if (pLFProps->mRoomLF < FMODLISTENER_MINROOMLF) @@ -976,6 +985,7 @@ bool DSPSfxReverb::SetRoomLF(SFX_REVERB_LFPROPS *pLFProps) // [-10000, 0] } +// OFFSET: 0x008E9560 bool DSPSfxReverb::CalculateShelfCoeffs(float gain, float cutoff, float sampleRate, float *a0, float *a1, float *a2, float *b1, float *b2) { float t1, t2, g1, g2; @@ -1008,6 +1018,7 @@ bool DSPSfxReverb::SetRoomRolloffFactor(I3DL2_LISTENERPROPERTIES *pProps) // #define NEW_MAX_DECAY_TIME 10000 // Change this to match the I3DL2 spec. // Reverberation decay time +// OFFSET: 0x008E9A40 bool DSPSfxReverb::SetDecayTime(I3DL2_LISTENERPROPERTIES *pProps) // [0.1, 20.0] default: 1.0 s { float K; @@ -1075,6 +1086,7 @@ Calculate1stOrderLowpassCoeff(0.000037, 5000.000000, 48000.000000) #define SHORT_DELAY_LINE_RATIO (1.61f) */ +// OFFSET: 0x008E9B90 bool DSPSfxReverb::SetDelayLineLengths(I3DL2_LISTENERPROPERTIES *pProps) { /* @@ -1128,6 +1140,7 @@ bool DSPSfxReverb::SetDelayLineLengths(I3DL2_LISTENERPROPERTIES *pProps) // Ratio of high-frequency decay time relative to low-frequency decay time. Decay_HF_Ratio would typically // control one or several filters located in the feedback loop of the reverberator, whereas Room_HF should // control a filter located at the input or output of the reverberator (outside of the feedback loop). +// OFFSET: 0x008E9C20 bool DSPSfxReverb::SetDecayHFRatio(I3DL2_LISTENERPROPERTIES *pProps) // [0.1, 2.0] default: 0.5 { if (pProps->flDecayHFRatio < I3DL2LISTENER_MINDECAYHFRATIO) @@ -1143,6 +1156,7 @@ bool DSPSfxReverb::SetDecayHFRatio(I3DL2_LISTENERPROPERTIES *pProps) // [0.1, 2 } // Adjusts intensity level of early reflections (relative to Room value) +// OFFSET: 0x008E9610 bool DSPSfxReverb::SetReflectionsLevel(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, 1000] default: -10000 mB { if (pProps->lReflections < I3DL2LISTENER_MINREFLECTIONS) @@ -1164,6 +1178,7 @@ bool DSPSfxReverb::SetReflectionsLevel(I3DL2_LISTENERPROPERTIES *pProps) // [-1 } // Delay time of the first reflection (relative to the direct path) +// OFFSET: 0x008E9C80 bool DSPSfxReverb::SetReflectionsDelay(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 0.3] default: 0.02 s { if (pProps->flReflectionsDelay < I3DL2LISTENER_MINREFLECTIONSDELAY) @@ -1191,6 +1206,7 @@ bool DSPSfxReverb::SetReflectionsDelay(I3DL2_LISTENERPROPERTIES *pProps) // [0.0 // Adjusts intensity of late reverberation (relative to Room value) // Note: Reverb and Decay_time are independent. If the application adjusts Decay_time without changing // Reverb, the driver must keep the intensity of the late reverberation constant. +// OFFSET: 0x008E9690 bool DSPSfxReverb::SetReverbLevel(I3DL2_LISTENERPROPERTIES *pProps) // [-10000, 2000] default: -10000 mB { if (pProps->lReverb < I3DL2LISTENER_MINREVERB) @@ -1248,6 +1264,7 @@ bool DSPSfxReverb::SetReverbLevel(I3DL2_LISTENERPROPERTIES *pProps) // [-100 // Defines the time limit between the early reflections and the late reverberation (relative to the time // of the first reflection). +// OFFSET: 0x008E9770 bool DSPSfxReverb::SetReverbDelay(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 0.1] default: 0.04 s { if (pProps->flReverbDelay < I3DL2LISTENER_MINREVERBDELAY) @@ -1265,6 +1282,7 @@ bool DSPSfxReverb::SetReverbDelay(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, } // Controls the echo density in the late reverberation decay. 0% = minimum, 100% = maximum. +// OFFSET: 0x008E9D10 bool DSPSfxReverb::SetDiffusion(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 100.0] default: 100.0 % { if (pProps->flDiffusion < I3DL2LISTENER_MINDIFFUSION) @@ -1311,6 +1329,7 @@ bool DSPSfxReverb::SetDiffusion(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 1 } // Controls the modal density in the late reverberation decay. 0% = minimum, 100% = maximum. +// OFFSET: 0x008E9DC0 bool DSPSfxReverb::SetDensity(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 100.0] default: 100.0 % { if (pProps->flDensity < I3DL2LISTENER_MINDENSITY) @@ -1326,6 +1345,7 @@ bool DSPSfxReverb::SetDensity(I3DL2_LISTENERPROPERTIES *pProps) // [0.0, 10 } // Reference high frequency. +// OFFSET: 0x008E9E10 bool DSPSfxReverb::SetHFReference(I3DL2_LISTENERPROPERTIES *pProps) // [20.0, 20000.0] default: 5000.0 Hz { if (pProps->flHFReference < I3DL2LISTENER_MINHFREFERENCE) @@ -1340,6 +1360,7 @@ bool DSPSfxReverb::SetHFReference(I3DL2_LISTENERPROPERTIES *pProps) // [20.0, } // Reference low frequency. +// OFFSET: 0x008E9E70 bool DSPSfxReverb::SetLFReference(SFX_REVERB_LFPROPS *pLFProps) // [20.0, 20000.0] default: 5000.0 Hz { if (pLFProps->mLFReference < FMODLISTENER_MINLFREFERENCE) @@ -1465,6 +1486,7 @@ FMOD_RESULT DSPSfxReverb::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EA3B0 FMOD_RESULT F_CALLBACK DSPSfxReverb::createCallback(FMOD_DSP_STATE *dsp) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; @@ -1489,6 +1511,7 @@ FMOD_RESULT F_CALLBACK DSPSfxReverb::createCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008E97E0 FMOD_RESULT F_CALLBACK DSPSfxReverb::releaseCallback(FMOD_DSP_STATE *dsp) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; @@ -1513,6 +1536,7 @@ FMOD_RESULT F_CALLBACK DSPSfxReverb::releaseCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008E9830 FMOD_RESULT F_CALLBACK DSPSfxReverb::resetCallback(FMOD_DSP_STATE *dsp) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; @@ -1538,6 +1562,7 @@ FMOD_RESULT F_CALLBACK DSPSfxReverb::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EA3E0 FMOD_RESULT F_CALLBACK DSPSfxReverb::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; @@ -1563,6 +1588,7 @@ FMOD_RESULT F_CALLBACK DSPSfxReverb::readCallback(FMOD_DSP_STATE *dsp, float *in [SEE_ALSO] ] */ +// OFFSET: 0x008E9870 FMOD_RESULT F_CALLBACK DSPSfxReverb::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; @@ -1587,6 +1613,7 @@ FMOD_RESULT F_CALLBACK DSPSfxReverb::setParameterCallback(FMOD_DSP_STATE *dsp, i [SEE_ALSO] ] */ +// OFFSET: 0x008E98B0 FMOD_RESULT F_CALLBACK DSPSfxReverb::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPSfxReverb *sfxreverb = (DSPSfxReverb *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_soundcard.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_soundcard.cpp index 53d5bfd..0898242 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_soundcard.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_soundcard.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00929C20 FMOD_RESULT DSPSoundCard::alloc(FMOD_DSP_DESCRIPTION_EX *description) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_wavetable.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_wavetable.cpp index f3e344a..bc1b952 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_wavetable.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dsp_wavetable.cpp @@ -31,6 +31,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00929DA0 FMOD_RESULT DSPWaveTable::alloc(FMOD_DSP_DESCRIPTION_EX *description) { FMOD_RESULT result; @@ -81,6 +82,7 @@ FMOD_RESULT DSPWaveTable::alloc(FMOD_DSP_DESCRIPTION_EX *description) [SEE_ALSO] ] */ +// OFFSET: 0x00929DE0 FMOD_RESULT DSPWaveTable::addInput(DSPI *target) { FMOD_RESULT result; @@ -620,6 +622,7 @@ FMOD_RESULT DSPWaveTable::getParameterInternal(int index, float *value, char *va [SEE_ALSO] ] */ +// OFFSET: 0x0092A1E0 FMOD_RESULT DSPWaveTable::setFrequency(float frequency) { if (frequency < 0) @@ -781,6 +784,7 @@ FMOD_RESULT DSPWaveTable::getFinished(bool *finished) [SEE_ALSO] ] */ +// OFFSET: 0x0092A250 FMOD_RESULT F_CALLBACK DSPWaveTable::setPositionCallback(FMOD_DSP_STATE *dsp, unsigned int position) { DSPWaveTable *wavetable = (DSPWaveTable *)dsp; @@ -804,6 +808,7 @@ FMOD_RESULT F_CALLBACK DSPWaveTable::setPositionCallback(FMOD_DSP_STATE *dsp, un [SEE_ALSO] ] */ +// OFFSET: 0x0092A2A0 FMOD_RESULT F_CALLBACK DSPWaveTable::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPWaveTable *wavetable = (DSPWaveTable *)dsp; @@ -827,6 +832,7 @@ FMOD_RESULT F_CALLBACK DSPWaveTable::setParameterCallback(FMOD_DSP_STATE *dsp, i [SEE_ALSO] ] */ +// OFFSET: 0x0092A2B0 FMOD_RESULT F_CALLBACK DSPWaveTable::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPWaveTable *wavetable = (DSPWaveTable *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_dspi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_dspi.cpp index 3ee1860..04a9b2c 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_dspi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_dspi.cpp @@ -42,6 +42,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008DC390 FMOD_RESULT DSPI::doesUnitExist(DSPI *target, bool protect) { #ifndef PLATFORM_PS3_SPU @@ -96,6 +97,7 @@ FMOD_RESULT DSPI::doesUnitExist(DSPI *target, bool protect) [SEE_ALSO] ] */ +// OFFSET: 0x008DA410 FMOD_RESULT DSPI::alloc(FMOD_DSP_DESCRIPTION_EX *description) { #ifndef PLATFORM_PS3_SPU @@ -197,6 +199,7 @@ FMOD_RESULT DSPI::alloc(FMOD_DSP_DESCRIPTION_EX *description) [SEE_ALSO] ] */ +// OFFSET: 0x008DBEF0 FMOD_RESULT DSPI::getInput(int index, DSPI **inputdsp, DSPConnectionI **input, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -270,6 +273,7 @@ FMOD_RESULT DSPI::getInput(int index, DSPI **inputdsp, DSPConnectionI **input, b [SEE_ALSO] ] */ +// OFFSET: 0x008DBF90 FMOD_RESULT DSPI::getOutput(int index, DSPI **outputdsp, DSPConnectionI **output, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -1107,6 +1111,7 @@ FMOD_RESULT DSPI::run(float **outbuffer, int *outchannels, unsigned int *length, [SEE_ALSO] ] */ +// OFFSET: 0x008DA520 FMOD_RESULT DSPI::validate(DSP *dsp, DSPI **dspi) { if (!dspi) @@ -1140,6 +1145,7 @@ FMOD_RESULT DSPI::validate(DSP *dsp, DSPI **dspi) [SEE_ALSO] ] */ +// OFFSET: 0x008DC420 FMOD_RESULT DSPI::setPosition(unsigned int position, bool processinputs) { FMOD_RESULT result; @@ -1190,6 +1196,7 @@ FMOD_RESULT DSPI::setPosition(unsigned int position, bool processinputs) [SEE_ALSO] ] */ +// OFFSET: 0x008DA550 FMOD_RESULT DSPI::calculateSpeakerLevels(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright, FMOD_SPEAKERMODE speakermode, int channels, FMOD_SPEAKERMAPTYPE speakermap, float *outlevels, int *numinputlevels) { *numinputlevels = 0; @@ -2118,6 +2125,7 @@ FMOD_RESULT DSPI::calculateSpeakerLevels(float frontleft, float frontright, floa [SEE_ALSO] ] */ +// OFFSET: 0x008DC4A0 DSPI::DSPI() { mBuffer = 0; @@ -2158,6 +2166,7 @@ DSPI::DSPI() [SEE_ALSO] ] */ +// OFFSET: 0x008DC540 FMOD_RESULT DSPI::release(bool freethis) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2300,6 +2309,7 @@ FMOD_RESULT DSPI::getSystemObject(System **system) [SEE_ALSO] ] */ +// OFFSET: 0x008DB720 FMOD_RESULT DSPI::updateTreeLevel(int level) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2459,6 +2469,7 @@ FMOD_RESULT DSPI::releaseHistoryBuffer(float *ptr) ] */ +// OFFSET: 0x008DC600 FMOD_RESULT DSPI::addInputInternal(DSPI *target, bool checkcircular, DSPConnectionI *connection, DSPConnectionI **connection_out, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2629,6 +2640,7 @@ FMOD_RESULT DSPI::addInputInternal(DSPI *target, bool checkcircular, DSPConnecti [SEE_ALSO] ] */ +// OFFSET: 0x008DCC10 FMOD_RESULT DSPI::addInput(DSPI *target, DSPConnectionI **connection) { if (!mSystem) @@ -2659,6 +2671,7 @@ FMOD_RESULT DSPI::addInput(DSPI *target, DSPConnectionI **connection) [SEE_ALSO] ] */ +// OFFSET: 0x008DC820 FMOD_RESULT DSPI::addInputQueued(DSPI *target, bool checkcircular, DSPConnectionI *connection_old, DSPConnectionI **connection_out) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2777,6 +2790,7 @@ FMOD_RESULT DSPI::addInputQueued(DSPI *target, bool checkcircular, DSPConnection [SEE_ALSO] ] */ +// OFFSET: 0x008DC030 FMOD_RESULT DSPI::disconnectFromInternal(DSPI *target, DSPConnectionI *connection, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2921,6 +2935,7 @@ FMOD_RESULT DSPI::disconnectFromInternal(DSPI *target, DSPConnectionI *connectio [SEE_ALSO] ] */ +// OFFSET: 0x008DB830 FMOD_RESULT DSPI::disconnectFrom(DSPI *target, DSPConnectionI *connection) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -2979,6 +2994,7 @@ FMOD_RESULT DSPI::disconnectFrom(DSPI *target, DSPConnectionI *connection) [SEE_ALSO] ] */ +// OFFSET: 0x008DC950 FMOD_RESULT DSPI::disconnectAllInternal(bool inputs, bool outputs, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3064,6 +3080,7 @@ FMOD_RESULT DSPI::disconnectAllInternal(bool inputs, bool outputs, bool protect) [SEE_ALSO] ] */ +// OFFSET: 0x008DC340 FMOD_RESULT DSPI::disconnectAll(bool inputs, bool outputs) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3334,6 +3351,7 @@ FMOD_RESULT DSPI::insertInputBetweenInternal(DSPI *dsp, int inputindex, bool sea [SEE_ALSO] ] */ +// OFFSET: 0x008DCAC0 FMOD_RESULT DSPI::remove() { return removeInternal(); @@ -3441,6 +3459,7 @@ FMOD_RESULT DSPI::removeInternal(bool protect) [SEE_ALSO] ] */ +// OFFSET: 0x008DB990 FMOD_RESULT DSPI::getNumInputs(int *numinputs, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3492,6 +3511,7 @@ FMOD_RESULT DSPI::getNumInputs(int *numinputs, bool protect) ] */ +// OFFSET: 0x008DB9E0 FMOD_RESULT DSPI::getNumOutputs(int *numoutputs, bool protect) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3542,6 +3562,7 @@ FMOD_RESULT DSPI::getNumOutputs(int *numoutputs, bool protect) [SEE_ALSO] ] */ +// OFFSET: 0x008DBA30 FMOD_RESULT DSPI::reset() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3578,6 +3599,7 @@ FMOD_RESULT DSPI::reset() [SEE_ALSO] ] */ +// OFFSET: 0x008DBA50 FMOD_RESULT DSPI::setParameter(int index, float value) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3643,6 +3665,7 @@ FMOD_RESULT DSPI::setParameter(int index, float value) [SEE_ALSO] ] */ +// OFFSET: 0x008DBAD0 FMOD_RESULT DSPI::getParameter(int index, float *value, char *valuestr, int valuestrlen) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3730,6 +3753,7 @@ FMOD_RESULT DSPI::getNumParameters(int *numparams) [SEE_ALSO] ] */ +// OFFSET: 0x008DBB60 FMOD_RESULT DSPI::getParameterInfo(int index, char *name, char *label, char *description, int descriptionlen, float *min, float *max) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3788,6 +3812,7 @@ FMOD_RESULT DSPI::getParameterInfo(int index, char *name, char *label, char *des [SEE_ALSO] ] */ +// OFFSET: 0x008DBC40 FMOD_RESULT DSPI::showConfigDialog(void *hwnd, bool show) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3829,6 +3854,7 @@ FMOD_RESULT DSPI::showConfigDialog(void *hwnd, bool show) [SEE_ALSO] ] */ +// OFFSET: 0x008DBC70 FMOD_RESULT DSPI::getInfo(char *name, unsigned int *version, int *channels, int *configwidth, int *configheight) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3884,6 +3910,7 @@ FMOD_RESULT DSPI::getInfo(char *name, unsigned int *version, int *channels, int [SEE_ALSO] ] */ +// OFFSET: 0x008DBCD0 FMOD_RESULT DSPI::getType(FMOD_DSP_TYPE *type) { if (type) @@ -3909,6 +3936,7 @@ FMOD_RESULT DSPI::getType(FMOD_DSP_TYPE *type) [SEE_ALSO] ] */ +// OFFSET: 0x008DBCF0 FMOD_RESULT DSPI::setDefaults(float frequency, float volume, float pan, int priority) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -3971,6 +3999,7 @@ FMOD_RESULT DSPI::setDefaults(float frequency, float volume, float pan, int prio [SEE_ALSO] ] */ +// OFFSET: 0x008DBD80 FMOD_RESULT DSPI::getDefaults(float *frequency, float *volume, float *pan, int *priority) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -4019,6 +4048,7 @@ FMOD_RESULT DSPI::getDefaults(float *frequency, float *volume, float *pan, int * [SEE_ALSO] ] */ +// OFFSET: 0x008DBDD0 FMOD_RESULT DSPI::setUserData(void *userdata) { #ifndef PLATFORM_PS3_SPU @@ -4043,6 +4073,7 @@ FMOD_RESULT DSPI::setUserData(void *userdata) [SEE_ALSO] ] */ +// OFFSET: 0x008DBDF0 FMOD_RESULT DSPI::getUserData(void **userdata) { #ifndef PLATFORM_PS3_SPU @@ -4072,6 +4103,7 @@ FMOD_RESULT DSPI::getUserData(void **userdata) [SEE_ALSO] ] */ +// OFFSET: 0x008DBEA0 FMOD_RESULT DSPI::setTargetFrequency(int frequency) { #ifndef PLATFORM_PS3_SPU @@ -4096,6 +4128,7 @@ FMOD_RESULT DSPI::setTargetFrequency(int frequency) [SEE_ALSO] ] */ +// OFFSET: 0x008DBEB0 FMOD_RESULT DSPI::getTargetFrequency(int *frequency) { #ifndef PLATFORM_PS3_SPU diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file.cpp index bf4e8a1..47f5365 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file.cpp @@ -68,6 +68,7 @@ extern "C" File_GetDiskBusy ] */ +// OFFSET: 0x008E6B10 FMOD_RESULT F_API FMOD_File_SetDiskBusy(int busy) { #ifdef PLATFORM_PS2_EE @@ -156,6 +157,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E7D80 void fileThreadFunc(void *data) { FileThread *fileThread = (FileThread *)data; @@ -224,6 +226,7 @@ FMOD_RESULT FileThread::threadFunc() [SEE_ALSO] ] */ +// OFFSET: 0x008E7BC0 FileThread::FileThread() { mFileListCrit = 0; @@ -247,6 +250,7 @@ FileThread::FileThread() [SEE_ALSO] ] */ +// OFFSET: 0x008E7D90 FMOD_RESULT FileThread::init(int devicetype, bool owned, SystemI *system) { FMOD_RESULT result; @@ -296,6 +300,7 @@ FMOD_RESULT FileThread::init(int devicetype, bool owned, SystemI *system) [SEE_ALSO] ] */ +// OFFSET: 0x008E6B60 FMOD_RESULT FileThread::release() { removeNode(); @@ -333,6 +338,7 @@ FMOD_RESULT FileThread::release() [SEE_ALSO] ] */ +// OFFSET: 0x008E7E10 FMOD_RESULT File::getFileThread() { FMOD_RESULT result; @@ -417,6 +423,7 @@ FMOD_RESULT File::getFileThread() [SEE_ALSO] ] */ +// OFFSET: 0x008E7C10 File::File() { mFlags = FMOD_FILE_BUFFERISSTRING | FMOD_FILE_SEEKABLE; @@ -436,6 +443,7 @@ File::File() [SEE_ALSO] ] */ +// OFFSET: 0x008E6BC0 FMOD_RESULT File::init(SystemI *system, unsigned int filesize, int blocksize) { mBlockSize = blocksize; @@ -488,6 +496,7 @@ FMOD_RESULT File::init(SystemI *system, unsigned int filesize, int blocksize) [SEE_ALSO] ] */ +// OFFSET: 0x008E6C80 FMOD_RESULT File::shutDown() { LinkedListNode *current, *next; @@ -540,6 +549,7 @@ FMOD_RESULT File::shutDown() [SEE_ALSO] ] */ +// OFFSET: 0x008E6D20 FMOD_RESULT File::open(const char *name_or_data, unsigned int length, bool unicode, const char *encryptionkey) { FMOD_RESULT result; @@ -650,6 +660,7 @@ FMOD_RESULT File::open(const char *name_or_data, unsigned int length, bool unico [SEE_ALSO] ] */ +// OFFSET: 0x008E7C40 FMOD_RESULT File::close() { FMOD_RESULT result; @@ -730,6 +741,7 @@ FMOD_RESULT File::close() [SEE_ALSO] ] */ +// OFFSET: 0x008E6F00 FMOD_RESULT File::cancel() { mFlags |= FMOD_FILE_EXIT; @@ -753,6 +765,7 @@ FMOD_RESULT File::cancel() [SEE_ALSO] ] */ +// OFFSET: 0x008E6F20 FMOD_RESULT File::flip(bool frommainthread) { FMOD_RESULT result = FMOD_OK; @@ -878,6 +891,7 @@ FMOD_RESULT File::flip(bool frommainthread) [SEE_ALSO] ] */ +// OFFSET: 0x008E70E0 FMOD_RESULT File::seekAndReset() { FMOD_RESULT result; @@ -942,6 +956,7 @@ FMOD_RESULT File::seekAndReset() [SEE_ALSO] ] */ +// OFFSET: 0x008E7180 FMOD_RESULT File::checkBufferedStatus() { FMOD_RESULT result; @@ -1117,6 +1132,7 @@ FMOD_RESULT File::checkBufferedStatus() [SEE_ALSO] ] */ +// OFFSET: 0x008E73C0 FMOD_RESULT File::read(void *buffer, unsigned int size, unsigned int count, unsigned int *rd) { FMOD_RESULT result = FMOD_OK; @@ -1367,6 +1383,7 @@ FMOD_RESULT File::read(void *buffer, unsigned int size, unsigned int count, unsi [SEE_ALSO] ] */ +// OFFSET: 0x008E77C0 FMOD_RESULT File::getByte(unsigned char *val) { FMOD_RESULT result; @@ -1397,6 +1414,7 @@ FMOD_RESULT File::getByte(unsigned char *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E7760 FMOD_RESULT File::getByte(unsigned short *val) { FMOD_RESULT result; @@ -1427,6 +1445,7 @@ FMOD_RESULT File::getByte(unsigned short *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E7790 FMOD_RESULT File::getByte(unsigned int *val) { FMOD_RESULT result; @@ -1517,6 +1536,7 @@ FMOD_RESULT File::getByte(signed short *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E77F0 FMOD_RESULT File::getByte(signed int *val) { FMOD_RESULT result; @@ -1547,6 +1567,7 @@ FMOD_RESULT File::getByte(signed int *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E7820 FMOD_RESULT File::getWord(unsigned short *val) { FMOD_RESULT result; @@ -1577,6 +1598,7 @@ FMOD_RESULT File::getWord(unsigned short *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E7850 FMOD_RESULT File::getWord(unsigned int *val) { FMOD_RESULT result; @@ -1637,6 +1659,7 @@ FMOD_RESULT File::getWord(signed short *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E7880 FMOD_RESULT File::getWord(signed int *val) { FMOD_RESULT result; @@ -1667,6 +1690,7 @@ FMOD_RESULT File::getWord(signed int *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E78B0 FMOD_RESULT File::getDword(unsigned int *val) { FMOD_RESULT result; @@ -1728,6 +1752,7 @@ FMOD_RESULT File::getDword(signed int *val) [SEE_ALSO] ] */ +// OFFSET: 0x008E78E0 FMOD_RESULT File::seek(int pos, int mode) { FMOD_RESULT result = FMOD_OK; @@ -1840,6 +1865,7 @@ FMOD_RESULT File::seek(int pos, int mode) [SEE_ALSO] ] */ +// OFFSET: 0x008E7A20 FMOD_RESULT File::tell(unsigned int *pos) { FMOD_RESULT result = FMOD_OK; @@ -1872,6 +1898,7 @@ FMOD_RESULT File::tell(unsigned int *pos) [SEE_ALSO] ] */ +// OFFSET: 0x008E7A50 FMOD_RESULT File::setStartOffset(unsigned int offset) { mStartOffset = offset; @@ -1900,6 +1927,7 @@ FMOD_RESULT File::setStartOffset(unsigned int offset) [SEE_ALSO] ] */ +// OFFSET: 0x008E7A80 FMOD_RESULT File::getStartOffset(unsigned int *offset) { if (!offset) @@ -1926,6 +1954,7 @@ FMOD_RESULT File::getStartOffset(unsigned int *offset) [SEE_ALSO] ] */ +// OFFSET: 0x008E7EE0 FMOD_RESULT File::enableDoubleBuffer(unsigned int sizebytes, void *oldbuffer) { FMOD_RESULT result; @@ -2066,6 +2095,7 @@ FMOD_RESULT File::enableDoubleBuffer(unsigned int sizebytes, void *oldbuffer) [SEE_ALSO] ] */ +// OFFSET: 0x008E7AB0 FMOD_RESULT File::getName(char **name) { if (name) @@ -2090,6 +2120,7 @@ FMOD_RESULT File::getName(char **name) [SEE_ALSO] ] */ +// OFFSET: 0x008E7AD0 FMOD_RESULT File::setName(char *name) { if (!name) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file.h b/Engine/Source/SoundEngine/fmodex/src/fmod_file.h index 5b4bd5a..794adf0 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file.h @@ -182,7 +182,9 @@ namespace FMOD FMOD_RESULT isBusy(bool *isbusy, unsigned int *percent) { if (isbusy) *isbusy = (mFlags & FMOD_FILE_BUSY ? true : false); if (percent) *percent = mPercentBuffered; return FMOD_OK; } FMOD_RESULT isStarving(bool *starving) { if (!starving) return FMOD_ERR_INVALID_PARAM; *starving = (mFlags & FMOD_FILE_STARVING ? true : false); return FMOD_OK; } + // OFFSET: 0x008D26C0 virtual FMOD_RESULT getMetadata(Metadata **metadata) { return FMOD_ERR_TAGNOTFOUND; } + // OFFSET: 0x008D26D0 virtual FMOD_RESULT getSize(unsigned int *size) { *size = mLength; return FMOD_OK; } virtual FMOD_RESULT reallyOpen(const char *name_or_data, unsigned int *filesize) = 0; virtual FMOD_RESULT reallyClose() = 0; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.cpp index e3fc3b8..d0abc8e 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.cpp @@ -26,6 +26,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E80A0 FMOD_RESULT DiskFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { FMOD_RESULT result; @@ -99,6 +100,7 @@ FMOD_RESULT DiskFile::reallyOpen(const char *name_or_data, unsigned int *filesiz [SEE_ALSO] ] */ +// OFFSET: 0x008E8140 FMOD_RESULT DiskFile::reallyClose() { FMOD_RESULT result = FMOD_OK; @@ -126,6 +128,7 @@ FMOD_RESULT DiskFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x008E8170 FMOD_RESULT DiskFile::reallyRead(void *buffer, unsigned int size, unsigned int *rd) { FMOD_RESULT result; @@ -174,6 +177,7 @@ FMOD_RESULT DiskFile::reallyRead(void *buffer, unsigned int size, unsigned int * [SEE_ALSO] ] */ +// OFFSET: 0x008E8200 FMOD_RESULT DiskFile::reallySeek(unsigned int pos) { return FMOD_OS_File_Seek(mHandle, pos); @@ -193,6 +197,7 @@ FMOD_RESULT DiskFile::reallySeek(unsigned int pos) [SEE_ALSO] ] */ +// OFFSET: 0x008E8220 FMOD_RESULT DiskFile::reallyCancel() { return FMOD_OS_File_Cancel(mHandle); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.h b/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.h index 88a1fd7..a5520ed 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_disk.h @@ -16,6 +16,7 @@ namespace FMOD public: + // OFFSET: 0x008D2750 DiskFile() { mDeviceType = DEVICE_DISK; } FMOD_RESULT reallyOpen(const char *name_or_data, unsigned int *filesize); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.cpp index 417c1c2..d27eac1 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.cpp @@ -21,6 +21,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E8010 FMOD_RESULT MemoryFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { mMem = (signed char *)name_or_data; @@ -62,6 +63,7 @@ FMOD_RESULT MemoryFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x008E8030 FMOD_RESULT MemoryFile::reallyRead(void *buffer, unsigned int size, unsigned int *read) { FMOD_RESULT result = FMOD_OK; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.h b/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.h index 7dd4d0b..ed1907a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_memory.h @@ -15,6 +15,7 @@ namespace FMOD unsigned int mPosition; void *mMem; + // OFFSET: 0x008D26A0 MemoryFile() { mDeviceType = DEVICE_MEMORY; } FMOD_RESULT reallyOpen(const char *name_or_data, unsigned int *filesize); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_net.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file_net.cpp index 8d16fc6..ee1e767 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_net.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_net.cpp @@ -33,6 +33,7 @@ static const unsigned int SIZEOF_METABUF = (255 * 16) + 1; [SEE_ALSO] ] */ +// OFFSET: 0x00920FA0 NetFile::NetFile() { mHandle = (void *)-1; @@ -82,6 +83,7 @@ FMOD_RESULT NetFile::init() [SEE_ALSO] ] */ +// OFFSET: 0x0091FA30 FMOD_RESULT NetFile::shutDown() { return FMOD_OS_Net_Shutdown(); @@ -101,6 +103,7 @@ FMOD_RESULT NetFile::shutDown() [SEE_ALSO] ] */ +// OFFSET: 0x0091FA40 FMOD_RESULT NetFile::parseUrl(char *url, char *host, int hostlen, char *auth, int authlen, unsigned short *port, char *file, const int filelen, bool *mms) { char *p; @@ -252,6 +255,7 @@ FMOD_RESULT NetFile::parseUrl(char *url, char *host, int hostlen, char *auth, in [SEE_ALSO] ] */ +// OFFSET: 0x0091FCA0 FMOD_RESULT NetFile::openAsHTTP(const char *name_or_data, char *host, char *file, char *auth, unsigned short port, unsigned int *filesize) { FMOD_RESULT result; @@ -766,6 +770,7 @@ FMOD_RESULT NetFile::openAsMMS(const char *name_or_data, char *host, char *file, ] */ +// OFFSET: 0x00920920 FMOD_RESULT NetFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { FMOD_RESULT result; @@ -822,6 +827,7 @@ FMOD_RESULT NetFile::reallyOpen(const char *name_or_data, unsigned int *filesize [SEE_ALSO] ] */ +// OFFSET: 0x009209E0 FMOD_RESULT NetFile::reallyClose() { FMOD_RESULT result; @@ -859,6 +865,7 @@ FMOD_RESULT NetFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x00920A40 FMOD_RESULT NetFile::reallyRead(void *buffer, unsigned int size, unsigned int *rd) { FMOD_RESULT result; @@ -1076,6 +1083,7 @@ AGAIN: [SEE_ALSO] ] */ +// OFFSET: 0x00920D90 FMOD_RESULT NetFile::reallySeek(unsigned int pos) { FMOD_RESULT result = FMOD_OK; @@ -1223,6 +1231,7 @@ FMOD_RESULT NetFile::reallyCancel() [SEE_ALSO] ] */ +// OFFSET: 0x00920F70 FMOD_RESULT NetFile::getMetadata(Metadata **metadata) { if (!metadata) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_null.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file_null.cpp index f6ec7bd..dcfffca 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_null.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_null.cpp @@ -20,6 +20,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E8C70 FMOD_RESULT NullFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { mPosition = 0; @@ -62,6 +63,7 @@ FMOD_RESULT NullFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x008E8C90 FMOD_RESULT NullFile::reallyRead(void *buffer, unsigned int size, unsigned int *read) { FMOD_RESULT result = FMOD_OK; @@ -94,6 +96,7 @@ FMOD_RESULT NullFile::reallyRead(void *buffer, unsigned int size, unsigned int * [SEE_ALSO] ] */ +// OFFSET: 0x008E8080 FMOD_RESULT NullFile::reallySeek(unsigned int pos) { mPosition = pos; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.cpp index 4cf6e92..9ae18fb 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.cpp @@ -22,6 +22,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E8230 FMOD_RESULT UserFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { FMOD_RESULT result = FMOD_OK; @@ -67,6 +68,7 @@ FMOD_RESULT UserFile::reallyOpen(const char *name_or_data, unsigned int *filesiz [SEE_ALSO] ] */ +// OFFSET: 0x008E8270 FMOD_RESULT UserFile::reallyClose() { if (mCloseCallback) @@ -99,6 +101,7 @@ FMOD_RESULT UserFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x008E82A0 FMOD_RESULT UserFile::reallyRead(void *buffer, unsigned int size, unsigned int *rd) { FMOD_RESULT result = FMOD_OK; @@ -133,6 +136,7 @@ FMOD_RESULT UserFile::reallyRead(void *buffer, unsigned int size, unsigned int * [SEE_ALSO] ] */ +// OFFSET: 0x008E82E0 FMOD_RESULT UserFile::reallySeek(unsigned int pos) { if (mSeekCallback) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.h b/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.h index 97720c4..48d5715 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_file_user.h @@ -22,6 +22,7 @@ namespace FMOD public: + // OFFSET: 0x008D2770 UserFile() { mHandle = 0; @@ -38,6 +39,7 @@ namespace FMOD FMOD_RESULT reallyRead(void *buffer, unsigned int size, unsigned int *read); FMOD_RESULT reallySeek(unsigned int pos); + // OFFSET: 0x008D27B0 FMOD_RESULT setUserCallbacks(FMOD_FILE_OPENCALLBACK open, FMOD_FILE_CLOSECALLBACK close, FMOD_FILE_READCALLBACK read, FMOD_FILE_SEEKCALLBACK seek) { if (!open || !close || !read || !seek) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_geometry_mgr.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_geometry_mgr.cpp index f22faac..0617056 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_geometry_mgr.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_geometry_mgr.cpp @@ -347,6 +347,7 @@ OCCLUSION_TASK* OcclusionThread::retrieveOcclusion(unsigned int index) [SEE_ALSO] ] */ +// OFFSET: 0x008E54D0 GeometryMgr::GeometryMgr() { mSystem = 0; @@ -466,6 +467,7 @@ void GeometryMgr::releaseMainOctree() [SEE_ALSO] ] */ +// OFFSET: 0x008E54F0 bool GeometryMgr::mainOctreeLineTestCallback(OctreeNode* item, void* data) { GeometryI::SpatialData* spatialdata = (GeometryI::SpatialData*)item; @@ -551,6 +553,7 @@ FMOD_RESULT GeometryMgr::setWorldSize(float worldSize) [SEE_ALSO] ] */ +// OFFSET: 0x008E5550 FMOD_RESULT GeometryMgr::lineTestAll(const FMOD_VECTOR* start, const FMOD_VECTOR* end, float* directOcclusion, float* reverbOcclusion) { #ifdef FMOD_SUPPORT_GEOMETRY_THREADED diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_geometryi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_geometryi.cpp index da0e833..081c21c 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_geometryi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_geometryi.cpp @@ -218,6 +218,7 @@ void GeometryI::setToBeUpdated() [SEE_ALSO] ] */ +// OFFSET: 0x00919EC0 bool GeometryI::octreeLineTestCallback(OctreeNode* item, void* data) { LineTestData *lineTestData = (LineTestData*)data; @@ -920,6 +921,7 @@ FMOD_RESULT GeometryI::getPolygonAttributes(int polygonIndex, float *directOcclu [SEE_ALSO] ] */ +// OFFSET: 0x0091A2C0 FMOD_RESULT GeometryI::flush() { /* @@ -1743,6 +1745,7 @@ FMOD_RESULT GeometryI::getUserData(void **userdata) [SEE_ALSO] ] */ +// OFFSET: 0x0091A5A0 bool GeometryI::lineTest(LineTestData* lineTestData) { FMOD_VECTOR startBck = lineTestData->start; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_linkedlist.h b/Engine/Source/SoundEngine/fmodex/src/fmod_linkedlist.h index 2ce5ec9..a4b5e11 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_linkedlist.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_linkedlist.h @@ -42,6 +42,7 @@ namespace FMOD mNodePrev = mNodeNext = this; mNodeData = 0; } + // OFFSET: 0x008D2680 inline void removeNode() { mNodePrev->mNodeNext = mNodeNext; @@ -78,6 +79,7 @@ namespace FMOD return false; } + // OFFSET: 0x008D0510 inline bool isEmpty() const { if (mNodeNext == this && mNodePrev == this) @@ -126,6 +128,7 @@ namespace FMOD return current; } + // OFFSET: 0x008F3820 int getNodeIndex(LinkedListNode *node) const { LinkedListNode *current = this->mNodeNext; @@ -166,6 +169,7 @@ namespace FMOD mNodeData = 0; } + // OFFSET: 0x008DCD20 void addAt(SortedLinkedListNode *head, SortedLinkedListNode *tail, unsigned int priority) { SortedLinkedListNode *current = SAFE_CAST(SortedLinkedListNode, head->mNodeNext); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_listener.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_listener.cpp index 5011a06..63383dc 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_listener.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_listener.cpp @@ -23,6 +23,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00921C20 Listener::Listener() { mPosition.x = 0; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_localcriticalsection.h b/Engine/Source/SoundEngine/fmodex/src/fmod_localcriticalsection.h index 1cae41d..9f5cf09 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_localcriticalsection.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_localcriticalsection.h @@ -29,6 +29,7 @@ namespace FMOD enter(); } } + // OFFSET: 0x008DBED0 ~LocalCriticalSection() { if (mEntered) @@ -42,6 +43,7 @@ namespace FMOD FMOD_OS_CriticalSection_Enter(mCrit); mEntered = true; } + // OFFSET: 0x008DA3F0 void leave() { FMOD_OS_CriticalSection_Leave(mCrit); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_memory.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_memory.cpp index 20b715d..35a5c90 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_memory.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_memory.cpp @@ -30,20 +30,24 @@ extern "C" { + // OFFSET: 0x008D0220 void *FMOD_Memory_allocC(int len, const char *file, const int line) { return FMOD::gGlobal->gSystemPool->alloc(len, file, line); } + // OFFSET: 0x008D0250 void *FMOD_Memory_callocC(int len, const char *file, const int line) { return FMOD::gGlobal->gSystemPool->calloc(len, file, line); } + // OFFSET: 0x008D0280 void *FMOD_Memory_reallocC(void *ptr, int len, const char *file, const int line) { return FMOD::gGlobal->gSystemPool->realloc(ptr, len, file, line); } + // OFFSET: 0x008D02B0 void FMOD_Memory_freeC(void *ptr, const char *file, const int line) { FMOD::gGlobal->gSystemPool->free(ptr, file, line); @@ -55,6 +59,7 @@ namespace FMOD { +// OFFSET: 0x008D02D0 void *MemSingleton::alloc(int len, const char *file, const int line) { if (!mRefCount) @@ -67,6 +72,7 @@ void *MemSingleton::alloc(int len, const char *file, const int line) return mBuffer; } +// OFFSET: 0x008D0310 void MemSingleton::free(const char *file, const int line) { if (mRefCount) @@ -88,14 +94,17 @@ void MemSingleton::free(const char *file, const int line) /* The wrapper is needed to handle stdcall callbacks when malloc/free is normally cdecl */ +// OFFSET: 0x008CFAA0 void * F_CALLBACK Memory_DefaultMalloc(unsigned int size, FMOD_MEMORY_TYPE type) { return FMOD_OS_Memory_Alloc(size, type); } +// OFFSET: 0x008CFAC0 void * F_CALLBACK Memory_DefaultRealloc(void *data, unsigned int size, FMOD_MEMORY_TYPE type) { return FMOD_OS_Memory_Realloc(data, size, type); } +// OFFSET: 0x008CFAE0 void F_CALLBACK Memory_DefaultFree(void *ptr, FMOD_MEMORY_TYPE type) { FMOD_OS_Memory_Free(ptr, type); @@ -172,6 +181,7 @@ MemPool::~MemPool() [REMARKS] ] */ +// OFFSET: 0x008D0400 FMOD_RESULT MemPool::init(void *poolmem, int poolsize, int blocksize) { FMOD_RESULT result; @@ -334,6 +344,7 @@ FMOD_RESULT MemPool::initCustom(void *poolmem, int poolsize, int blocksize) [REMARKS] ] */ +// OFFSET: 0x008D0360 void MemPool::close() { int count; @@ -384,6 +395,7 @@ void MemPool::close() [REMARKS] ] */ +// OFFSET: 0x008CFC10 void MemPool::set(int blockoffset, int value, int numblocks) { #ifdef FMOD_MEMORY_USEBITS @@ -505,6 +517,7 @@ void MemPool::set(int blockoffset, int value, int numblocks) [REMARKS] ] */ +// OFFSET: 0x008CFB60 int MemPool::findFreeBlocks(int offset, int to, int numblocks) { int found = 0; @@ -585,6 +598,7 @@ int MemPool::findFreeBlocks(int offset, int to, int numblocks) [REMARKS] ] */ +// OFFSET: 0x008CFDA0 void *MemPool::alloc(int len, const char *file, const int line, FMOD_MEMORY_TYPE type, bool clear) { #ifdef FMOD_DEBUG @@ -783,6 +797,7 @@ void *MemPool::alloc(int len, const char *file, const int line, FMOD_MEMORY_TYPE [REMARKS] ] */ +// OFFSET: 0x008CFF30 void MemPool::free(void *ptr, const char *file, const int line, FMOD_MEMORY_TYPE type) { MemBlockHeader *block = (MemBlockHeader *)ptr; @@ -870,6 +885,7 @@ void MemPool::free(void *ptr, const char *file, const int line, FMOD_MEMORY_TYPE [REMARKS] ] */ +// OFFSET: 0x008CFFF0 void *MemPool::calloc(int len, const char *file, const int line, FMOD_MEMORY_TYPE type) { void *ptr; @@ -891,6 +907,7 @@ void *MemPool::calloc(int len, const char *file, const int line, FMOD_MEMORY_TYP [REMARKS] ] */ +// OFFSET: 0x008D0010 void *MemPool::realloc(void *ptr, int len, const char *file, const int line, FMOD_MEMORY_TYPE type) { MemBlockHeader *block = (MemBlockHeader *)ptr; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_memory.h b/Engine/Source/SoundEngine/fmodex/src/fmod_memory.h index 84683e5..6e8b417 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_memory.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_memory.h @@ -107,6 +107,7 @@ namespace FMOD void free (void *ptr, const char *file = "", const int line = 0, FMOD_MEMORY_TYPE type = FMOD_MEMORY_NORMAL); int getSize(void *ptr, const char *file = "", const int line = 0); + // OFFSET: 0x008D0520 inline FMOD_RESULT setCallbacks(FMOD_MEMORY_ALLOCCALLBACK useralloc, FMOD_MEMORY_REALLOCCALLBACK userrealloc, FMOD_MEMORY_FREECALLBACK userfree) { mAlloc = useralloc; @@ -124,6 +125,7 @@ namespace FMOD { return mCurrentAllocatedSecondary; } + // OFFSET: 0x008CF9E0 inline unsigned int getCurrentThreadID(FMOD_UINT_NATIVE threadid = 0) { unsigned int count; @@ -150,6 +152,7 @@ namespace FMOD return count; } + // OFFSET: 0x008E5150 inline void clearThreadID(FMOD_UINT_NATIVE id) { int count; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_metadata.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_metadata.cpp index f7629c9..9e65874 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_metadata.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_metadata.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091CD10 FMOD_RESULT TagNode::init(FMOD_TAGTYPE type, const char *name, void *data, unsigned int datalen, FMOD_TAGDATATYPE datatype) { int memsize; @@ -83,6 +84,7 @@ FMOD_RESULT TagNode::init(FMOD_TAGTYPE type, const char *name, void *data, unsig [SEE_ALSO] ] */ +// OFFSET: 0x0091CDB0 FMOD_RESULT TagNode::release() { if (mName) @@ -121,6 +123,7 @@ FMOD_RESULT TagNode::release() [SEE_ALSO] ] */ +// OFFSET: 0x0091CE20 FMOD_RESULT TagNode::update(void *data, unsigned int datalen) { //AJS double-buffered stuff!!!!!!!!!!1 @@ -171,6 +174,7 @@ FMOD_RESULT TagNode::update(void *data, unsigned int datalen) [SEE_ALSO] ] */ +// OFFSET: 0x0091CF40 FMOD_RESULT Metadata::release() { TagNode *node = (TagNode *)mList.getNext(); @@ -205,6 +209,7 @@ FMOD_RESULT Metadata::release() [SEE_ALSO] ] */ +// OFFSET: 0x0091CFF0 FMOD_RESULT Metadata::getNumTags(int *numtags, int *numtagsupdated) { TagNode *node; @@ -252,6 +257,7 @@ FMOD_RESULT Metadata::getNumTags(int *numtags, int *numtagsupdated) [SEE_ALSO] ] */ +// OFFSET: 0x0091D030 FMOD_RESULT Metadata::getTag(const char *name, int index, FMOD_TAG *tag) { int i; @@ -369,6 +375,7 @@ FMOD_RESULT Metadata::getTag(const char *name, int index, FMOD_TAG *tag) [SEE_ALSO] ] */ +// OFFSET: 0x0091D140 FMOD_RESULT Metadata::add(Metadata *metadata) { TagNode *node = (TagNode *)metadata->mList.getNext(); @@ -461,6 +468,7 @@ FMOD_RESULT Metadata::addTag(TagNode *node) [SEE_ALSO] ] */ +// OFFSET: 0x0091D1E0 FMOD_RESULT Metadata::addTag(FMOD_TAGTYPE type, const char *name, void *data, unsigned int datalen, FMOD_TAGDATATYPE datatype, bool unique) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_music.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_music.cpp index 4d0da72..a3a861e 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_music.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_music.cpp @@ -333,6 +333,7 @@ signed short gITFineTuneTable[FMUSIC_ITFINETUNETABLESIZE] = [SEE_ALSO] ] */ +// OFFSET: 0x00935520 FMOD_RESULT MusicSong::play(bool fromopen) { FMOD_RESULT result; @@ -460,6 +461,7 @@ FMOD_RESULT MusicSong::play(bool fromopen) [SEE_ALSO] ] */ +// OFFSET: 0x00934E40 FMOD_RESULT MusicSong::spawnNewVirtualChannel(MusicChannel *cptr, MusicSample *sptr, MusicVirtualChannel **newvcptr) { MusicVirtualChannel *vcptr = 0; @@ -536,6 +538,7 @@ FMOD_RESULT MusicSong::spawnNewVirtualChannel(MusicChannel *cptr, MusicSample *s [SEE_ALSO] ] */ +// OFFSET: 0x00934F40 FMOD_RESULT MusicVirtualChannel::cleanUp() { bool playing = false; @@ -573,6 +576,7 @@ FMOD_RESULT MusicVirtualChannel::cleanUp() [SEE_ALSO] ] */ +// OFFSET: 0x00934FB0 FMOD_RESULT MusicSong::setBPM(int bpm) { float hz; @@ -621,6 +625,7 @@ FMOD_RESULT MusicSong::setBPM(int bpm) [SEE_ALSO] ] */ +// OFFSET: 0x00935010 FMOD_RESULT MusicSong::stop() { int count; @@ -698,6 +703,7 @@ FMOD_RESULT MusicSong::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00935150 FMOD_RESULT MusicSong::playSound(MusicSample *sample, MusicVirtualChannel *vcptr, bool addfilter, SNDMIXPLUGIN *plugin) { FMOD_RESULT result; @@ -797,6 +803,7 @@ FMOD_RESULT MusicSong::playSound(MusicSample *sample, MusicVirtualChannel *vcptr [SEE_ALSO] ] */ +// OFFSET: 0x00935280 FMOD_RESULT MusicSong::fineTune2Hz(unsigned char ft, unsigned int *hz) { if (!hz) @@ -844,6 +851,7 @@ FMOD_RESULT MusicSong::fineTune2Hz(unsigned char ft, unsigned int *hz) [SEE_ALSO] ] */ +// OFFSET: 0x009353B0 FMOD_RESULT MusicSong::getLengthInternal(unsigned int *length, FMOD_TIMEUNIT lengthtype) { if (lengthtype == FMOD_TIMEUNIT_MODORDER) @@ -884,6 +892,7 @@ FMOD_RESULT MusicSong::getLengthInternal(unsigned int *length, FMOD_TIMEUNIT len [SEE_ALSO] ] */ +// OFFSET: 0x00935410 FMOD_RESULT MusicSong::getPositionInternal(unsigned int *position, FMOD_TIMEUNIT postype) { if (postype == FMOD_TIMEUNIT_MODORDER) @@ -1184,6 +1193,7 @@ FMOD_RESULT ChannelMusic::setVolume(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x00935470 FMOD_RESULT F_CALLBACK MusicSong::getLengthCallback(FMOD_CODEC_STATE *codec, unsigned int *length, FMOD_TIMEUNIT lengthtype) { MusicSong *cmusic = (MusicSong *)codec; @@ -1207,6 +1217,7 @@ FMOD_RESULT F_CALLBACK MusicSong::getLengthCallback(FMOD_CODEC_STATE *codec, uns [SEE_ALSO] ] */ +// OFFSET: 0x009354B0 FMOD_RESULT F_CALLBACK MusicSong::getPositionCallback(FMOD_CODEC_STATE *codec, unsigned int *position, FMOD_TIMEUNIT postype) { MusicSong *cmusic = (MusicSong *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_net.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_net.cpp index 3e9f661..8dd47ad 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_net.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_net.cpp @@ -46,6 +46,7 @@ int FMOD_Net_Timeout = 5000; [SEE_ALSO] ] */ +// OFFSET: 0x0091A710 FMOD_RESULT FMOD_Net_ParseHTTPStatus(char *buf, int buflen, int *version, int *statuscode) { int i, j, k; @@ -99,6 +100,7 @@ FMOD_RESULT FMOD_Net_ParseHTTPStatus(char *buf, int buflen, int *version, int *s */ #define CHECK_LENGTH if (out_cnt == outbuflen) { return FMOD_ERR_INVALID_PARAM; } +// OFFSET: 0x0091A7D0 FMOD_RESULT FMOD_Net_EncodeBase64(char *inbuf, char *outbuf, int outbuflen) { int bits = 0, char_count = 0, out_cnt = 0, c; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_octree.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_octree.cpp index e1dae6a..c8b910f 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_octree.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_octree.cpp @@ -125,6 +125,7 @@ static unsigned int HighestBit(unsigned int value) [SEE_ALSO] ] */ +// OFFSET: 0x00925520 void aabbAdd(FMOD_AABB& a, FMOD_AABB& b, FMOD_AABB& dst) { dst.xMin = MIN(a.xMin, b.xMin); @@ -208,6 +209,7 @@ Octree::~Octree() [SEE_ALSO] ] */ +// OFFSET: 0x009262C0 void Octree::insertItem(OctreeNode* item) { // checkTree(mRoot); @@ -263,6 +265,7 @@ void Octree::insertItem(OctreeNode* item) [SEE_ALSO] ] */ +// OFFSET: 0x009263F0 void Octree::deleteItem(OctreeNode* item) { checkTree(mRoot); @@ -419,6 +422,7 @@ void Octree::deleteItem(OctreeNode* item) [SEE_ALSO] ] */ +// OFFSET: 0x00926580 void Octree::updateItem(OctreeNode* item) { // this function must be called if an items aabb has been changed. @@ -460,6 +464,7 @@ void Octree::updateItem(OctreeNode* item) insertItem(item); } +// OFFSET: 0x009255C0 void Octree::getAABB(FMOD_AABB* aabb) { if (mRoot) @@ -480,6 +485,7 @@ void Octree::getAABB(FMOD_AABB* aabb) } } +// OFFSET: 0x00925E20 void Octree::addInternalNode(OctreeNode* item) { ASSERT(item); @@ -776,6 +782,7 @@ void Octree::setMaxSize(float maxSize) mScale = 1.0f / maxSize; } +// OFFSET: 0x00925E60 bool Octree::testLine(bool (*octreeLineTestCallback)(OctreeNode* item, void* data), void* data, const FMOD_VECTOR& a, const FMOD_VECTOR& b) { ASSERT(octreeLineTestCallback); @@ -1187,6 +1194,7 @@ public: TestClass testClass;*/ #endif +// OFFSET: 0x00925EE0 void Octree::insertInternal(OctreeNode* node, OctreeNode* item) { for (;;) @@ -1429,6 +1437,7 @@ OctreeNode* Octree::getFreeNode() return node; } +// OFFSET: 0x00925640 void Octree::adjustAABBs(OctreeNode* node) { while (node) @@ -1499,6 +1508,7 @@ void Octree::removeListItem(OctreeNode* node) node->flags &= ~OCTREE_FLAG_EXTRA_NODE; } +// OFFSET: 0x009256E0 void Octree::addListItem(OctreeNode* list, OctreeNode* node) { // add to list, sorted by extent @@ -1568,6 +1578,7 @@ void Octree::addListItem(OctreeNode* list, OctreeNode* node) ASSERT(node->nextItem != node); } +// OFFSET: 0x00925790 void Octree::testLine(OctreeNode* node, FMOD_VECTOR a, FMOD_VECTOR b, RecursionData* recursionData) { float t; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output.cpp index ccc838b..9635846 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output.cpp @@ -41,6 +41,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00916EC0 Output::Output() { mEnumerated = false; @@ -81,6 +82,7 @@ Output::Output() [SEE_ALSO] ] */ +// OFFSET: 0x00916090 FMOD_RESULT Output::release() { if (mDescription.close) @@ -118,6 +120,7 @@ FMOD_RESULT Output::release() [SEE_ALSO] ] */ +// OFFSET: 0x00916120 FMOD_RESULT Output::recordRead(FMOD_RECORDING_INFO *recordinfo, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { FMOD_RESULT result = FMOD_OK; @@ -212,6 +215,7 @@ FMOD_RESULT Output::recordRead(FMOD_RECORDING_INFO *recordinfo, float *inbuffer, [SEE_ALSO] ] */ +// OFFSET: 0x009165A0 FMOD_RESULT F_CALLBACK Output::recordResamplerReadCallback(FMOD_DSP_STATE *dsp_state, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPResampler *resampler = (DSPResampler *)dsp_state; @@ -236,6 +240,7 @@ FMOD_RESULT F_CALLBACK Output::recordResamplerReadCallback(FMOD_DSP_STATE *dsp_s [SEE_ALSO] ] */ +// OFFSET: 0x009165F0 FMOD_RESULT Output::recordFill(FMOD_RECORDING_INFO *recordinfo, unsigned int length) { FMOD_RESULT result; @@ -379,6 +384,7 @@ FMOD_RESULT Output::recordFill(FMOD_RECORDING_INFO *recordinfo, unsigned int len [SEE_ALSO] ] */ +// OFFSET: 0x00916B30 FMOD_RESULT Output::recordUpdate() { FMOD_RESULT result = FMOD_OK; @@ -636,6 +642,7 @@ FMOD_RESULT Output::recordStop(FMOD_RECORDING_INFO *recordinfo) [SEE_ALSO] ] */ +// OFFSET: 0x00916BC0 FMOD_RESULT Output::mix(void *buffer, unsigned int numsamples) { FMOD_RESULT result; @@ -796,6 +803,7 @@ FMOD_RESULT Output::mix(void *buffer, unsigned int numsamples) [SEE_ALSO] ] */ +// OFFSET: 0x009160B0 FMOD_RESULT Output::getFreeChannel(FMOD_MODE mode, ChannelReal **realchannel, int numchannels, int numsoundchannels, int *found, bool ignorereserved) { FMOD_RESULT result; @@ -889,6 +897,7 @@ FMOD_RESULT Output::reserveVoice(int voice, bool reserved) [SEE_ALSO] ] */ +// OFFSET: 0x00916E80 FMOD_RESULT F_CALLBACK Output::mixCallback(FMOD_OUTPUT_STATE *output, void *buffer, unsigned int length) { Output *out = (Output *)output; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_emulated.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_emulated.cpp index 127586a..3ec1b27 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_emulated.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_emulated.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00922210 OutputEmulated::OutputEmulated() { FMOD_memset(&mDescription, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -52,6 +53,7 @@ OutputEmulated::OutputEmulated() [SEE_ALSO] ] */ +// OFFSET: 0x00922250 FMOD_RESULT OutputEmulated::init(int maxchannels) { FMOD_RESULT result; @@ -114,6 +116,7 @@ FMOD_RESULT OutputEmulated::init(int maxchannels) [SEE_ALSO] ] */ +// OFFSET: 0x00922330 FMOD_RESULT OutputEmulated::release() { if (mChannelPool) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound.cpp index e83f465..357925b 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound.cpp @@ -52,6 +52,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00915030 FMOD_OUTPUT_DESCRIPTION_EX *OutputNoSound::getDescriptionEx() { FMOD_memset(&nosoundoutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -174,6 +175,7 @@ FMOD_RESULT OutputNoSound::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x00914E40 FMOD_RESULT OutputNoSound::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { Plugin::init(); /* Set up gGlobal - for debug / file / memory access by this plugin. */ @@ -286,6 +288,7 @@ FMOD_RESULT OutputNoSound::getPosition(unsigned int *pcm) [SEE_ALSO] ] */ +// OFFSET: 0x00914CE0 FMOD_RESULT OutputNoSound::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { offset %= mBlockLengthBytes; @@ -335,6 +338,7 @@ FMOD_RESULT OutputNoSound::lock(unsigned int offset, unsigned int length, void * [SEE_ALSO] ] */ +// OFFSET: 0x009152B0 FMOD_RESULT F_CALLBACK OutputNoSound::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -360,6 +364,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound::getNumDriversCallback(FMOD_OUTPUT_STATE *o [SEE_ALSO] ] */ +// OFFSET: 0x00914D70 FMOD_RESULT F_CALLBACK OutputNoSound::getDriverNameCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -385,6 +390,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound::getDriverNameCallback(FMOD_OUTPUT_STATE *o [SEE_ALSO] ] */ +// OFFSET: 0x00914D90 FMOD_RESULT OutputNoSound::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -410,6 +416,7 @@ FMOD_RESULT OutputNoSound::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int [SEE_ALSO] ] */ +// OFFSET: 0x00914FF0 FMOD_RESULT F_CALLBACK OutputNoSound::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -435,6 +442,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound::initCallback(FMOD_OUTPUT_STATE *output, in [SEE_ALSO] ] */ +// OFFSET: 0x00914DB0 FMOD_RESULT F_CALLBACK OutputNoSound::closeCallback(FMOD_OUTPUT_STATE *output) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -460,6 +468,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound::closeCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x00915AA0 FMOD_RESULT F_CALLBACK OutputNoSound::getPositionCallback(FMOD_OUTPUT_STATE *output, unsigned int *pcm) { OutputNoSound *nosound = (OutputNoSound *)output; @@ -485,6 +494,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound::getPositionCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x00914E00 FMOD_RESULT F_CALLBACK OutputNoSound::lockCallback(FMOD_OUTPUT_STATE *output, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputNoSound *nosound = (OutputNoSound *)output; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound_nrt.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound_nrt.cpp index 3630dc3..908fc45 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound_nrt.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_nosound_nrt.cpp @@ -52,6 +52,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00914C50 FMOD_OUTPUT_DESCRIPTION_EX *OutputNoSound_NRT::getDescriptionEx() { FMOD_memset(&nosoundoutput_nrt, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -173,6 +174,7 @@ FMOD_RESULT OutputNoSound_NRT::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x00914A90 FMOD_RESULT OutputNoSound_NRT::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { FMOD_RESULT result; @@ -373,6 +375,7 @@ FMOD_RESULT OutputNoSound_NRT::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x00914C10 FMOD_RESULT F_CALLBACK OutputNoSound_NRT::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputNoSound_NRT *nosound = (OutputNoSound_NRT *)output; @@ -398,6 +401,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound_NRT::initCallback(FMOD_OUTPUT_STATE *output [SEE_ALSO] ] */ +// OFFSET: 0x00914A10 FMOD_RESULT F_CALLBACK OutputNoSound_NRT::closeCallback(FMOD_OUTPUT_STATE *output) { OutputNoSound_NRT *nosound = (OutputNoSound_NRT *)output; @@ -423,6 +427,7 @@ FMOD_RESULT F_CALLBACK OutputNoSound_NRT::closeCallback(FMOD_OUTPUT_STATE *outpu [SEE_ALSO] ] */ +// OFFSET: 0x00914A60 FMOD_RESULT F_CALLBACK OutputNoSound_NRT::updateCallback(FMOD_OUTPUT_STATE *output) { OutputNoSound_NRT *nosound = (OutputNoSound_NRT *)output; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_polled.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_polled.cpp index f0811d8..15fcf69 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_polled.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_polled.cpp @@ -37,6 +37,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00922950 OutputPolled::OutputPolled() { mCursorBlock = 0; @@ -59,6 +60,7 @@ OutputPolled::OutputPolled() [SEE_ALSO] ] */ +// OFFSET: 0x00922B00 FMOD_RESULT OutputPolled::threadFunc() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -207,6 +209,7 @@ FMOD_RESULT OutputPolled::threadFunc() [SEE_ALSO] ] */ +// OFFSET: 0x00922990 FMOD_RESULT OutputPolled::start() { FMOD_RESULT result; @@ -297,6 +300,7 @@ FMOD_RESULT OutputPolled::start() [SEE_ALSO] ] */ +// OFFSET: 0x00922A90 FMOD_RESULT OutputPolled::stop() { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_software.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_software.cpp index 4331f16..de5395a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_software.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_software.cpp @@ -34,6 +34,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091AA80 OutputSoftware::OutputSoftware() { FMOD_memset(&mDescription, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -69,6 +70,7 @@ OutputSoftware::OutputSoftware() [SEE_ALSO] ] */ +// OFFSET: 0x0091A930 FMOD_RESULT OutputSoftware::init(int maxchannels) { FMOD_RESULT result; @@ -130,6 +132,7 @@ FMOD_RESULT OutputSoftware::init(int maxchannels) [SEE_ALSO] ] */ +// OFFSET: 0x0091AA20 FMOD_RESULT OutputSoftware::release() { if (mChannelPool) @@ -162,6 +165,7 @@ FMOD_RESULT OutputSoftware::release() [SEE_ALSO] ] */ +// OFFSET: 0x0091AB00 FMOD_RESULT OutputSoftware::createSample(FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter.cpp index 891a41e..71dff43 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter.cpp @@ -54,6 +54,7 @@ static const FMOD_GUID KSDATAFORMAT_SUBTYPE_PCM = { 0x00000001, 0x0000, 0 [SEE_ALSO] ] */ +// OFFSET: 0x00915F10 FMOD_OUTPUT_DESCRIPTION_EX *OutputWavWriter::getDescriptionEx() { FMOD_memset(&wavwriteroutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION)); @@ -174,6 +175,7 @@ FMOD_RESULT OutputWavWriter::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x00915BA0 FMOD_RESULT OutputWavWriter::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { FMOD_RESULT result; @@ -239,6 +241,7 @@ FMOD_RESULT OutputWavWriter::init(int selecteddriver, FMOD_INITFLAGS flags, int [SEE_ALSO] ] */ +// OFFSET: 0x00915E40 FMOD_RESULT OutputWavWriter::close() { Plugin::init(); /* Set up gGlobal - for debug / file / memory access by this plugin. */ @@ -321,6 +324,7 @@ FMOD_RESULT OutputWavWriter::getPosition(unsigned int *pcm) [SEE_ALSO] ] */ +// OFFSET: 0x009157B0 FMOD_RESULT OutputWavWriter::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { offset %= mBufferLengthBytes; @@ -361,6 +365,7 @@ FMOD_RESULT OutputWavWriter::lock(unsigned int offset, unsigned int length, void [SEE_ALSO] ] */ +// OFFSET: 0x00915840 FMOD_RESULT OutputWavWriter::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { unsigned int count = 0; @@ -482,6 +487,7 @@ FMOD_RESULT OutputWavWriter::getHandle(void **handle) [SEE_ALSO] ] */ +// OFFSET: 0x009158A0 FMOD_RESULT OutputWavWriter::writeWavHeader() { if (!mFP) @@ -627,6 +633,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter::getNumDriversCallback(FMOD_OUTPUT_STATE [SEE_ALSO] ] */ +// OFFSET: 0x00915A80 FMOD_RESULT F_CALLBACK OutputWavWriter::getDriverNameCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen) { OutputWavWriter *wavwriter = (OutputWavWriter *)output; @@ -675,6 +682,7 @@ FMOD_RESULT OutputWavWriter::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, in [SEE_ALSO] ] */ +// OFFSET: 0x00915EA0 FMOD_RESULT F_CALLBACK OutputWavWriter::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputWavWriter *wavwriter = (OutputWavWriter *)output; @@ -699,6 +707,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter::initCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x00915EE0 FMOD_RESULT F_CALLBACK OutputWavWriter::closeCallback(FMOD_OUTPUT_STATE *output) { OutputWavWriter *wavwriter = (OutputWavWriter *)output; @@ -748,6 +757,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter::getPositionCallback(FMOD_OUTPUT_STATE *o [SEE_ALSO] ] */ +// OFFSET: 0x00915AF0 FMOD_RESULT F_CALLBACK OutputWavWriter::lockCallback(FMOD_OUTPUT_STATE *output, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputWavWriter *wavwriter = (OutputWavWriter *)output; @@ -773,6 +783,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter::lockCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x00915B30 FMOD_RESULT F_CALLBACK OutputWavWriter::unlockCallback(FMOD_OUTPUT_STATE *output, void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { OutputWavWriter *wavwriter = (OutputWavWriter *)output; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter_nrt.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter_nrt.cpp index 6a7ef38..92f5ef6 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter_nrt.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_output_wavwriter_nrt.cpp @@ -52,6 +52,7 @@ static const FMOD_GUID KSDATAFORMAT_SUBTYPE_PCM = { 0x00000001, 0x0000, 0 [SEE_ALSO] ] */ +// OFFSET: 0x00915700 FMOD_OUTPUT_DESCRIPTION_EX *OutputWavWriter_NRT::getDescriptionEx() { FMOD_memset(&wavwriteroutput_nrt, 0, sizeof(FMOD_OUTPUT_DESCRIPTION)); @@ -172,6 +173,7 @@ FMOD_RESULT OutputWavWriter_NRT::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x00915450 FMOD_RESULT OutputWavWriter_NRT::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { FMOD_RESULT result; @@ -344,6 +346,7 @@ FMOD_RESULT OutputWavWriter_NRT::update() [SEE_ALSO] ] */ +// OFFSET: 0x009150D0 FMOD_RESULT OutputWavWriter_NRT::writeWavHeader() { if (!mFP) @@ -602,6 +605,7 @@ FMOD_RESULT OutputWavWriter_NRT::getDriverCapsCallback(FMOD_OUTPUT_STATE *output [SEE_ALSO] ] */ +// OFFSET: 0x009156C0 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; @@ -626,6 +630,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::initCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x009152D0 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::closeCallback(FMOD_OUTPUT_STATE *output) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; @@ -650,6 +655,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::closeCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x00915320 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::startCallback(FMOD_OUTPUT_STATE *output) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; @@ -674,6 +680,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::startCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x00915370 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::stopCallback(FMOD_OUTPUT_STATE *output) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; @@ -698,6 +705,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::stopCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x009153B0 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::updateCallback(FMOD_OUTPUT_STATE *output) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; @@ -722,6 +730,7 @@ FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::updateCallback(FMOD_OUTPUT_STATE *ou [SEE_ALSO] ] */ +// OFFSET: 0x00915410 FMOD_RESULT F_CALLBACK OutputWavWriter_NRT::getHandleCallback(FMOD_OUTPUT_STATE *output, void **handle) { OutputWavWriter_NRT *wavwriter = (OutputWavWriter_NRT *)output; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_plugin.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_plugin.cpp index ab612c1..3e538e1 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_plugin.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_plugin.cpp @@ -23,6 +23,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00923000 FMOD_RESULT Plugin::release() { FLOG((FMOD_DEBUG_LEVEL_LOG, __FILE__, __LINE__, "Plugin::release", "(%p)\n", this)); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_pluginfactory.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_pluginfactory.cpp index ee7548e..988f9df 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_pluginfactory.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_pluginfactory.cpp @@ -51,6 +51,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008F4130 PluginFactory::PluginFactory() { mSystem = 0; @@ -79,6 +80,7 @@ PluginFactory::PluginFactory() [SEE_ALSO] ] */ +// OFFSET: 0x008F4190 FMOD_RESULT PluginFactory::release() { FMOD_RESULT result; @@ -172,6 +174,7 @@ FMOD_RESULT PluginFactory::release() [SEE_ALSO] ] */ +// OFFSET: 0x008F38D0 FMOD_RESULT PluginFactory::setSystem(SystemI *system) { mSystem = system; @@ -217,6 +220,7 @@ FMOD_RESULT PluginFactory::getSystem(SystemI **system) [SEE_ALSO] ] */ +// OFFSET: 0x008F38F0 FMOD_RESULT PluginFactory::setPluginPath(const char *path) { if (FMOD_strlen(path) >= FMOD_STRING_MAXPATHLEN) @@ -667,6 +671,7 @@ FMOD_RESULT PluginFactory::unloadPlugin(unsigned int handle) [SEE_ALSO] ] */ +// OFFSET: 0x008F3930 FMOD_RESULT PluginFactory::registerCodec(FMOD_CODEC_DESCRIPTION_EX *description, unsigned int *handle, unsigned int priority) { FMOD_CODEC_DESCRIPTION_EX *newdesc; @@ -800,6 +805,7 @@ FMOD_RESULT PluginFactory::registerCodec(FMOD_CODEC_DESCRIPTION *description, un [SEE_ALSO] ] */ +// OFFSET: 0x008F3A30 FMOD_RESULT PluginFactory::registerDSP(FMOD_DSP_DESCRIPTION_EX *description, unsigned int *handle) { FMOD_DSP_DESCRIPTION_EX *newdesc; @@ -940,6 +946,7 @@ FMOD_RESULT PluginFactory::registerDSP(FMOD_DSP_DESCRIPTION *description, unsign [SEE_ALSO] ] */ +// OFFSET: 0x008F3B60 FMOD_RESULT PluginFactory::registerOutput(FMOD_OUTPUT_DESCRIPTION_EX *description, unsigned int *handle) { FMOD_OUTPUT_DESCRIPTION_EX *newdesc; @@ -1085,6 +1092,7 @@ FMOD_RESULT PluginFactory::registerOutput(FMOD_OUTPUT_DESCRIPTION *description, [SEE_ALSO] ] */ +// OFFSET: 0x008F3D00 FMOD_RESULT PluginFactory::getNumCodecs(int *numcodecs) { if (!numcodecs) @@ -1113,6 +1121,7 @@ FMOD_RESULT PluginFactory::getNumCodecs(int *numcodecs) [SEE_ALSO] ] */ +// OFFSET: 0x008F3D50 FMOD_RESULT PluginFactory::getNumDSPs(int *numdsps) { if (!numdsps) @@ -1141,6 +1150,7 @@ FMOD_RESULT PluginFactory::getNumDSPs(int *numdsps) [SEE_ALSO] ] */ +// OFFSET: 0x008F3DA0 FMOD_RESULT PluginFactory::getNumOutputs(int *numoutputs) { if (!numoutputs) @@ -1277,6 +1287,7 @@ FMOD_RESULT PluginFactory::getOutputHandle(int index, unsigned int *handle) [SEE_ALSO] ] */ +// OFFSET: 0x008F3DF0 FMOD_RESULT PluginFactory::getCodec(unsigned int handle, FMOD_CODEC_DESCRIPTION_EX **codecdesc) { FMOD_CODEC_DESCRIPTION_EX *head, *current; @@ -1320,6 +1331,7 @@ FMOD_RESULT PluginFactory::getCodec(unsigned int handle, FMOD_CODEC_DESCRIPTION_ [SEE_ALSO] ] */ +// OFFSET: 0x008F3E60 FMOD_RESULT PluginFactory::getDSP(unsigned int handle, FMOD_DSP_DESCRIPTION_EX **dspdesc) { FMOD_DSP_DESCRIPTION_EX *head, *current; @@ -1363,6 +1375,7 @@ FMOD_RESULT PluginFactory::getDSP(unsigned int handle, FMOD_DSP_DESCRIPTION_EX * [SEE_ALSO] ] */ +// OFFSET: 0x008F3ED0 FMOD_RESULT PluginFactory::getOutput(unsigned int handle, FMOD_OUTPUT_DESCRIPTION_EX **outputdesc) { FMOD_OUTPUT_DESCRIPTION_EX *head, *current; @@ -1406,6 +1419,7 @@ FMOD_RESULT PluginFactory::getOutput(unsigned int handle, FMOD_OUTPUT_DESCRIPTIO [SEE_ALSO] ] */ +// OFFSET: 0x008F43B0 FMOD_RESULT PluginFactory::createCodec(FMOD_CODEC_DESCRIPTION_EX *codecdesc, Codec **codec) { Codec *newcodec; @@ -1460,6 +1474,7 @@ FMOD_RESULT PluginFactory::createCodec(FMOD_CODEC_DESCRIPTION_EX *codecdesc, Cod [SEE_ALSO] ] */ +// OFFSET: 0x008F4670 FMOD_RESULT PluginFactory::createDSP(FMOD_DSP_DESCRIPTION_EX *dspdesc, DSPI **dsp) { FMOD_RESULT result; @@ -1941,6 +1956,7 @@ FMOD_RESULT PluginFactory::createDSP(FMOD_DSP_DESCRIPTION_EX *dspdesc, DSPI **ds [SEE_ALSO] ] */ +// OFFSET: 0x008F3FC0 FMOD_RESULT PluginFactory::createOutput(FMOD_OUTPUT_DESCRIPTION_EX *outputdesc, Output **output) { Output *newoutput; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.cpp index ef59dc3..901ca44 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.cpp @@ -31,6 +31,7 @@ namespace FMOD #define kREVERB_GAIN_COEF 0.002f // Coefficient for warping the power law for additive gain (see below) #define kREVERB_GAIN_COEF_INV 500.0f // Reciprocal of kREVERB_GAIN_COEF (depends on the above) +// OFFSET: 0x008E63A0 ReverbI::ReverbI() { int count; @@ -105,6 +106,7 @@ FMOD_RESULT ReverbI::validate(Reverb *reverb, ReverbI **reverbi) [SEE_ALSO] ] */ +// OFFSET: 0x008E6540 FMOD_RESULT ReverbI::init(SystemI* system, bool is_3d, FMOD_REVERB_MODE mode) { FMOD_REVERB_PROPERTIES prop = FMOD_PRESET_OFF; // then initialise them to 'off' @@ -186,6 +188,7 @@ FMOD_RESULT ReverbI::init(SystemI* system, bool is_3d, FMOD_REVERB_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x008E6410 FMOD_RESULT ReverbI::release(bool freethis) { int count; @@ -250,6 +253,7 @@ FMOD_RESULT ReverbI::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x008E55D0 FMOD_RESULT ReverbI::createDSP(int instance) { if (instance < 0 || instance >= FMOD_REVERB_MAXINSTANCES) @@ -398,6 +402,7 @@ FMOD_RESULT ReverbI::releaseDSP(int instance) [SEE_ALSO] ] */ +// OFFSET: 0x008E56B0 FMOD_RESULT ReverbI::getChanProperties(int instance, const int index, FMOD_REVERB_CHANNELPROPERTIES *props, DSPConnectionI **connection) { if (instance < 0 || instance >= FMOD_REVERB_MAXINSTANCES) @@ -457,6 +462,7 @@ FMOD_RESULT ReverbI::getChanProperties(int instance, const int index, FMOD_REVER [SEE_ALSO] ] */ +// OFFSET: 0x008E5710 FMOD_RESULT ReverbI::setChanProperties(int instance, const int index, const FMOD_REVERB_CHANNELPROPERTIES *props, DSPConnectionI *connection) { if (instance < 0 || instance >= FMOD_REVERB_MAXINSTANCES || !mInstance[instance].mChannelData) @@ -612,6 +618,7 @@ FMOD_RESULT ReverbI::set3DAttributes(const FMOD_VECTOR *position, float mindista [SEE_ALSO] ] */ +// OFFSET: 0x008E5770 FMOD_RESULT ReverbI::get3DAttributes(FMOD_VECTOR *position, float *mindistance, float *maxdistance) { if (position) @@ -649,6 +656,7 @@ FMOD_RESULT ReverbI::get3DAttributes(FMOD_VECTOR *position, float *mindistance, ] */ +// OFFSET: 0x008E57C0 FMOD_RESULT ReverbI::setProperties(const FMOD_REVERB_PROPERTIES* prop_source) { FMOD_REVERB_PROPERTIES oldprops; @@ -878,6 +886,7 @@ FMOD_RESULT ReverbI::setProperties(const FMOD_REVERB_PROPERTIES* prop_source) [SEE_ALSO] ] */ +// OFFSET: 0x008E5EB0 FMOD_RESULT ReverbI::getProperties(FMOD_REVERB_PROPERTIES* properties) { if (!properties) @@ -933,6 +942,7 @@ FMOD_RESULT ReverbI::setActive(bool active) [SEE_ALSO] ] */ +// OFFSET: 0x008E5EE0 FMOD_RESULT ReverbI::getActive(bool *active) { if (!active) @@ -1042,6 +1052,7 @@ void ReverbI::setDisableIfNoEnvironment(bool dis) [SEE_ALSO] ] */ +// OFFSET: 0x008E5F10 void ReverbI::calculateDistanceGain(FMOD_VECTOR *p, float *linear_gain, float *linear_coeff) { FMOD_VECTOR a_vector; @@ -1122,6 +1133,7 @@ void ReverbI::calculateDistanceGain(FMOD_VECTOR *p, float *linear_gain, float *l [SEE_ALSO] ] */ +// OFFSET: 0x008E6000 FMOD_RESULT ReverbI::setPresenceGain(int instance, int index, float lingain) { if (instance < 0 || instance >= FMOD_REVERB_MAXINSTANCES) @@ -1154,6 +1166,7 @@ FMOD_RESULT ReverbI::setPresenceGain(int instance, int index, float lingain) [SEE_ALSO] ] */ +// OFFSET: 0x008E6030 FMOD_RESULT ReverbI::getPresenceGain(int instance, int index, float *lingain) { if (instance < 0 || instance >= FMOD_REVERB_MAXINSTANCES) @@ -1192,6 +1205,7 @@ FMOD_RESULT ReverbI::getPresenceGain(int instance, int index, float *lingain) [SEE_ALSO] ] */ +// OFFSET: 0x008E6070 void ReverbI::sumRoomProps(FMOD_REVERB_STDPROPERTIES *accprops, FMOD_REVERB_PROPERTIES *addprops, float factor) { if (accprops && addprops) @@ -1216,6 +1230,7 @@ void ReverbI::sumRoomProps(FMOD_REVERB_STDPROPERTIES *accprops, FMOD_REVERB_PROP [SEE_ALSO] ] */ +// OFFSET: 0x008E60B0 void ReverbI::sumProps(FMOD_REVERB_STDPROPERTIES *accprops, FMOD_REVERB_PROPERTIES *addprops, float factor) { if (accprops && addprops) @@ -1253,6 +1268,7 @@ void ReverbI::sumProps(FMOD_REVERB_STDPROPERTIES *accprops, FMOD_REVERB_PROPERTI [SEE_ALSO] ] */ +// OFFSET: 0x008E6220 void ReverbI::factorProps(FMOD_REVERB_PROPERTIES *quotientprops, FMOD_REVERB_STDPROPERTIES *divprops, float factor) { FMOD_memset(quotientprops, 0, sizeof(FMOD_REVERB_PROPERTIES)); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.h b/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.h index 5b235e5..3735bd4 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_reverbi.h @@ -66,6 +66,7 @@ namespace FMOD public: ReverbI(); #ifdef PLATFORM_PS2 + // OFFSET: 0x008E6530 virtual ~ReverbI() {} #endif diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_sample_software.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_sample_software.cpp index aa40fd9..47e00ef 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_sample_software.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_sample_software.cpp @@ -32,6 +32,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0093D7F0 SampleSoftware::SampleSoftware() { mBuffer = 0; @@ -55,6 +56,7 @@ SampleSoftware::SampleSoftware() [SEE_ALSO] ] */ +// OFFSET: 0x0093D820 FMOD_RESULT SampleSoftware::release(bool freethis) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_sound.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_sound.cpp index 4cd9a10..02ab12a 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_sound.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_sound.cpp @@ -10,6 +10,7 @@ namespace FMOD /*$ preserve end $*/ +// OFFSET: 0x008D1970 FMOD_RESULT Sound::release() { FMOD_RESULT result; @@ -44,6 +45,7 @@ FMOD_RESULT Sound::getSystemObject(System **system) } +// OFFSET: 0x008D19A0 FMOD_RESULT Sound::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { FMOD_RESULT result; @@ -65,6 +67,7 @@ FMOD_RESULT Sound::lock(unsigned int offset, unsigned int length, void **ptr1, v } +// OFFSET: 0x008D19F0 FMOD_RESULT Sound::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { FMOD_RESULT result; @@ -365,6 +368,7 @@ FMOD_RESULT Sound::setSubSoundSentence(int *subsoundlist, int numsubsounds) } +// OFFSET: 0x008D1A40 FMOD_RESULT Sound::getName(char *name, int namelen) { FMOD_RESULT result; @@ -386,6 +390,7 @@ FMOD_RESULT Sound::getName(char *name, int namelen) } +// OFFSET: 0x008D1A80 FMOD_RESULT Sound::getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype) { FMOD_RESULT result; @@ -550,6 +555,7 @@ FMOD_RESULT Sound::seekData(unsigned int pcm) } +// OFFSET: 0x008D1AC0 FMOD_RESULT Sound::setSoundGroup(SoundGroup *soundgroup) { FMOD_RESULT result; @@ -907,6 +913,7 @@ FMOD_RESULT Sound::setUserData(void *_userdata) } +// OFFSET: 0x008D1B00 FMOD_RESULT Sound::getUserData(void **_userdata) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.cpp index 34e2aac..fc9eecc 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.cpp @@ -22,6 +22,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091AF20 Sample::Sample() { mNumSubSamples = 0; @@ -44,6 +45,7 @@ Sample::Sample() [SEE_ALSO] ] */ +// OFFSET: 0x0091B2E0 FMOD_RESULT Sample::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { int count; @@ -354,6 +356,7 @@ FMOD_RESULT Sample::lock(unsigned int offset, unsigned int length, void **ptr1, [SEE_ALSO] ] */ +// OFFSET: 0x0091BB80 FMOD_RESULT Sample::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { int count; @@ -623,6 +626,7 @@ FMOD_RESULT Sample::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned i [SEE_ALSO] ] */ +// OFFSET: 0x0091AF70 FMOD_RESULT Sample::release(bool freethis) { int count; @@ -676,6 +680,7 @@ FMOD_RESULT Sample::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x0091B000 FMOD_RESULT Sample::setDefaults(float frequency, float volume, float pan, int priority) { FMOD_RESULT result; @@ -711,6 +716,7 @@ FMOD_RESULT Sample::setDefaults(float frequency, float volume, float pan, int pr [SEE_ALSO] ] */ +// OFFSET: 0x0091B080 FMOD_RESULT Sample::setVariations(float frequencyvar, float volumevar, float panvar) { FMOD_RESULT result; @@ -746,6 +752,7 @@ FMOD_RESULT Sample::setVariations(float frequencyvar, float volumevar, float pan [SEE_ALSO] ] */ +// OFFSET: 0x0091B0F0 FMOD_RESULT Sample::set3DMinMaxDistance(float min, float max) { FMOD_RESULT result; @@ -782,6 +789,7 @@ FMOD_RESULT Sample::set3DMinMaxDistance(float min, float max) [SEE_ALSO] ] */ +// OFFSET: 0x0091B160 FMOD_RESULT Sample::set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume) { FMOD_RESULT result; @@ -818,6 +826,7 @@ FMOD_RESULT Sample::set3DConeSettings(float insideconeangle, float outsideconean [SEE_ALSO] ] */ +// OFFSET: 0x0091B1D0 FMOD_RESULT Sample::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -854,6 +863,7 @@ FMOD_RESULT Sample::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x0091B220 FMOD_RESULT Sample::setLoopCount(int loopcount) { FMOD_RESULT result; @@ -889,6 +899,7 @@ FMOD_RESULT Sample::setLoopCount(int loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x0091B270 FMOD_RESULT Sample::setLoopPoints(unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.h b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.h index 2a71a3e..3a7e74c 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_sample.h @@ -30,8 +30,10 @@ namespace FMOD FMOD_RESULT lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2); FMOD_RESULT unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2); + // OFFSET: 0x0091AF50 virtual FMOD_RESULT lockInternal(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { return FMOD_ERR_SUBSOUNDS; } virtual FMOD_RESULT unlockInternal(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { return FMOD_OK; } + // OFFSET: 0x0091AF60 virtual FMOD_RESULT setBufferData(void *data) { return FMOD_ERR_NEEDSSOFTWARE; } virtual FMOD_RESULT setMode(FMOD_MODE mode); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_stream.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_stream.cpp index fcd48f3..64828a2 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_sound_stream.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_sound_stream.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0091E480 Stream::Stream() { mLastPos = 0; @@ -55,6 +56,7 @@ Stream::Stream() [SEE_ALSO] ] */ +// OFFSET: 0x0091DE80 FMOD_RESULT Stream::fill(unsigned int offset, unsigned int length, unsigned int *read_out, bool calledfromsentence) { FMOD_RESULT result = FMOD_OK; @@ -442,6 +444,7 @@ FMOD_RESULT Stream::fill(unsigned int offset, unsigned int length, unsigned int [SEE_ALSO] ] */ +// OFFSET: 0x0091E1D0 FMOD_RESULT Stream::flush() { if (mSample) @@ -491,6 +494,7 @@ FMOD_RESULT Stream::flush() [SEE_ALSO] ] */ +// OFFSET: 0x0091E200 FMOD_RESULT Stream::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { FMOD_RESULT result = FMOD_OK; @@ -639,6 +643,7 @@ FMOD_RESULT Stream::setPosition(unsigned int position, FMOD_TIMEUNIT postype) [SEE_ALSO] ] */ +// OFFSET: 0x0091E4D0 FMOD_RESULT Stream::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { FMOD_RESULT result; @@ -700,6 +705,7 @@ FMOD_RESULT Stream::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) [SEE_ALSO] ] */ +// OFFSET: 0x0091E450 FMOD_RESULT Stream::setLoopCount(int loopcount) { if (mOpenState != FMOD_OPENSTATE_READY && mOpenState != FMOD_OPENSTATE_SETPOSITION) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroup.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroup.cpp index f93899c..129c5f9 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroup.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroup.cpp @@ -11,6 +11,7 @@ namespace FMOD /*$ preserve end $*/ +// OFFSET: 0x008D1B30 FMOD_RESULT SoundGroup::release() { FMOD_RESULT result; @@ -45,6 +46,7 @@ FMOD_RESULT SoundGroup::getSystemObject(System **system) } +// OFFSET: 0x008D1B60 FMOD_RESULT SoundGroup::setMaxAudible(int maxaudible) { FMOD_RESULT result; @@ -79,6 +81,7 @@ FMOD_RESULT SoundGroup::getMaxAudible(int *maxaudible) } +// OFFSET: 0x008D1B90 FMOD_RESULT SoundGroup::setMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR behavior) { FMOD_RESULT result; @@ -113,6 +116,7 @@ FMOD_RESULT SoundGroup::getMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR *behavior } +// OFFSET: 0x008D1BC0 FMOD_RESULT SoundGroup::setMuteFadeSpeed(float speed) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroupi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroupi.cpp index c4c5014..05ffc2b 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroupi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_soundgroupi.cpp @@ -58,6 +58,7 @@ FMOD_RESULT SoundGroupI::validate(SoundGroup *soundgroup, SoundGroupI **soundgro ] */ +// OFFSET: 0x008E47E0 SoundGroupI::SoundGroupI() { mMaxAudible = -1; @@ -83,6 +84,7 @@ SoundGroupI::SoundGroupI() ] */ +// OFFSET: 0x008E4810 FMOD_RESULT SoundGroupI::release() { if (this == mSystem->mSoundGroup) @@ -159,6 +161,7 @@ FMOD_RESULT SoundGroupI::release() [SEE_ALSO] ] */ +// OFFSET: 0x008E46D0 FMOD_RESULT SoundGroupI::releaseInternal() { if (mName) @@ -217,6 +220,7 @@ FMOD_RESULT SoundGroupI::getSystemObject(System **system) [SEE_ALSO] ] */ +// OFFSET: 0x008E4730 FMOD_RESULT SoundGroupI::setMaxAudible(int maxaudible) { if (maxaudible < -1) @@ -274,6 +278,7 @@ FMOD_RESULT SoundGroupI::getMaxAudible(int *maxaudible) ] */ +// OFFSET: 0x008E4750 FMOD_RESULT SoundGroupI::setMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR behavior) { if (behavior < FMOD_SOUNDGROUP_BEHAVIOR_FAIL || behavior >= FMOD_SOUNDGROUP_BEHAVIOR_MAX) @@ -358,6 +363,7 @@ FMOD_RESULT SoundGroupI::getMaxAudibleBehavior(FMOD_SOUNDGROUP_BEHAVIOR *behavio ] */ +// OFFSET: 0x008E4770 FMOD_RESULT SoundGroupI::setMuteFadeSpeed(float speed) { if (speed < 0) @@ -640,6 +646,7 @@ FMOD_RESULT SoundGroupI::getSound(int index, Sound **sound) [SEE_ALSO] ] */ +// OFFSET: 0x008E47A0 FMOD_RESULT SoundGroupI::getNumPlaying(int *numplaying) { LinkedListNode *current; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_soundi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_soundi.cpp index 058f97b..e80cea9 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_soundi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_soundi.cpp @@ -84,6 +84,7 @@ FMOD_RESULT SoundI::validate(Sound *sound, SoundI **soundi) [SEE_ALSO] ] */ +// OFFSET: 0x008E1ED0 SoundI::SoundI() { mMode = FMOD_DEFAULT; @@ -148,6 +149,7 @@ SoundI::SoundI() [SEE_ALSO] ] */ +// OFFSET: 0x008E4590 FMOD_RESULT SoundI::loadSubSound(int index, FMOD_MODE mode) { FMOD_RESULT result; @@ -243,6 +245,7 @@ FMOD_RESULT SoundI::loadSubSound(int index, FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x008E3100 FMOD_RESULT SoundI::read(unsigned int offset, unsigned int numsamples, unsigned int *read) { FMOD_RESULT result; @@ -484,6 +487,7 @@ FMOD_RESULT SoundI::read(unsigned int offset, unsigned int numsamples, unsigned [SEE_ALSO] ] */ +// OFFSET: 0x008E10A0 FMOD_RESULT SoundI::seek(int subsound, unsigned int position) { FMOD_RESULT result; @@ -528,6 +532,7 @@ FMOD_RESULT SoundI::seek(int subsound, unsigned int position) [SEE_ALSO] ] */ +// OFFSET: 0x008E3700 FMOD_RESULT SoundI::clear(unsigned int offset, unsigned int numsamples) { FMOD_RESULT result; @@ -641,6 +646,7 @@ FMOD_RESULT SoundI::clear(unsigned int offset, unsigned int numsamples) [SEE_ALSO] ] */ +// OFFSET: 0x008E1FC0 FMOD_RESULT SoundI::release(bool freethis) { FMOD_RESULT result; @@ -962,6 +968,7 @@ FMOD_RESULT SoundI::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x008E1140 FMOD_RESULT SoundI::getSystemObject(System **system) { if (!system) @@ -990,6 +997,7 @@ FMOD_RESULT SoundI::getSystemObject(System **system) [SEE_ALSO] ] */ +// OFFSET: 0x008E1170 FMOD_RESULT SoundI::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { return FMOD_ERR_BADCOMMAND; @@ -1011,6 +1019,7 @@ FMOD_RESULT SoundI::lock(unsigned int offset, unsigned int length, void **ptr1, [SEE_ALSO] ] */ +// OFFSET: 0x008E1180 FMOD_RESULT SoundI::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { return FMOD_ERR_BADCOMMAND; @@ -1032,6 +1041,7 @@ FMOD_RESULT SoundI::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned i [SEE_ALSO] ] */ +// OFFSET: 0x008E1190 FMOD_RESULT SoundI::setDefaults(float frequency, float volume, float pan, int priority) { if (volume > 1) @@ -1083,6 +1093,7 @@ FMOD_RESULT SoundI::setDefaults(float frequency, float volume, float pan, int pr [SEE_ALSO] ] */ +// OFFSET: 0x008E1210 FMOD_RESULT SoundI::getDefaults(float *frequency, float *volume, float *pan, int *priority) { if (frequency) @@ -1121,6 +1132,7 @@ FMOD_RESULT SoundI::getDefaults(float *frequency, float *volume, float *pan, int [SEE_ALSO] ] */ +// OFFSET: 0x008E1250 FMOD_RESULT SoundI::setVariations(float frequencyvar, float volumevar, float panvar) { if (frequencyvar >= 0) @@ -1155,6 +1167,7 @@ FMOD_RESULT SoundI::setVariations(float frequencyvar, float volumevar, float pan [SEE_ALSO] ] */ +// OFFSET: 0x008E12A0 FMOD_RESULT SoundI::getVariations(float *frequencyvar, float *volumevar, float *panvar) { if (frequencyvar) @@ -1191,6 +1204,7 @@ FMOD_RESULT SoundI::getVariations(float *frequencyvar, float *volumevar, float * [SEE_ALSO] ] */ +// OFFSET: 0x008E12D0 FMOD_RESULT SoundI::set3DMinMaxDistance(float min, float max) { if (min < 0 || max < 0 || max < min) @@ -1221,6 +1235,7 @@ FMOD_RESULT SoundI::set3DMinMaxDistance(float min, float max) [SEE_ALSO] ] */ +// OFFSET: 0x008E1320 FMOD_RESULT SoundI::get3DMinMaxDistance(float *min, float *max) { if (min) @@ -1253,6 +1268,7 @@ FMOD_RESULT SoundI::get3DMinMaxDistance(float *min, float *max) [SEE_ALSO] ] */ +// OFFSET: 0x008E1350 FMOD_RESULT SoundI::set3DConeSettings(float insideconeangle, float outsideconeangle, float outsidevolume) { if (insideconeangle < 0) @@ -1304,6 +1320,7 @@ FMOD_RESULT SoundI::set3DConeSettings(float insideconeangle, float outsideconean [SEE_ALSO] ] */ +// OFFSET: 0x008E13E0 FMOD_RESULT SoundI::get3DConeSettings(float *insideconeangle, float *outsideconeangle, float *outsidevolume) { if (insideconeangle) @@ -1340,6 +1357,7 @@ FMOD_RESULT SoundI::get3DConeSettings(float *insideconeangle, float *outsidecone [SEE_ALSO] ] */ +// OFFSET: 0x008E1410 FMOD_RESULT SoundI::set3DCustomRolloff(FMOD_VECTOR *points, int numpoints) { if (numpoints < 0) @@ -1386,6 +1404,7 @@ FMOD_RESULT SoundI::set3DCustomRolloff(FMOD_VECTOR *points, int numpoints) [SEE_ALSO] ] */ +// OFFSET: 0x008E14A0 FMOD_RESULT SoundI::get3DCustomRolloff(FMOD_VECTOR **points, int *numpoints) { if (points) @@ -1417,6 +1436,7 @@ FMOD_RESULT SoundI::get3DCustomRolloff(FMOD_VECTOR **points, int *numpoints) [SEE_ALSO] ] */ +// OFFSET: 0x008E14D0 FMOD_RESULT SoundI::setSubSound(int index, SoundI *subsound) { return setSubSoundInternal(index, subsound, false); @@ -1741,6 +1761,7 @@ FMOD_RESULT SoundI::setSubSoundInternal(int index, SoundI *subsound, bool called [SEE_ALSO] ] */ +// OFFSET: 0x008E3A60 FMOD_RESULT SoundI::getSubSound(int index, SoundI **subsound) { if (!subsound) @@ -1861,6 +1882,7 @@ FMOD_RESULT SoundI::getSubSound(int index, SoundI **subsound) [SEE_ALSO] ] */ +// OFFSET: 0x008E1690 FMOD_RESULT SoundI::setSubSoundSentence(int *subsoundlist, int numsubsounds) { FMOD_RESULT result; @@ -2127,6 +2149,7 @@ FMOD_RESULT SoundI::setSubSoundSentence(int *subsoundlist, int numsubsounds) [SEE_ALSO] ] */ +// OFFSET: 0x008E1890 FMOD_RESULT SoundI::getName(char *name, int namelen) { if (!name) @@ -2181,6 +2204,7 @@ FMOD_RESULT SoundI::getName(char *name, int namelen) [SEE_ALSO] ] */ +// OFFSET: 0x008E3C30 FMOD_RESULT SoundI::getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype) { if (!length) @@ -2258,6 +2282,7 @@ FMOD_RESULT SoundI::getLength(unsigned int *length, FMOD_TIMEUNIT lengthtype) [SEE_ALSO] ] */ +// OFFSET: 0x008E2500 FMOD_RESULT SoundI::getFormat(FMOD_SOUND_TYPE *type, FMOD_SOUND_FORMAT *format, int *channels, int *bits) { if (type) @@ -2367,6 +2392,7 @@ FMOD_RESULT SoundI::getNumTags(int *numtags, int *numtagsupdated) [SEE_ALSO] ] */ +// OFFSET: 0x008E1970 FMOD_RESULT SoundI::getTag(const char *name, int index, FMOD_TAG *tag) { if (!tag) @@ -2398,6 +2424,7 @@ FMOD_RESULT SoundI::getTag(const char *name, int index, FMOD_TAG *tag) [SEE_ALSO] ] */ +// OFFSET: 0x008E19C0 FMOD_RESULT SoundI::getOpenState(FMOD_OPENSTATE *openstate, unsigned int *percentbuffered, bool *starving) { if (openstate) @@ -2481,6 +2508,7 @@ FMOD_RESULT SoundI::getOpenState(FMOD_OPENSTATE *openstate, unsigned int *percen [SEE_ALSO] ] */ +// OFFSET: 0x008E3FA0 FMOD_RESULT SoundI::readData(void *buffer, unsigned int numbytes, unsigned int *read) { FMOD_RESULT result; @@ -2636,6 +2664,7 @@ FMOD_RESULT SoundI::readData(void *buffer, unsigned int numbytes, unsigned int * [SEE_ALSO] ] */ +// OFFSET: 0x008E1A60 FMOD_RESULT SoundI::seekData(unsigned int position) { if (mCodec) @@ -2662,6 +2691,7 @@ FMOD_RESULT SoundI::seekData(unsigned int position) [SEE_ALSO] ] */ +// OFFSET: 0x008E1AC0 FMOD_RESULT SoundI::setSoundGroup(SoundGroupI *soundgroup) { Sample *streamsample = 0; @@ -2721,6 +2751,7 @@ FMOD_RESULT SoundI::setSoundGroup(SoundGroupI *soundgroup) [SEE_ALSO] ] */ +// OFFSET: 0x008E1BA0 FMOD_RESULT SoundI::getSoundGroup(SoundGroupI **soundgroup) { if (!soundgroup) @@ -2749,6 +2780,7 @@ FMOD_RESULT SoundI::getSoundGroup(SoundGroupI **soundgroup) [SEE_ALSO] ] */ +// OFFSET: 0x008E1BD0 FMOD_RESULT SoundI::getNumSyncPoints(int *numsyncpoints) { if (!numsyncpoints) @@ -2799,6 +2831,7 @@ FMOD_RESULT SoundI::getNumSyncPoints(int *numsyncpoints) [SEE_ALSO] ] */ +// OFFSET: 0x008E1C00 FMOD_RESULT SoundI::getSyncPoint(int index, FMOD_SYNCPOINT **point) { FMOD_RESULT result; @@ -2859,6 +2892,7 @@ FMOD_RESULT SoundI::getSyncPoint(int index, FMOD_SYNCPOINT **point) [SEE_ALSO] ] */ +// OFFSET: 0x008E25B0 FMOD_RESULT SoundI::getSyncPointInfo(FMOD_SYNCPOINT *point, char *name, int namelen, unsigned int *offset, FMOD_TIMEUNIT offsettype) { SyncPoint *spoint = (SyncPoint *)point; @@ -2920,6 +2954,7 @@ FMOD_RESULT SoundI::getSyncPointInfo(FMOD_SYNCPOINT *point, char *name, int name [SEE_ALSO] ] */ +// OFFSET: 0x008E4300 FMOD_RESULT SoundI::addSyncPoint(unsigned int offset, FMOD_TIMEUNIT offsettype, const char *name, FMOD_SYNCPOINT **syncpoint, int subsound, bool fixupindicies) { if (syncpoint) @@ -3124,6 +3159,7 @@ FMOD_RESULT SoundI::deleteSyncPointInternal(FMOD_SYNCPOINT *point, bool ignoresu [SEE_ALSO] ] */ +// OFFSET: 0x008E1C40 FMOD_RESULT SoundI::deleteSyncPoint(FMOD_SYNCPOINT *point) { return deleteSyncPointInternal(point, false); @@ -3145,6 +3181,7 @@ FMOD_RESULT SoundI::deleteSyncPoint(FMOD_SYNCPOINT *point) [SEE_ALSO] ] */ +// OFFSET: 0x008E1CB0 FMOD_RESULT SoundI::setMode(FMOD_MODE mode) { /* @@ -3287,6 +3324,7 @@ FMOD_RESULT SoundI::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x008E1DE0 FMOD_RESULT SoundI::getMode(FMOD_MODE *mode) { if (!mode) @@ -3315,6 +3353,7 @@ FMOD_RESULT SoundI::getMode(FMOD_MODE *mode) [SEE_ALSO] ] */ +// OFFSET: 0x008E1E00 FMOD_RESULT SoundI::setLoopCount(int loopcount) { if (loopcount < -1) @@ -3343,6 +3382,7 @@ FMOD_RESULT SoundI::setLoopCount(int loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x008E1E40 FMOD_RESULT SoundI::getLoopCount(int *loopcount) { if (!loopcount) @@ -3371,6 +3411,7 @@ FMOD_RESULT SoundI::getLoopCount(int *loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x008E2810 FMOD_RESULT SoundI::setLoopPoints(unsigned int loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int loopend, FMOD_TIMEUNIT loopendtype) { unsigned int loopstartpcm = 0, loopendpcm = 0; @@ -3453,6 +3494,7 @@ FMOD_RESULT SoundI::setLoopPoints(unsigned int loopstart, FMOD_TIMEUNIT loopstar [SEE_ALSO] ] */ +// OFFSET: 0x008E2BB0 FMOD_RESULT SoundI::getLoopPoints(unsigned int *loopstart, FMOD_TIMEUNIT loopstarttype, unsigned int *loopend, FMOD_TIMEUNIT loopendtype) { if ((loopstarttype != FMOD_TIMEUNIT_MS && loopstarttype != FMOD_TIMEUNIT_PCM && loopstarttype != FMOD_TIMEUNIT_PCMBYTES) || @@ -3662,6 +3704,7 @@ FMOD_RESULT SoundI::getMusicChannelVolume(int channel, float *volume) [SEE_ALSO] ] */ +// OFFSET: 0x008E1E80 FMOD_RESULT SoundI::setUserData(void *userdata) { mUserData = userdata; @@ -3685,6 +3728,7 @@ FMOD_RESULT SoundI::setUserData(void *userdata) [SEE_ALSO] ] */ +// OFFSET: 0x008E1EA0 FMOD_RESULT SoundI::getUserData(void **userdata) { if (!userdata) @@ -3764,6 +3808,7 @@ FMOD_RESULT SoundI::getUserDataInternal(void **userdata) [SEE_ALSO] ] */ +// OFFSET: 0x008E2FA0 FMOD_RESULT SoundI::updateSubSound(int index, bool updateinfoonly) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_speakerlevels_pool.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_speakerlevels_pool.cpp index c91e640..9d50b68 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_speakerlevels_pool.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_speakerlevels_pool.cpp @@ -42,6 +42,7 @@ SpeakerLevelsPool::SpeakerLevelsPool() [SEE_ALSO] ] */ +// OFFSET: 0x00921A10 FMOD_RESULT SpeakerLevelsPool::alloc(float **levels) { int freepos = mSystem->mNumChannels; @@ -122,6 +123,7 @@ FMOD_RESULT SpeakerLevelsPool::alloc(float **levels) [SEE_ALSO] ] */ +// OFFSET: 0x00921B50 FMOD_RESULT SpeakerLevelsPool::free(float *levels) { if (mLevelsPool) @@ -155,6 +157,7 @@ FMOD_RESULT SpeakerLevelsPool::free(float *levels) [SEE_ALSO] ] */ +// OFFSET: 0x00921BA0 FMOD_RESULT SpeakerLevelsPool::release() { if (mLevelsPool) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_string.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_string.cpp index 2f09f60..5789248 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_string.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_string.cpp @@ -6,6 +6,7 @@ using namespace FMOD; +// OFFSET: 0x008D22C0 int FMOD_strlen(const char * s) { const char *sc; @@ -15,6 +16,7 @@ int FMOD_strlen(const char * s) return (int)(sc - s); } +// OFFSET: 0x008D22E0 char * FMOD_strcpy(char * dest,const char *src) { char *tmp = dest; @@ -24,6 +26,7 @@ char * FMOD_strcpy(char * dest,const char *src) return tmp; } +// OFFSET: 0x008D2310 char * FMOD_strncpy(char * dest, const char *src, int count) { char *tmp = dest; @@ -34,6 +37,7 @@ char * FMOD_strncpy(char * dest, const char *src, int count) } +// OFFSET: 0x008D2340 char * FMOD_strcat(char * dest, const char * src) { char *tmp = dest; @@ -44,6 +48,7 @@ char * FMOD_strcat(char * dest, const char * src) return tmp; } +// OFFSET: 0x008D2380 char * FMOD_strncat(char *dest, const char *src, int count) { char *tmp = dest; @@ -75,6 +80,7 @@ char FMOD_tolower(char in) return in; } +// OFFSET: 0x008D23D0 char *FMOD_strupr(char *string) { char * cp; @@ -105,6 +111,7 @@ char *FMOD_strlwr(char *string) return(string); } +// OFFSET: 0x008D2400 int FMOD_strcmp( const char *string1, const char *string2 ) { register char c1, c2; @@ -118,6 +125,7 @@ int FMOD_strcmp( const char *string1, const char *string2 ) } +// OFFSET: 0x008D2430 int FMOD_strncmp( const char *string1, const char *string2, int len ) { register char c1, c2; @@ -133,6 +141,7 @@ int FMOD_strncmp( const char *string1, const char *string2, int len ) } +// OFFSET: 0x008D2470 int FMOD_stricmp( const char *string1, const char *string2 ) { register char c1, c2; @@ -145,6 +154,7 @@ int FMOD_stricmp( const char *string1, const char *string2 ) return c1 - c2; } +// OFFSET: 0x008D24C0 int FMOD_strnicmp( const char *string1, const char *string2, int len ) { register char c1, c2; @@ -176,6 +186,7 @@ char * FMOD_strchr(const char * s1, int c) return (char *)0; } +// OFFSET: 0x008D2600 char * FMOD_strstr(const char * s1,const char * s2) { int l1, l2; @@ -214,6 +225,7 @@ int FMOD_memcmp(const void * cs,const void * ct, int count) } +// OFFSET: 0x008D2510 void * FMOD_memmove(void * dest,const void *src, int count) { char *tmp, *s; @@ -235,6 +247,7 @@ void * FMOD_memmove(void * dest,const void *src, int count) } +// OFFSET: 0x008D2570 char *FMOD_strdup(const char * src) { char *ret = 0; @@ -249,6 +262,7 @@ char *FMOD_strdup(const char * src) } +// OFFSET: 0x008D25D0 char *FMOD_eatwhite(const char *string) { for (;*string && FMOD_isspace(*string);string++) ; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_stringw.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_stringw.cpp index f0bafdc..cc7b4dd 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_stringw.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_stringw.cpp @@ -2,6 +2,7 @@ #include "fmod_stringw.h" #include "fmod_memory.h" +// OFFSET: 0x0091CCC0 int FMOD_strlenW(const short * s) { const short *sc; @@ -20,6 +21,7 @@ short * FMOD_strcpyW(short * dest,const short *src) return tmp; } +// OFFSET: 0x0091CCE0 short * FMOD_strncpyW(short * dest, const short *src, int count) { short *tmp = dest; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_system.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_system.cpp index 2ad7dde..e64e660 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_system.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_system.cpp @@ -22,6 +22,7 @@ AJS*/ /*$ preserve end $*/ +// OFFSET: 0x008D1150 FMOD_RESULT System::release() { FMOD_RESULT result; @@ -39,6 +40,7 @@ FMOD_RESULT System::release() } +// OFFSET: 0x008D1180 FMOD_RESULT System::setOutput(FMOD_OUTPUTTYPE output) { FMOD_RESULT result; @@ -56,6 +58,7 @@ FMOD_RESULT System::setOutput(FMOD_OUTPUTTYPE output) } +// OFFSET: 0x008D11B0 FMOD_RESULT System::getOutput(FMOD_OUTPUTTYPE *output) { FMOD_RESULT result; @@ -73,6 +76,7 @@ FMOD_RESULT System::getOutput(FMOD_OUTPUTTYPE *output) } +// OFFSET: 0x008D11E0 FMOD_RESULT System::getNumDrivers(int *numdrivers) { FMOD_RESULT result; @@ -124,6 +128,7 @@ FMOD_RESULT System::getDriverInfoW(int id, short *name, int namelen, FMOD_GUID * } +// OFFSET: 0x008D1240 FMOD_RESULT System::getDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode) { FMOD_RESULT result; @@ -141,6 +146,7 @@ FMOD_RESULT System::getDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, in } +// OFFSET: 0x008D1280 FMOD_RESULT System::setDriver(int driver) { FMOD_RESULT result; @@ -175,6 +181,7 @@ FMOD_RESULT System::getDriver(int *driver) } +// OFFSET: 0x008D12B0 FMOD_RESULT System::setHardwareChannels(int min2d, int max2d, int min3d, int max3d) { FMOD_RESULT result; @@ -192,6 +199,7 @@ FMOD_RESULT System::setHardwareChannels(int min2d, int max2d, int min3d, int max } +// OFFSET: 0x008D12F0 FMOD_RESULT System::setSoftwareChannels(int numsoftwarechannels) { FMOD_RESULT result; @@ -226,6 +234,7 @@ FMOD_RESULT System::getSoftwareChannels(int *numsoftwarechannels) } +// OFFSET: 0x008D1320 FMOD_RESULT System::setSoftwareFormat(int samplerate, FMOD_SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, FMOD_DSP_RESAMPLER resamplemethod) { FMOD_RESULT result; @@ -260,6 +269,7 @@ FMOD_RESULT System::getSoftwareFormat(int *samplerate, FMOD_SOUND_FORMAT *format } +// OFFSET: 0x008D1360 FMOD_RESULT System::setDSPBufferSize(unsigned int bufferlength, int numbuffers) { FMOD_RESULT result; @@ -362,6 +372,7 @@ FMOD_RESULT System::getAdvancedSettings(FMOD_ADVANCEDSETTINGS *settings) } +// OFFSET: 0x008D1390 FMOD_RESULT System::setSpeakerMode(FMOD_SPEAKERMODE speakermode) { FMOD_RESULT result; @@ -396,6 +407,7 @@ FMOD_RESULT System::getSpeakerMode(FMOD_SPEAKERMODE *speakermode) } +// OFFSET: 0x008D13C0 FMOD_RESULT System::setCallback(FMOD_SYSTEM_CALLBACK callback) { FMOD_RESULT result; @@ -583,6 +595,7 @@ FMOD_RESULT System::createCodec(FMOD_CODEC_DESCRIPTION *description, unsigned in } +// OFFSET: 0x008D13F0 FMOD_RESULT System::init(int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata) { FMOD_RESULT result; @@ -600,6 +613,7 @@ FMOD_RESULT System::init(int maxchannels, FMOD_INITFLAGS flags, void *extradrive } +// OFFSET: 0x008D1420 FMOD_RESULT System::close() { FMOD_RESULT result; @@ -617,6 +631,7 @@ FMOD_RESULT System::close() } +// OFFSET: 0x008D1450 FMOD_RESULT System::update() { FMOD_RESULT result; @@ -634,6 +649,7 @@ FMOD_RESULT System::update() } +// OFFSET: 0x008D1480 FMOD_RESULT System::set3DSettings(float dopplerscale, float distancefactor, float rolloffscale) { FMOD_RESULT result; @@ -702,6 +718,7 @@ FMOD_RESULT System::get3DNumListeners(int *numlisteners) } +// OFFSET: 0x008D14C0 FMOD_RESULT System::set3DListenerAttributes(int listener, const FMOD_VECTOR *pos, const FMOD_VECTOR *vel, const FMOD_VECTOR *forward, const FMOD_VECTOR *up) { FMOD_RESULT result; @@ -719,6 +736,7 @@ FMOD_RESULT System::set3DListenerAttributes(int listener, const FMOD_VECTOR *pos } +// OFFSET: 0x008D1500 FMOD_RESULT System::get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMOD_VECTOR *vel, FMOD_VECTOR *forward, FMOD_VECTOR *up) { FMOD_RESULT result; @@ -736,6 +754,7 @@ FMOD_RESULT System::get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMOD } +// OFFSET: 0x008D1540 FMOD_RESULT System::set3DRolloffCallback(FMOD_3D_ROLLOFFCALLBACK callback) { FMOD_RESULT result; @@ -821,6 +840,7 @@ FMOD_RESULT System::getStreamBufferSize(unsigned int *filebuffersize, FMOD_TIMEU } +// OFFSET: 0x008D1570 FMOD_RESULT System::getVersion(unsigned int *version) { FMOD_RESULT result; @@ -872,6 +892,7 @@ FMOD_RESULT System::getChannelsPlaying(int *channels) } +// OFFSET: 0x008D15A0 FMOD_RESULT System::getHardwareChannels(int *num2d, int *num3d, int *total) { FMOD_RESULT result; @@ -991,6 +1012,7 @@ FMOD_RESULT System::getWaveData(float *wavearray, int numvalues, int channeloffs } +// OFFSET: 0x008D15D0 FMOD_RESULT System::createSound(const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound) { FMOD_RESULT result; @@ -1008,6 +1030,7 @@ FMOD_RESULT System::createSound(const char *name_or_data, FMOD_MODE mode, FMOD_C } +// OFFSET: 0x008D1610 FMOD_RESULT System::createStream(const char *name_or_data, FMOD_MODE mode, FMOD_CREATESOUNDEXINFO *exinfo, Sound **sound) { FMOD_RESULT result; @@ -1025,6 +1048,7 @@ FMOD_RESULT System::createStream(const char *name_or_data, FMOD_MODE mode, FMOD_ } +// OFFSET: 0x008D1650 FMOD_RESULT System::createDSP(FMOD_DSP_DESCRIPTION *description, DSP **dsp) { FMOD_RESULT result; @@ -1042,6 +1066,7 @@ FMOD_RESULT System::createDSP(FMOD_DSP_DESCRIPTION *description, DSP **dsp) } +// OFFSET: 0x008D1680 FMOD_RESULT System::createDSPByType(FMOD_DSP_TYPE type, DSP **dsp) { FMOD_RESULT result; @@ -1059,6 +1084,7 @@ FMOD_RESULT System::createDSPByType(FMOD_DSP_TYPE type, DSP **dsp) } +// OFFSET: 0x008D16B0 FMOD_RESULT System::createChannelGroup(const char *name, ChannelGroup **channelgroup) { FMOD_RESULT result; @@ -1076,6 +1102,7 @@ FMOD_RESULT System::createChannelGroup(const char *name, ChannelGroup **channelg } +// OFFSET: 0x008D16E0 FMOD_RESULT System::createSoundGroup(const char *name, SoundGroup **soundgroup) { FMOD_RESULT result; @@ -1110,6 +1137,7 @@ FMOD_RESULT System::createReverb(Reverb **reverb) } +// OFFSET: 0x008D1710 FMOD_RESULT System::playSound(FMOD_CHANNELINDEX channelid, Sound *sound, bool paused, Channel **channel) { FMOD_RESULT result; @@ -1127,6 +1155,7 @@ FMOD_RESULT System::playSound(FMOD_CHANNELINDEX channelid, Sound *sound, bool pa } +// OFFSET: 0x008D1750 FMOD_RESULT System::playDSP(FMOD_CHANNELINDEX channelid, DSP *dsp, bool paused, Channel **channel) { FMOD_RESULT result; @@ -1144,6 +1173,7 @@ FMOD_RESULT System::playDSP(FMOD_CHANNELINDEX channelid, DSP *dsp, bool paused, } +// OFFSET: 0x008D1790 FMOD_RESULT System::getChannel(int channelid, Channel **channel) { FMOD_RESULT result; @@ -1195,6 +1225,7 @@ FMOD_RESULT System::getMasterSoundGroup(SoundGroup **soundgroup) } +// OFFSET: 0x008D17C0 FMOD_RESULT System::setReverbProperties(const FMOD_REVERB_PROPERTIES *prop) { FMOD_RESULT result; @@ -1348,6 +1379,7 @@ FMOD_RESULT System::getDSPClock(unsigned int *hi, unsigned int *lo) } +// OFFSET: 0x008D1820 FMOD_RESULT System::getRecordNumDrivers(int *numdrivers) { FMOD_RESULT result; @@ -1416,6 +1448,7 @@ FMOD_RESULT System::getRecordDriverCaps(int id, FMOD_CAPS *caps, int *minfrequen } +// OFFSET: 0x008D1880 FMOD_RESULT System::getRecordPosition(int id, unsigned int *position) { FMOD_RESULT result; @@ -1433,6 +1466,7 @@ FMOD_RESULT System::getRecordPosition(int id, unsigned int *position) } +// OFFSET: 0x008D18B0 FMOD_RESULT System::recordStart(int id, Sound *sound, bool loop) { FMOD_RESULT result; @@ -1450,6 +1484,7 @@ FMOD_RESULT System::recordStart(int id, Sound *sound, bool loop) } +// OFFSET: 0x008D18E0 FMOD_RESULT System::recordStop(int id) { FMOD_RESULT result; @@ -1467,6 +1502,7 @@ FMOD_RESULT System::recordStop(int id) } +// OFFSET: 0x008D1910 FMOD_RESULT System::isRecording(int id, bool *recording) { FMOD_RESULT result; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.cpp index 8de205c..fb32060 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.cpp @@ -242,6 +242,7 @@ FMOD_OS_CRITICALSECTION *SystemI::gSoundListCrit = 0; [SEE_ALSO] ] */ +// OFFSET: 0x008D2800 FMOD_RESULT SystemI::getInstance(unsigned int id, SystemI **sys) { SystemI *current; @@ -283,6 +284,7 @@ FMOD_RESULT SystemI::getInstance(unsigned int id, SystemI **sys) [SEE_ALSO] ] */ +// OFFSET: 0x008D2850 FMOD_RESULT SystemI::validate(System *system, SystemI **systemi) { FMOD::SystemI *sys = (FMOD::SystemI *)system; @@ -323,6 +325,7 @@ FMOD_RESULT SystemI::validate(System *system, SystemI **systemi) [SEE_ALSO] ] */ +// OFFSET: 0x008D5200 void SystemI::streamThread(void *data) { SystemI *system = (SystemI *)data; @@ -355,6 +358,7 @@ void SystemI::streamThread(void *data) [SEE_ALSO] ] */ +// OFFSET: 0x008D2890 FMOD_RESULT SystemI::updateStreams() { mStreamTimeStamp.stampIn(); @@ -447,6 +451,7 @@ FMOD_RESULT SystemI::updateStreams() [SEE_ALSO] ] */ +// OFFSET: 0x008D29C0 FMOD_RESULT SystemI::updateChannels(int delta) { int emulatedused; @@ -1074,6 +1079,7 @@ FMOD_RESULT SystemI::updateChannels(int delta) [SEE_ALSO] ] */ +// OFFSET: 0x008D3230 FMOD_RESULT SystemI::updateSoundGroups(int delta) { SoundGroupI *soundgroup; @@ -1228,6 +1234,7 @@ FMOD_RESULT SystemI::updateVSTPlugins() [SEE_ALSO] ] */ +// OFFSET: 0x008D5210 FMOD_RESULT SystemI::findChannel(FMOD_CHANNELINDEX id, SoundI *sound, ChannelI **channel) { ChannelI *chan = 0; @@ -1501,6 +1508,7 @@ FMOD_RESULT SystemI::findChannel(FMOD_CHANNELINDEX id, SoundI *sound, ChannelI * [SEE_ALSO] ] */ +// OFFSET: 0x008D3420 FMOD_RESULT SystemI::findChannel(FMOD_CHANNELINDEX id, DSPI *dsp, ChannelI **channel) { ChannelI *chan = 0; @@ -1609,6 +1617,7 @@ FMOD_RESULT SystemI::findChannel(FMOD_CHANNELINDEX id, DSPI *dsp, ChannelI **cha [SEE_ALSO] ] */ +// OFFSET: 0x008D5590 FMOD_RESULT SystemI::createSample(FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample_out) { FMOD_RESULT result; @@ -1943,6 +1952,7 @@ FMOD_RESULT SystemI::createSample(FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *wavefor [SEE_ALSO] ] */ +// OFFSET: 0x008D67D0 FMOD_RESULT SystemI::createSoundInternal(const char *name_or_data, FMOD_MODE mode_in, unsigned int buffersize, FMOD_TIMEUNIT buffersizetype, FMOD_CREATESOUNDEXINFO *exinfo, bool calledfromasync, SoundI **sound) { FMOD_RESULT result; @@ -3706,6 +3716,7 @@ FMOD_RESULT SystemI::checkDriverList(bool fromsystemupdate) [SEE_ALSO] ] */ +// OFFSET: 0x008D35C0 FMOD_RESULT SystemI::setUpPlugins() { FMOD_RESULT result; @@ -3999,6 +4010,7 @@ FMOD_RESULT SystemI::setUpPlugins() [SEE_ALSO] ] */ +// OFFSET: 0x008D3980 FMOD_RESULT SystemI::sortSpeakerList() { int count, count2; @@ -4229,6 +4241,7 @@ FMOD_RESULT SystemI::allocateDSPCodec(FMOD_SOUND_FORMAT format, DSPCodec **dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008D8A10 SystemI::SystemI() { mInitialized = false; @@ -4414,6 +4427,7 @@ SystemI::SystemI() [SEE_ALSO] ] */ +// OFFSET: 0x008D9A30 FMOD_RESULT SystemI::release() { FMOD_RESULT result; @@ -4460,6 +4474,7 @@ FMOD_RESULT SystemI::release() [SEE_ALSO] ] */ +// OFFSET: 0x008D3AB0 FMOD_RESULT SystemI::setOutput(FMOD_OUTPUTTYPE outputtype) { FMOD_RESULT result = FMOD_OK; @@ -4554,6 +4569,7 @@ FMOD_RESULT SystemI::setOutput(FMOD_OUTPUTTYPE outputtype) [SEE_ALSO] ] */ +// OFFSET: 0x008D3BC0 FMOD_RESULT SystemI::getOutput(FMOD_OUTPUTTYPE *output) { if (!output) @@ -4582,6 +4598,7 @@ FMOD_RESULT SystemI::getOutput(FMOD_OUTPUTTYPE *output) [SEE_ALSO] ] */ +// OFFSET: 0x008D3BF0 FMOD_RESULT SystemI::setSoftwareFormat(int samplerate, FMOD_SOUND_FORMAT format, int numoutputchannels, int maxinputchannels, FMOD_DSP_RESAMPLER resamplermethod) { if (mInitialized) @@ -4635,6 +4652,7 @@ FMOD_RESULT SystemI::setSoftwareFormat(int samplerate, FMOD_SOUND_FORMAT format, [SEE_ALSO] ] */ +// OFFSET: 0x008D3C60 FMOD_RESULT SystemI::getNumDrivers(int *numdrivers) { FMOD_RESULT result; @@ -4813,6 +4831,7 @@ FMOD_RESULT SystemI::getDriverInfoW(int id, short *name, int namelen, FMOD_GUID [SEE_ALSO] ] */ +// OFFSET: 0x008D3D70 FMOD_RESULT SystemI::getDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode) { FMOD_RESULT result; @@ -4938,6 +4957,7 @@ FMOD_RESULT SystemI::getDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, i [SEE_ALSO] ] */ +// OFFSET: 0x008D3F30 FMOD_RESULT SystemI::setDriver(int driver) { FMOD_RESULT result = FMOD_OK; @@ -5151,6 +5171,7 @@ FMOD_RESULT SystemI::getDriver(int *driver) [SEE_ALSO] ] */ +// OFFSET: 0x008D3F90 FMOD_RESULT SystemI::setHardwareChannels(int min2d, int max2d, int min3d, int max3d) { if (mInitialized) @@ -5188,6 +5209,7 @@ FMOD_RESULT SystemI::setHardwareChannels(int min2d, int max2d, int min3d, int ma [SEE_ALSO] ] */ +// OFFSET: 0x008D3FF0 FMOD_RESULT SystemI::getHardwareChannels(int *num2d, int *num3d, int *total) { int numhw3d = 0, numhw2d = 0, numhwtotal = 0; @@ -5269,6 +5291,7 @@ FMOD_RESULT SystemI::getHardwareChannels(int *num2d, int *num3d, int *total) [SEE_ALSO] ] */ +// OFFSET: 0x008D40A0 FMOD_RESULT SystemI::setSoftwareChannels(int numsoftwarechannels) { if (numsoftwarechannels < 0) @@ -5331,6 +5354,7 @@ FMOD_RESULT SystemI::getSoftwareChannels(int *numsoftwarechannels) [SEE_ALSO] ] */ +// OFFSET: 0x008D40D0 FMOD_RESULT SystemI::setDSPBufferSize(unsigned int bufferlength, int numbuffers) { if (mInitialized) @@ -5373,6 +5397,7 @@ FMOD_RESULT SystemI::setDSPBufferSize(unsigned int bufferlength, int numbuffers) [SEE_ALSO] ] */ +// OFFSET: 0x008D4110 FMOD_RESULT SystemI::getDSPBufferSize(unsigned int *bufferlength, int *numbuffers) { if (bufferlength) @@ -5681,6 +5706,7 @@ FMOD_RESULT SystemI::getAdvancedSettings(FMOD_ADVANCEDSETTINGS *settings) [SEE_ALSO] ] */ +// OFFSET: 0x008D5A50 FMOD_RESULT SystemI::setSpeakerMode(FMOD_SPEAKERMODE speakermode) { if (mInitialized) @@ -5814,6 +5840,7 @@ FMOD_RESULT SystemI::setSpeakerMode(FMOD_SPEAKERMODE speakermode) [SEE_ALSO] ] */ +// OFFSET: 0x008D4150 FMOD_RESULT SystemI::setCallback(FMOD_SYSTEM_CALLBACK callback) { FMOD::gGlobal->gSystemCallback = callback; @@ -6301,6 +6328,7 @@ private: }; +// OFFSET: 0x008D9AA0 FMOD_RESULT SystemI::init(int maxchannels, FMOD_INITFLAGS flags, void *extradriverdata) { int count; @@ -7050,6 +7078,7 @@ FMOD_RESULT SystemI::init(int maxchannels, FMOD_INITFLAGS flags, void *extradriv [SEE_ALSO] ] */ +// OFFSET: 0x008D9A20 FMOD_RESULT SystemI::close() { return closeEx(false); @@ -7071,6 +7100,7 @@ FMOD_RESULT SystemI::close() [SEE_ALSO] ] */ +// OFFSET: 0x008D9550 FMOD_RESULT SystemI::closeEx(bool calledfrominit) { FMOD_RESULT result; @@ -7484,6 +7514,7 @@ FMOD_RESULT SystemI::closeEx(bool calledfrominit) [SEE_ALSO] ] */ +// OFFSET: 0x008D8FD0 FMOD_RESULT SystemI::update() { FMOD_RESULT result; @@ -7704,6 +7735,7 @@ FMOD_RESULT SystemI::update() [SEE_ALSO] ] */ +// OFFSET: 0x008D4180 FMOD_RESULT SystemI::set3DSettings(float dopplerscale, float distancescale, float rolloffscale) { if (dopplerscale < 0) @@ -7770,6 +7802,7 @@ FMOD_RESULT SystemI::set3DNumListeners(int numlisteners) [SEE_ALSO] ] */ +// OFFSET: 0x008D41E0 FMOD_RESULT SystemI::set3DListenerAttributes(int listener, const FMOD_VECTOR *pos, const FMOD_VECTOR *vel, const FMOD_VECTOR *forward, const FMOD_VECTOR *up) { if (listener < 0 || listener >= LISTENER_MAX) @@ -7977,6 +8010,7 @@ FMOD_RESULT SystemI::set3DListenerAttributes(int listener, const FMOD_VECTOR *po [SEE_ALSO] ] */ +// OFFSET: 0x008D44A0 FMOD_RESULT SystemI::set3DRolloffCallback(FMOD_3D_ROLLOFFCALLBACK callback) { mRolloffCallback = callback; @@ -8001,6 +8035,7 @@ FMOD_RESULT SystemI::set3DRolloffCallback(FMOD_3D_ROLLOFFCALLBACK callback) [SEE_ALSO] ] */ +// OFFSET: 0x008D44C0 FMOD_RESULT SystemI::set3DSpeakerPosition(FMOD_SPEAKER speaker, float x, float y, bool active) { if (speaker < 0 || speaker >= FMOD_SPEAKER_MAX) @@ -8077,6 +8112,7 @@ FMOD_RESULT SystemI::get3DSpeakerPosition(FMOD_SPEAKER speaker, float *x, float [SEE_ALSO] ] */ +// OFFSET: 0x008D4600 FMOD_RESULT SystemI::get3DNumListeners(int *numlisteners) { if (!numlisteners) @@ -8105,6 +8141,7 @@ FMOD_RESULT SystemI::get3DNumListeners(int *numlisteners) [SEE_ALSO] ] */ +// OFFSET: 0x008D4630 FMOD_RESULT SystemI::get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMOD_VECTOR *vel, FMOD_VECTOR *forward, FMOD_VECTOR *up) { if (listener < 0 || listener >= LISTENER_MAX) @@ -8151,6 +8188,7 @@ FMOD_RESULT SystemI::get3DListenerAttributes(int listener, FMOD_VECTOR *pos, FMO [SEE_ALSO] ] */ +// OFFSET: 0x008D46F0 FMOD_RESULT SystemI::get3DSettings(float *dopplerscale, float *distancescale, float *rolloffscale) { if (dopplerscale) @@ -8185,6 +8223,7 @@ FMOD_RESULT SystemI::get3DSettings(float *dopplerscale, float *distancescale, fl [SEE_ALSO] ] */ +// OFFSET: 0x008D4730 FMOD_RESULT SystemI::getVersion(unsigned int *version) { if (!version) @@ -8691,6 +8730,7 @@ FMOD_RESULT SystemI::getWaveData(float *wavearray, int numvalues, int channeloff [SEE_ALSO] ] */ +// OFFSET: 0x008D91D0 FMOD_RESULT SystemI::createSound(const char *name_or_data, FMOD_MODE mode_in, FMOD_CREATESOUNDEXINFO *exinfo, SoundI **sound) { FMOD_RESULT result; @@ -8968,6 +9008,7 @@ FMOD_RESULT SystemI::createSound(const char *name_or_data, FMOD_MODE mode_in, FM [SEE_ALSO] ] */ +// OFFSET: 0x008D9520 FMOD_RESULT SystemI::createStream(const char *name_or_data, FMOD_MODE mode_in, FMOD_CREATESOUNDEXINFO *exinfo, SoundI **sound) { #ifdef FMOD_SUPPORT_STREAMING @@ -9058,6 +9099,7 @@ FMOD_RESULT SystemI::createCodec(FMOD_CODEC_DESCRIPTION *description, unsigned i [SEE_ALSO] ] */ +// OFFSET: 0x008D5CD0 FMOD_RESULT SystemI::createDSP(FMOD_DSP_DESCRIPTION *description, DSPI **dsp) { if (!dsp) @@ -9143,6 +9185,7 @@ FMOD_RESULT SystemI::createDSP(FMOD_DSP_DESCRIPTION *description, DSPI **dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008D5DE0 FMOD_RESULT SystemI::createDSP(FMOD_DSP_DESCRIPTION_EX *description, DSPI **dsp, bool allocate) { if (!dsp) @@ -9231,6 +9274,7 @@ FMOD_RESULT SystemI::createDSP(FMOD_DSP_DESCRIPTION_EX *description, DSPI **dsp, [SEE_ALSO] ] */ +// OFFSET: 0x008D5F10 FMOD_RESULT SystemI::createDSPByType(FMOD_DSP_TYPE type, DSPI **dsp) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -9509,6 +9553,7 @@ FMOD_RESULT SystemI::createChannelGroupInternal(const char *name, ChannelGroupI [SEE_ALSO] ] */ +// OFFSET: 0x008D6000 FMOD_RESULT SystemI::createChannelGroup(const char *name, ChannelGroupI **channelgroup) { if (!channelgroup) @@ -9544,6 +9589,7 @@ FMOD_RESULT SystemI::createChannelGroup(const char *name, ChannelGroupI **channe [SEE_ALSO] ] */ +// OFFSET: 0x008D4750 FMOD_RESULT SystemI::createSoundGroup(const char *name, SoundGroupI **soundgroup) { SoundGroupI *newsoundgroup; @@ -9605,6 +9651,7 @@ FMOD_RESULT SystemI::createSoundGroup(const char *name, SoundGroupI **soundgroup [SEE_ALSO] ] */ +// OFFSET: 0x008D61A0 FMOD_RESULT SystemI::playSound(FMOD_CHANNELINDEX channelid, SoundI *sound, bool paused, ChannelI **channel) { FMOD_RESULT result; @@ -9786,6 +9833,7 @@ FMOD_RESULT SystemI::playSound(FMOD_CHANNELINDEX channelid, SoundI *sound, bool [SEE_ALSO] ] */ +// OFFSET: 0x008D47F0 FMOD_RESULT SystemI::playDSP(FMOD_CHANNELINDEX channelid, DSPI *dsp, bool paused, ChannelI **channel) { FMOD_RESULT result; @@ -9871,6 +9919,7 @@ FMOD_RESULT SystemI::playDSP(FMOD_CHANNELINDEX channelid, DSPI *dsp, bool paused [SEE_ALSO] ] */ +// OFFSET: 0x008D48E0 FMOD_RESULT SystemI::getChannel(int id, ChannelI **channel) { FMOD_UINT_NATIVE handle; @@ -9907,6 +9956,7 @@ FMOD_RESULT SystemI::getChannel(int id, ChannelI **channel) [SEE_ALSO] ] */ +// OFFSET: 0x008D4920 FMOD_RESULT SystemI::getMasterChannelGroup(ChannelGroupI **channelgroup) { if (!channelgroup) @@ -10039,6 +10089,7 @@ FMOD_RESULT SystemI::createReverb(ReverbI **reverb) [SEE_ALSO] ] */ +// OFFSET: 0x008D4950 unsigned int SystemI::count3DPhysicalReverbs() { unsigned int count = 0; @@ -10071,6 +10122,7 @@ unsigned int SystemI::count3DPhysicalReverbs() [SEE_ALSO] ] */ +// OFFSET: 0x008D4980 unsigned int SystemI::count3DVirtualReverbs() { unsigned int count = 0; @@ -10103,6 +10155,7 @@ unsigned int SystemI::count3DVirtualReverbs() [SEE_ALSO] ] */ +// OFFSET: 0x008D49B0 FMOD_RESULT SystemI::set3DReverbActive(bool state) { mReverb3DActive = state; @@ -10126,6 +10179,7 @@ FMOD_RESULT SystemI::set3DReverbActive(bool state) [SEE_ALSO] ] */ +// OFFSET: 0x008D49D0 FMOD_RESULT SystemI::get3DReverbActive(bool *state) { if (state) @@ -10154,6 +10208,7 @@ FMOD_RESULT SystemI::get3DReverbActive(bool *state) [SEE_ALSO] ] */ +// OFFSET: 0x008D49F0 FMOD_RESULT SystemI::setReverbProperties(const FMOD_REVERB_PROPERTIES *prop, bool force_create) { #ifdef FMOD_SUPPORT_REVERB @@ -10300,6 +10355,7 @@ FMOD_RESULT SystemI::getReverbProperties(FMOD_REVERB_PROPERTIES *prop) ] */ #ifdef FMOD_SUPPORT_MULTIREVERB +// OFFSET: 0x008D4AD0 FMOD_RESULT SystemI::set3DReverbProperties(const FMOD_REVERB_PROPERTIES *prop, bool force_create) { FMOD_RESULT result; @@ -10419,6 +10475,7 @@ FMOD_RESULT SystemI::get3DReverbProperties(FMOD_REVERB_PROPERTIES *prop) [SEE_ALSO] ] */ +// OFFSET: 0x008D4BB0 FMOD_RESULT SystemI::getDSPHead(DSPI **dsp) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -10498,6 +10555,7 @@ FMOD_RESULT SystemI::addDSP(DSPI *dsp, DSPConnectionI **dspconnection) [SEE_ALSO] ] */ +// OFFSET: 0x008D4BE0 FMOD_RESULT SystemI::lockDSP() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -10525,6 +10583,7 @@ FMOD_RESULT SystemI::lockDSP() [SEE_ALSO] ] */ +// OFFSET: 0x008D4C00 FMOD_RESULT SystemI::unlockDSP() { #ifdef FMOD_SUPPORT_SOFTWARE @@ -10582,6 +10641,7 @@ FMOD_RESULT SystemI::getDSPClock(unsigned int *hi, unsigned int *lo) [SEE_ALSO] ] */ +// OFFSET: 0x008D4C20 FMOD_RESULT SystemI::getRecordNumDrivers(int *numdrivers) { #ifdef FMOD_SUPPORT_RECORDING @@ -10808,6 +10868,7 @@ FMOD_RESULT SystemI::getRecordDriverCaps(int id, FMOD_CAPS *caps, int *minfreque [SEE_ALSO] ] */ +// OFFSET: 0x008D63D0 FMOD_RESULT SystemI::recordStart(int id, SoundI *sound, bool loop) { #ifdef FMOD_SUPPORT_RECORDING @@ -10957,6 +11018,7 @@ FMOD_RESULT SystemI::recordStart(int id, SoundI *sound, bool loop) [SEE_ALSO] ] */ +// OFFSET: 0x008D4D20 FMOD_RESULT SystemI::recordStop(int id) { #ifdef FMOD_SUPPORT_RECORDING @@ -11008,6 +11070,7 @@ FMOD_RESULT SystemI::recordStop(int id) [SEE_ALSO] ] */ +// OFFSET: 0x008D4DE0 FMOD_RESULT SystemI::getRecordPosition(int id, unsigned int *position) { #ifdef FMOD_SUPPORT_RECORDING @@ -11065,6 +11128,7 @@ FMOD_RESULT SystemI::getRecordPosition(int id, unsigned int *position) [SEE_ALSO] ] */ +// OFFSET: 0x008D4E10 FMOD_RESULT SystemI::isRecording(int id, bool *recording) { #ifdef FMOD_SUPPORT_RECORDING @@ -11616,6 +11680,7 @@ FMOD_RESULT SystemI::getSoundList(SoundI **sound) [SEE_ALSO] ] */ +// OFFSET: 0x008D4E50 FMOD_RESULT SystemI::stopSound(SoundI *sound) { ChannelI *current; @@ -11847,6 +11912,7 @@ FMOD_RESULT SystemI::stopSound(SoundI *sound) [SEE_ALSO] ] */ +// OFFSET: 0x008D5020 FMOD_RESULT SystemI::stopDSP(DSPI *dsp) { ChannelI *current; @@ -11887,6 +11953,7 @@ FMOD_RESULT SystemI::stopDSP(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008D5060 FMOD_RESULT SystemI::getListenerObject(int listener, Listener **listenerobject) { if (!listenerobject || (listener < 0) || (listener >= mNumListeners)) @@ -11957,6 +12024,7 @@ FMOD_RESULT SystemI::setGlobalUserCallbacks(FMOD_FILE_OPENCALLBACK open, FMOD_FI [SEE_ALSO] ] */ +// OFFSET: 0x008D50A0 FMOD_RESULT SystemI::flushDSPConnectionRequests(bool calledfrommainthread) { FMOD_OS_CriticalSection_Enter(mDSPConnectionCrit); @@ -12147,6 +12215,7 @@ FMOD_RESULT F_API System_SetDebugMode(unsigned int mode) [SEE_ALSO] ] */ +// OFFSET: 0x008D65E0 FMOD_RESULT SystemI::update3DReverbs() { float t = 0.0f; diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.h b/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.h index d33a550..9caecf2 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_systemi.h @@ -338,6 +338,7 @@ namespace FMOD #ifdef FMOD_SUPPORT_DSPCODEC FMOD_RESULT allocateDSPCodec(FMOD_SOUND_FORMAT format, DSPCodec **dsp); #endif + // OFFSET: 0x008D1050 FMOD_RESULT getSoftwareFormat(int *samplerate, FMOD_SOUND_FORMAT *format, int *numoutputchannels, int *maxinputchannels, FMOD_DSP_RESAMPLER *resamplemethod, int *bits) { if (samplerate) @@ -395,6 +396,7 @@ namespace FMOD FMOD_RESULT setAdvancedSettings (FMOD_ADVANCEDSETTINGS *settings); FMOD_RESULT getAdvancedSettings (FMOD_ADVANCEDSETTINGS *settings); FMOD_RESULT setSpeakerMode (FMOD_SPEAKERMODE speakermode); + // OFFSET: 0x008D1120 FMOD_RESULT getSpeakerMode (FMOD_SPEAKERMODE *speakermode) { if (!speakermode) { return FMOD_ERR_INVALID_PARAM; } *speakermode = mSpeakerMode; return FMOD_OK; } FMOD_RESULT setCallback (FMOD_SYSTEM_CALLBACK callback); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_thread.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_thread.cpp index c813621..1d74ff2 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_thread.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_thread.cpp @@ -24,6 +24,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x008E5190 THREAD_RETURNTYPE THREAD_CALLCONV Thread::callback(void *data) { FMOD_UINT_NATIVE id; @@ -110,6 +111,7 @@ FMOD_RESULT Thread::threadFunc() [SEE_ALSO] ] */ +// OFFSET: 0x008E5260 Thread::Thread() { mHandle = 0; @@ -138,6 +140,7 @@ Thread::Thread() [SEE_ALSO] ] */ +// OFFSET: 0x008E52A0 FMOD_RESULT Thread::initThread(const char *name, void (*func)(void *userdata), void *userdata, PRIORITY priority, void *stack, int stacksize, bool usesemaphore, int sleepperiod, SystemI *system) { FMOD_RESULT result; @@ -275,6 +278,7 @@ FMOD_RESULT Thread::initThread(const char *name, void (*func)(void *userdata), v [SEE_ALSO] ] */ +// OFFSET: 0x008E53C0 FMOD_RESULT Thread::closeThread() { if (mRunning) @@ -373,6 +377,7 @@ FMOD_RESULT Thread::getCurrentThreadID(FMOD_UINT_NATIVE *id) [SEE_ALSO] ] */ +// OFFSET: 0x008E54A0 FMOD_RESULT Thread::wakeupThread(bool frominterrupt) { if (mSema) diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_thread.h b/Engine/Source/SoundEngine/fmodex/src/fmod_thread.h index 7cb12dc..e7e2161 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_thread.h +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_thread.h @@ -48,6 +48,7 @@ namespace FMOD } PRIORITY; Thread(); + // OFFSET: 0x008D2230 virtual ~Thread() { } FMOD_RESULT initThread(const char *name, void (*func)(void *userdata), void *userdata, PRIORITY priority, void *stack, int stacksize, bool usesemaphore, int sleepperiod, SystemI *system); diff --git a/Engine/Source/SoundEngine/fmodex/src/fmod_time.cpp b/Engine/Source/SoundEngine/fmodex/src/fmod_time.cpp index 08b3347..dfc3f9d 100644 --- a/Engine/Source/SoundEngine/fmodex/src/fmod_time.cpp +++ b/Engine/Source/SoundEngine/fmodex/src/fmod_time.cpp @@ -18,6 +18,7 @@ namespace FMOD [SEE_ALSO] */ +// OFFSET: 0x008E8330 TimeStamp::TimeStamp() { mIn = 0; @@ -44,6 +45,7 @@ TimeStamp::TimeStamp() [SEE_ALSO] */ +// OFFSET: 0x008E8360 FMOD_RESULT TimeStamp::stampIn() { FMOD_OS_Time_GetNs(&mIn); @@ -65,6 +67,7 @@ FMOD_RESULT TimeStamp::stampIn() [SEE_ALSO] */ +// OFFSET: 0x008E8380 FMOD_RESULT TimeStamp::stampOut(int damppercentage) { unsigned int val; @@ -156,6 +159,7 @@ FMOD_RESULT TimeStamp::getCPUUsage(FMOD_UFLOAT *cpuusage) [SEE_ALSO] */ +// OFFSET: 0x008E8440 FMOD_RESULT TimeStamp::setPaused(bool paused) { if (!mTiming) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/MeteredSection.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/MeteredSection.cpp index d8fea51..02d0b48 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/MeteredSection.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/MeteredSection.cpp @@ -22,6 +22,7 @@ void ReleaseMeteredSectionLock(LPMETERED_SECTION lpMetSect); /* * CreateMeteredSection */ +// OFFSET: 0x008E50C0 LPMETERED_SECTION CreateMeteredSection(LONG lInitialCount, LONG lMaximumCount, LPCTSTR lpName) { @@ -84,6 +85,7 @@ LPMETERED_SECTION OpenMeteredSection(LPCTSTR lpName) /* * EnterMeteredSection */ +// OFFSET: 0x008E4F40 DWORD EnterMeteredSection(LPMETERED_SECTION lpMetSect, DWORD dwMilliseconds) { @@ -115,6 +117,7 @@ DWORD EnterMeteredSection(LPMETERED_SECTION lpMetSect, /* * LeaveMeteredSection */ +// OFFSET: 0x008E4FD0 BOOL LeaveMeteredSection(LPMETERED_SECTION lpMetSect, LONG lReleaseCount, LPLONG lpPreviousCount) { @@ -157,6 +160,7 @@ BOOL LeaveMeteredSection(LPMETERED_SECTION lpMetSect, LONG lReleaseCount, /* * CloseMeteredSection */ +// OFFSET: 0x008E4D60 void CloseMeteredSection(LPMETERED_SECTION lpMetSect) { if (lpMetSect) @@ -177,6 +181,7 @@ void CloseMeteredSection(LPMETERED_SECTION lpMetSect) /* * InitMeteredSection */ +// OFFSET: 0x008E5070 BOOL InitMeteredSection(LPMETERED_SECTION lpMetSect, LONG lInitialCount, LONG lMaximumCount, LPCTSTR lpName, BOOL bOpenOnly) @@ -207,6 +212,7 @@ BOOL InitMeteredSection(LPMETERED_SECTION lpMetSect, /* * CreateMetSectEvent */ +// OFFSET: 0x008E4DC0 BOOL CreateMetSectEvent(LPMETERED_SECTION lpMetSect, LPCTSTR lpName, BOOL bOpenOnly) { @@ -241,6 +247,7 @@ BOOL CreateMetSectEvent(LPMETERED_SECTION lpMetSect, /* * CreateMetSectFileView */ +// OFFSET: 0x008E4E20 BOOL CreateMetSectFileView(LPMETERED_SECTION lpMetSect, LONG lInitialCount, LONG lMaximumCount, LPCTSTR lpName, BOOL bOpenOnly) @@ -305,6 +312,7 @@ BOOL CreateMetSectFileView(LPMETERED_SECTION lpMetSect, /* * GetMeteredSectionLock */ +// OFFSET: 0x008E4F00 void GetMeteredSectionLock(LPMETERED_SECTION lpMetSect) { #if FILEMAPPING diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asio.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asio.cpp index eba4bd0..86c9dda 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asio.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asio.cpp @@ -41,6 +41,7 @@ static AsioDriver *theAsioDriver = 0; #endif //----------------------------------------------------------------------------------------------------- +// OFFSET: 0x0094D1F0 ASIOError ASIOInit(ASIODriverInfo *info) { #if MAC || SGI || SUN || BEOS || LINUX @@ -92,6 +93,7 @@ ASIOError ASIOInit(ASIODriverInfo *info) #endif // !MAC } +// OFFSET: 0x0094D2D0 ASIOError ASIOExit(void) { if(theAsioDriver) @@ -109,6 +111,7 @@ ASIOError ASIOExit(void) return ASE_OK; } +// OFFSET: 0x0094D300 ASIOError ASIOStart(void) { if(!theAsioDriver) @@ -116,6 +119,7 @@ ASIOError ASIOStart(void) return theAsioDriver->start(); } +// OFFSET: 0x0094D320 ASIOError ASIOStop(void) { if(!theAsioDriver) @@ -123,6 +127,7 @@ ASIOError ASIOStop(void) return theAsioDriver->stop(); } +// OFFSET: 0x0094D340 ASIOError ASIOGetChannels(long *numInputChannels, long *numOutputChannels) { if(!theAsioDriver) @@ -143,6 +148,7 @@ ASIOError ASIOGetLatencies(long *inputLatency, long *outputLatency) return theAsioDriver->getLatencies(inputLatency, outputLatency); } +// OFFSET: 0x0094D370 ASIOError ASIOGetBufferSize(long *minSize, long *maxSize, long *preferredSize, long *granularity) { if(!theAsioDriver) @@ -160,6 +166,7 @@ ASIOError ASIOCanSampleRate(ASIOSampleRate sampleRate) return theAsioDriver->canSampleRate(sampleRate); } +// OFFSET: 0x0094D3C0 ASIOError ASIOGetSampleRate(ASIOSampleRate *currentRate) { if(!theAsioDriver) @@ -191,6 +198,7 @@ ASIOError ASIOSetClockSource(long reference) return theAsioDriver->setClockSource(reference); } +// OFFSET: 0x0094D3F0 ASIOError ASIOGetSamplePosition(ASIOSamples *sPos, ASIOTimeStamp *tStamp) { if(!theAsioDriver) @@ -198,6 +206,7 @@ ASIOError ASIOGetSamplePosition(ASIOSamples *sPos, ASIOTimeStamp *tStamp) return theAsioDriver->getSamplePosition(sPos, tStamp); } +// OFFSET: 0x0094D420 ASIOError ASIOGetChannelInfo(ASIOChannelInfo *info) { if(!theAsioDriver) @@ -210,6 +219,7 @@ ASIOError ASIOGetChannelInfo(ASIOChannelInfo *info) return theAsioDriver->getChannelInfo(info); } +// OFFSET: 0x0094D460 ASIOError ASIOCreateBuffers(ASIOBufferInfo *bufferInfos, long numChannels, long bufferSize, ASIOCallbacks *callbacks) { @@ -223,6 +233,7 @@ ASIOError ASIOCreateBuffers(ASIOBufferInfo *bufferInfos, long numChannels, return theAsioDriver->createBuffers(bufferInfos, numChannels, bufferSize, callbacks); } +// OFFSET: 0x0094D4B0 ASIOError ASIODisposeBuffers(void) { if(!theAsioDriver) @@ -244,6 +255,7 @@ ASIOError ASIOFuture(long selector, void *opt) return theAsioDriver->future(selector, opt); } +// OFFSET: 0x0094D4D0 ASIOError ASIOOutputReady(void) { if(!theAsioDriver) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiodrivers.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiodrivers.cpp index d524217..c6fc711 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiodrivers.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiodrivers.cpp @@ -88,11 +88,13 @@ void AsioDrivers::removeCurrentDriver() extern IASIO* theAsioDriver; +// OFFSET: 0x0094DB20 AsioDrivers::AsioDrivers() : AsioDriverList() { curIndex = -1; } +// OFFSET: 0x0094DB40 bool AsioDrivers::close() { AsioDriverList::close(); @@ -114,6 +116,7 @@ long AsioDrivers::getDriverNames(char **names, long maxDrivers) return asioGetNumDev() < maxDrivers ? asioGetNumDev() : maxDrivers; } +// OFFSET: 0x0094DB70 bool AsioDrivers::loadDriver(char *name) { char dname[64]; @@ -144,6 +147,7 @@ bool AsioDrivers::loadDriver(char *name) return false; } +// OFFSET: 0x0094DB50 void AsioDrivers::removeCurrentDriver() { if(curIndex != -1) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiolist.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiolist.cpp index f8aac50..8bad9bc 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiolist.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/asio/asiolist.cpp @@ -12,6 +12,7 @@ // ****************************************************************** // Local Functions // ****************************************************************** +// OFFSET: 0x0094D4F0 static LONG findDrvPath (char *clsidstr,char *dllpath,int dllpathsize) { HKEY hkEnum,hksub,hkpath; @@ -56,6 +57,7 @@ static LONG findDrvPath (char *clsidstr,char *dllpath,int dllpathsize) } +// OFFSET: 0x0094D6C0 static LPASIODRVSTRUCT newDrvStruct (HKEY hkey,char *keyname,int drvID,LPASIODRVSTRUCT lpdrv) { HKEY hksub; @@ -100,6 +102,7 @@ static LPASIODRVSTRUCT newDrvStruct (HKEY hkey,char *keyname,int drvID,LPASIODRV return lpdrv; } +// OFFSET: 0x0094D880 static void deleteDrvStruct (LPASIODRVSTRUCT lpdrv) { IASIO *iasio; @@ -129,6 +132,7 @@ static LPASIODRVSTRUCT getDrvStruct (int drvID,LPASIODRVSTRUCT lpdrv) // ****************************************************************** // AsioDriverList // ****************************************************************** +// OFFSET: 0x0094D8D0 AsioDriverList::AsioDriverList () { HKEY hkEnum = 0; @@ -160,6 +164,7 @@ AsioDriverList::AsioDriverList () } +// OFFSET: 0x0094D990 bool AsioDriverList::close() { if (numdrv) { @@ -171,12 +176,14 @@ bool AsioDriverList::close() } +// OFFSET: 0x00432110 LONG AsioDriverList::asioGetNumDev (VOID) { return (LONG)numdrv; } +// OFFSET: 0x0094D9B0 LONG AsioDriverList::asioOpenDriver (int drvID,LPVOID *asiodrv) { LPASIODRVSTRUCT lpdrv = 0; @@ -202,6 +209,7 @@ LONG AsioDriverList::asioOpenDriver (int drvID,LPVOID *asiodrv) } +// OFFSET: 0x0094DA30 LONG AsioDriverList::asioCloseDriver (int drvID) { LPASIODRVSTRUCT lpdrv = 0; @@ -218,6 +226,7 @@ LONG AsioDriverList::asioCloseDriver (int drvID) return 0; } +// OFFSET: 0x0094DA80 LONG AsioDriverList::asioGetDriverName (int drvID,char *drvname,int drvnamesize) { LPASIODRVSTRUCT lpdrv = 0; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.cpp index d6d64f9..2ec5e7d 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.cpp @@ -90,6 +90,7 @@ typedef enum { [SEE_ALSO] ] */ +// OFFSET: 0x0094DCA0 FMOD_RESULT ChannelDSound::init(int index, SystemI *system, Output *output, DSPI *dspmixtarget) { FMOD_RESULT result; @@ -126,6 +127,7 @@ FMOD_RESULT ChannelDSound::init(int index, SystemI *system, Output *output, DSPI [SEE_ALSO] ] */ +// OFFSET: 0x0094DD00 FMOD_RESULT ChannelDSound::alloc() { FMOD_MODE mode; @@ -272,6 +274,7 @@ FMOD_RESULT ChannelDSound::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x0094DF50 FMOD_RESULT ChannelDSound::start() { SampleDSound *sampledsound; @@ -363,6 +366,7 @@ FMOD_RESULT ChannelDSound::start() [SEE_ALSO] ] */ +// OFFSET: 0x0094DFD0 FMOD_RESULT ChannelDSound::stop() { bool releasebuffers = true; @@ -428,6 +432,7 @@ FMOD_RESULT ChannelDSound::stop() [SEE_ALSO] ] */ +// OFFSET: 0x0094E070 FMOD_RESULT ChannelDSound::setPaused(bool paused) { FMOD_RESULT result = FMOD_OK; @@ -535,6 +540,7 @@ FMOD_RESULT ChannelDSound::setPaused(bool paused) [SEE_ALSO] ] */ +// OFFSET: 0x0094E130 FMOD_RESULT ChannelDSound::setVolume(float volume) { if (mBuffer) @@ -620,6 +626,7 @@ FMOD_RESULT ChannelDSound::setVolume(float volume) [SEE_ALSO] ] */ +// OFFSET: 0x0094E230 FMOD_RESULT ChannelDSound::setFrequency(float frequency) { if (mSound && !mOutputDSound) @@ -660,6 +667,7 @@ FMOD_RESULT ChannelDSound::setFrequency(float frequency) [SEE_ALSO] ] */ +// OFFSET: 0x0094E2B0 FMOD_RESULT ChannelDSound::setPan(float pan, float fbpan) { int hwpan; @@ -725,6 +733,7 @@ FMOD_RESULT ChannelDSound::setPan(float pan, float fbpan) [SEE_ALSO] ] */ +// OFFSET: 0x0094E910 FMOD_RESULT ChannelDSound::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { HRESULT hr; @@ -780,6 +789,7 @@ FMOD_RESULT ChannelDSound::setPosition(unsigned int position, FMOD_TIMEUNIT post [SEE_ALSO] ] */ +// OFFSET: 0x0094EC00 FMOD_RESULT ChannelDSound::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { DWORD dwPlay, dwWrite; @@ -846,6 +856,7 @@ FMOD_RESULT ChannelDSound::getPosition(unsigned int *position, FMOD_TIMEUNIT pos [SEE_ALSO] ] */ +// OFFSET: 0x0094E370 FMOD_RESULT ChannelDSound::set3DAttributes() { FMOD_RESULT result; @@ -1005,6 +1016,7 @@ FMOD_RESULT ChannelDSound::set3DAttributes() [SEE_ALSO] ] */ +// OFFSET: 0x0094E670 FMOD_RESULT ChannelDSound::set3DMinMaxDistance() { int deferred = DS3D_IMMEDIATE; @@ -1069,6 +1081,7 @@ FMOD_RESULT ChannelDSound::set3DMinMaxDistance() [SEE_ALSO] ] */ +// OFFSET: 0x0094E720 FMOD_RESULT ChannelDSound::set3DOcclusion(float directOcclusion, float reverbOcclusion) { if (mOutputDSound->mReverbVersion != REVERB_VERSION_NONE) @@ -1124,6 +1137,7 @@ FMOD_RESULT ChannelDSound::set3DOcclusion(float directOcclusion, float reverbOcc [SEE_ALSO] ] */ +// OFFSET: 0x0094E800 FMOD_RESULT ChannelDSound::isPlaying(bool *isplaying, bool includethreadlatency) { if (mFlags & CHANNELREAL_FLAG_ALLOCATED || mFlags & CHANNELREAL_FLAG_PAUSED) @@ -1177,6 +1191,7 @@ FMOD_RESULT ChannelDSound::isPlaying(bool *isplaying, bool includethreadlatency) [SEE_ALSO] ] */ +// OFFSET: 0x0094E890 FMOD_RESULT ChannelDSound::setMode(FMOD_MODE mode) { int deferred = DS3D_IMMEDIATE; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.h index de7b6b0..fe4aa47 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound.h @@ -36,6 +36,7 @@ namespace FMOD public: + // OFFSET: 0x0093AA60 ChannelDSound() {} FMOD_RESULT init (int index, SystemI *system, Output *output, DSPI *dspmixtarget); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.cpp index 35d50fd..a55433d 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094EFE0 FMOD_RESULT ChannelDSoundEAX2::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; @@ -113,6 +114,7 @@ FMOD_RESULT ChannelDSoundEAX2::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x0094F140 FMOD_RESULT ChannelDSoundEAX2::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.h index 1e3c966..9942c42 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax2.h @@ -13,6 +13,7 @@ namespace FMOD { public: + // OFFSET: 0x0093AA80 ChannelDSoundEAX2() {}; FMOD_RESULT setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.cpp index 3577e4b..fef35b5 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094F2B0 FMOD_RESULT ChannelDSoundEAX3::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; @@ -118,6 +119,7 @@ FMOD_RESULT ChannelDSoundEAX3::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x0094F430 FMOD_RESULT ChannelDSoundEAX3::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.h index 9fa0b93..54e7634 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax3.h @@ -13,6 +13,7 @@ namespace FMOD { public: + // OFFSET: 0x0093AAA0 ChannelDSoundEAX3() {} FMOD_RESULT setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.cpp index e4513e1..7966f55 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.cpp @@ -28,6 +28,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094F5B0 FMOD_RESULT ChannelDSoundEAX4::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; @@ -183,6 +184,7 @@ FMOD_RESULT ChannelDSoundEAX4::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x0094F910 FMOD_RESULT ChannelDSoundEAX4::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { HRESULT hr; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.h index 1446057..23a1474 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_dsound_eax4.h @@ -13,6 +13,7 @@ namespace FMOD { public: + // OFFSET: 0x0093AAC0 ChannelDSoundEAX4() { }; FMOD_RESULT setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.cpp index 88561f7..b3e2703 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.cpp @@ -43,6 +43,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00946FD0 ChannelOpenAL::ChannelOpenAL() { mDSPWaveTable = NULL; @@ -71,6 +72,7 @@ ChannelOpenAL::ChannelOpenAL() [SEE_ALSO] ] */ +// OFFSET: 0x009478C0 FMOD_RESULT ChannelOpenAL::init(int index, SystemI *system, Output *output, DSPI *dspmixtarget) { FMOD_RESULT result; @@ -182,6 +184,7 @@ FMOD_RESULT ChannelOpenAL::init(int index, SystemI *system, Output *output, DSPI [SEE_ALSO] ] */ +// OFFSET: 0x009451A0 FMOD_RESULT ChannelOpenAL::close() { FMOD_RESULT result; @@ -243,6 +246,7 @@ FMOD_RESULT ChannelOpenAL::close() [SEE_ALSO] ] */ +// OFFSET: 0x00945260 FMOD_RESULT ChannelOpenAL::setupDSPCodec(DSPI *dsp) { #ifdef FMOD_SUPPORT_DSPCODEC @@ -386,6 +390,7 @@ FMOD_RESULT ChannelOpenAL::setupDSPCodec(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00945480 FMOD_RESULT ChannelOpenAL::alloc() { FMOD_RESULT result; @@ -674,6 +679,7 @@ FMOD_RESULT ChannelOpenAL::alloc() [SEE_ALSO] ] */ +// OFFSET: 0x00947040 FMOD_RESULT ChannelOpenAL::alloc(DSPI *dsp) { FMOD_RESULT result; @@ -877,6 +883,7 @@ FMOD_RESULT ChannelOpenAL::alloc(DSPI *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x00945890 FMOD_RESULT ChannelOpenAL::start() { SampleOpenAL *sampleopenal; @@ -1049,6 +1056,7 @@ FMOD_RESULT ChannelOpenAL::start() [SEE_ALSO] ] */ +// OFFSET: 0x00945CD0 FMOD_RESULT ChannelOpenAL::stop() { FMOD_RESULT result; @@ -1153,6 +1161,7 @@ FMOD_RESULT ChannelOpenAL::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00945ED0 FMOD_RESULT ChannelOpenAL::setPaused(bool paused) { FMOD_RESULT result = FMOD_OK; @@ -1213,6 +1222,7 @@ FMOD_RESULT ChannelOpenAL::setPaused(bool paused) [SEE_ALSO] ] */ +// OFFSET: 0x00945FA0 FMOD_RESULT ChannelOpenAL::setVolume(float volume) { int count; @@ -1292,6 +1302,7 @@ FMOD_RESULT ChannelOpenAL::setSpeakerLevels(int speaker, float *levels, int numl [SEE_ALSO] ] */ +// OFFSET: 0x00946090 FMOD_RESULT ChannelOpenAL::setFrequency(float frequency) { float basefrequency = mSound->mDefaultFrequency; @@ -1333,6 +1344,7 @@ FMOD_RESULT ChannelOpenAL::setFrequency(float frequency) [SEE_ALSO] ] */ +// OFFSET: 0x00946100 FMOD_RESULT ChannelOpenAL::setPan(float pan, float fbpan) { int count; @@ -1370,6 +1382,7 @@ FMOD_RESULT ChannelOpenAL::setPan(float pan, float fbpan) [SEE_ALSO] ] */ +// OFFSET: 0x00947350 FMOD_RESULT ChannelOpenAL::setPosition(unsigned int position, FMOD_TIMEUNIT postype) { unsigned int pcm, endpoint; @@ -1485,6 +1498,7 @@ FMOD_RESULT ChannelOpenAL::setPosition(unsigned int position, FMOD_TIMEUNIT post [SEE_ALSO] ] */ +// OFFSET: 0x009475F0 FMOD_RESULT ChannelOpenAL::getPosition(unsigned int *position, FMOD_TIMEUNIT postype) { int channels; @@ -1575,6 +1589,7 @@ FMOD_RESULT ChannelOpenAL::getPosition(unsigned int *position, FMOD_TIMEUNIT pos [SEE_ALSO] ] */ +// OFFSET: 0x00946190 FMOD_RESULT ChannelOpenAL::setLoopPoints(unsigned int loopstart, unsigned int looplength) { FMOD_RESULT result; @@ -1614,6 +1629,7 @@ FMOD_RESULT ChannelOpenAL::setLoopPoints(unsigned int loopstart, unsigned int lo [SEE_ALSO] ] */ +// OFFSET: 0x009461E0 FMOD_RESULT ChannelOpenAL::setLoopCount(int loopcount) { FMOD_RESULT result; @@ -1652,6 +1668,7 @@ FMOD_RESULT ChannelOpenAL::setLoopCount(int loopcount) [SEE_ALSO] ] */ +// OFFSET: 0x00946210 FMOD_RESULT ChannelOpenAL::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -1691,6 +1708,7 @@ FMOD_RESULT ChannelOpenAL::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x00946240 FMOD_RESULT ChannelOpenAL::set3DAttributes() { FMOD_RESULT result; @@ -1862,6 +1880,7 @@ FMOD_RESULT ChannelOpenAL::set3DAttributes() [SEE_ALSO] ] */ +// OFFSET: 0x00946720 FMOD_RESULT ChannelOpenAL::set3DMinMaxDistance() { int count; @@ -1902,6 +1921,7 @@ FMOD_RESULT ChannelOpenAL::set3DMinMaxDistance() [SEE_ALSO] ] */ +// OFFSET: 0x009467C0 FMOD_RESULT ChannelOpenAL::set3DOcclusion(float directOcclusion, float reverbOcclusion) { if (mOutputOAL->mReverbVersion != REVERB_VERSION_NONE) @@ -2013,6 +2033,7 @@ FMOD_RESULT ChannelOpenAL::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *pr [SEE_ALSO] ] */ +// OFFSET: 0x009468C0 FMOD_RESULT ChannelOpenAL::isPlaying(bool *isplaying, bool includethreadlatency) { if (!isplaying) @@ -2087,6 +2108,7 @@ FMOD_RESULT ChannelOpenAL::isPlaying(bool *isplaying, bool includethreadlatency) FMOD_DSP_FFT_WINDOW ] */ +// OFFSET: 0x009469E0 FMOD_RESULT ChannelOpenAL::getSpectrum(float *spectrumarray, int numvalues, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype) { #ifdef FMOD_SUPPORT_GETSPECTRUM @@ -2205,6 +2227,7 @@ FMOD_RESULT ChannelOpenAL::getSpectrum(float *spectrumarray, int numvalues, int FMOD_DSP_FFT_WINDOW ] */ +// OFFSET: 0x00946B20 FMOD_RESULT ChannelOpenAL::getWaveData(float *wavearray, int numvalues, int channeloffset) { FMOD_RESULT result; @@ -2318,6 +2341,7 @@ FMOD_RESULT ChannelOpenAL::setupChannel() [SEE_ALSO] ] */ +// OFFSET: 0x00946CB0 FMOD_RESULT ChannelOpenAL::updateChannel() { FMOD_SPEAKERMODE channelsToSpeakermode[] = { FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_MONO, FMOD_SPEAKERMODE_STEREO, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_QUAD, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_5POINT1, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_7POINT1, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW, FMOD_SPEAKERMODE_RAW }; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.h index 9dc84b1..c030b7d 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal.h @@ -60,6 +60,7 @@ namespace FMOD FMOD_RESULT isPlaying (bool *isplaying, bool includethreadlatency = false); FMOD_RESULT getSpectrum (float *spectrumarray, int numentries, int channeloffset, FMOD_DSP_FFT_WINDOW windowtype); FMOD_RESULT getWaveData (float *wavearray, int numentries, int channeloffset); + // OFFSET: 0x0092A2E0 FMOD_RESULT getDSPHead (DSPI **dsp) { *dsp = mDSPHead; return FMOD_OK; } FMOD_RESULT setReverbProperties (const FMOD_REVERB_CHANNELPROPERTIES *prop); FMOD_RESULT getReverbProperties (FMOD_REVERB_CHANNELPROPERTIES *prop); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.cpp index 44e6d12..796de53 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094B4E0 FMOD_RESULT ChannelOpenALEAX2::setupChannel() { EAXBUFFERPROPERTIES eaxBufferProperties; @@ -92,6 +93,7 @@ FMOD_RESULT ChannelOpenALEAX2::setupChannel() [SEE_ALSO] ] */ +// OFFSET: 0x0094B5D0 FMOD_RESULT ChannelOpenALEAX2::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXBUFFERPROPERTIES eaxBufferProperties; @@ -160,6 +162,7 @@ FMOD_RESULT ChannelOpenALEAX2::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x0094B6F0 FMOD_RESULT ChannelOpenALEAX2::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXBUFFERPROPERTIES eaxBufferProperties; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.h index c090dce..57a86e1 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax2.h @@ -14,6 +14,7 @@ namespace FMOD { public: + // OFFSET: 0x0092B6B0 ChannelOpenALEAX2() {}; FMOD_RESULT setupChannel (); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.cpp index 9d83064..66d09b2 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00947AC0 FMOD_RESULT ChannelOpenALEAX3::setupChannel() { EAXBUFFERPROPERTIES eaxBufferProperties; @@ -97,6 +98,7 @@ FMOD_RESULT ChannelOpenALEAX3::setupChannel() [SEE_ALSO] ] */ +// OFFSET: 0x00947BC0 FMOD_RESULT ChannelOpenALEAX3::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXBUFFERPROPERTIES eaxBufferProperties; @@ -170,6 +172,7 @@ FMOD_RESULT ChannelOpenALEAX3::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x00947CF0 FMOD_RESULT ChannelOpenALEAX3::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXBUFFERPROPERTIES eaxBufferProperties; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.h index 2967cd2..2e61e17 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax3.h @@ -14,6 +14,7 @@ namespace FMOD { public: + // OFFSET: 0x0092A2C0 ChannelOpenALEAX3() {}; FMOD_RESULT setupChannel (); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.cpp index 9bd04e9..01feb54 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00947E10 FMOD_RESULT ChannelOpenALEAX4::setupChannel() { EAXACTIVEFXSLOTS eaxSlots; @@ -116,6 +117,7 @@ FMOD_RESULT ChannelOpenALEAX4::setupChannel() [SEE_ALSO] ] */ +// OFFSET: 0x00947F90 FMOD_RESULT ChannelOpenALEAX4::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXSOURCEPROPERTIES eaxSourceProperties; @@ -273,6 +275,7 @@ FMOD_RESULT ChannelOpenALEAX4::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x009482C0 FMOD_RESULT ChannelOpenALEAX4::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXSOURCEPROPERTIES eaxSourceProperties; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.h index 8f0d3bf..ad7307e 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax4.h @@ -14,6 +14,7 @@ namespace FMOD { public: + // OFFSET: 0x0092A300 ChannelOpenALEAX4() {}; FMOD_RESULT setupChannel (); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.cpp index 79f8620..31b59c9 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.cpp @@ -29,6 +29,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00948820 FMOD_RESULT ChannelOpenALEAX5::setupChannel() { EAXSPEAKERLEVELPROPERTIES eaxSourceSpeakerLevels[8]; @@ -150,6 +151,7 @@ FMOD_RESULT ChannelOpenALEAX5::setupChannel() [SEE_ALSO] ] */ +// OFFSET: 0x00948A90 FMOD_RESULT ChannelOpenALEAX5::setSpeakerMix(float frontleft, float frontright, float center, float lfe, float backleft, float backright, float sideleft, float sideright) { EAXSPEAKERLEVELPROPERTIES eaxSourceSpeakerLevels[8]; @@ -245,6 +247,7 @@ FMOD_RESULT ChannelOpenALEAX5::setSpeakerMix(float frontleft, float frontright, [SEE_ALSO] ] */ +// OFFSET: 0x00948D30 FMOD_RESULT ChannelOpenALEAX5::setSpeakerLevels(int speaker, float *levels, int numlevels) { long FMOD_SPEAKER_TO_EAXSPEAKER[11] = { EAXSPEAKER_FRONT_LEFT, EAXSPEAKER_FRONT_RIGHT, EAXSPEAKER_FRONT_CENTER, EAXSPEAKER_LOW_FREQUENCY, EAXSPEAKER_REAR_LEFT, EAXSPEAKER_REAR_RIGHT, EAXSPEAKER_SIDE_LEFT, EAXSPEAKER_SIDE_RIGHT, EAXSPEAKER_FRONT_LEFT, EAXSPEAKER_FRONT_LEFT, EAXSPEAKER_REAR_CENTER }; @@ -323,6 +326,7 @@ FMOD_RESULT ChannelOpenALEAX5::setSpeakerLevels(int speaker, float *levels, int [SEE_ALSO] ] */ +// OFFSET: 0x00948F10 FMOD_RESULT ChannelOpenALEAX5::setReverbProperties(const FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXSOURCEPROPERTIES eaxSourceProperties; @@ -505,6 +509,7 @@ FMOD_RESULT ChannelOpenALEAX5::setReverbProperties(const FMOD_REVERB_CHANNELPROP [SEE_ALSO] ] */ +// OFFSET: 0x00949320 FMOD_RESULT ChannelOpenALEAX5::getReverbProperties(FMOD_REVERB_CHANNELPROPERTIES *prop) { EAXSOURCEPROPERTIES eaxSourceProperties; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.h index 13eeccf..633de2c 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_channel_openal_eax5.h @@ -14,6 +14,7 @@ namespace FMOD { public: + // OFFSET: 0x0092A320 ChannelOpenALEAX5() {}; FMOD_RESULT setupChannel (); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.cpp index 3302241..f5043fa 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.cpp @@ -63,6 +63,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x008F8B60 FMOD_CODEC_DESCRIPTION_EX *CodecASF::getDescriptionEx() { FMOD_memset(&asfcodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -101,6 +102,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecASF::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008F7C40 FMOD_RESULT CodecASF::getStreamNumbers(IWMProfile* pProfile) { HRESULT hr = S_OK; @@ -182,6 +184,7 @@ FMOD_RESULT CodecASF::getStreamNumbers(IWMProfile* pProfile) [SEE_ALSO] ] */ +// OFFSET: 0x008F8260 FMOD_RESULT CodecASF::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { FMOD_RESULT result = FMOD_OK; @@ -561,6 +564,7 @@ FMOD_RESULT CodecASF::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *u [SEE_ALSO] ] */ +// OFFSET: 0x008F7D50 FMOD_RESULT CodecASF::closeInternal() { if (mReader) @@ -616,6 +620,7 @@ FMOD_RESULT CodecASF::closeInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008F7DD0 FMOD_RESULT CodecASF::readInternal(void *buffer, unsigned int sizebytes, unsigned int *bytesread) { HRESULT hr = S_OK; @@ -687,6 +692,7 @@ FMOD_RESULT CodecASF::readInternal(void *buffer, unsigned int sizebytes, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x008F7E80 FMOD_RESULT CodecASF::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { HRESULT hr; @@ -821,6 +827,7 @@ HRESULT CROStream::Open( LPCTSTR ptszURL ) [SEE_ALSO] ] */ +// OFFSET: 0x008F7F40 HRESULT CROStream::Read( void *pv, ULONG cb, ULONG *pcbRead ) { FMOD_RESULT result; @@ -852,6 +859,7 @@ HRESULT CROStream::Read( void *pv, ULONG cb, ULONG *pcbRead ) [SEE_ALSO] ] */ +// OFFSET: 0x008F7F70 HRESULT CROStream::Seek(LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER *plibNewPosition) { FMOD_RESULT result; @@ -911,6 +919,7 @@ HRESULT CROStream::Seek(LARGE_INTEGER dlibMove, DWORD dwOrigin, ULARGE_INTEGER * [SEE_ALSO] ] */ +// OFFSET: 0x008F7FF0 HRESULT CROStream::Stat( STATSTG *pstatstg, DWORD grfStatFlag ) { FMOD_RESULT result; @@ -953,6 +962,7 @@ HRESULT CROStream::Stat( STATSTG *pstatstg, DWORD grfStatFlag ) [SEE_ALSO] ] */ +// OFFSET: 0x008F8050 HRESULT CROStream::QueryInterface( REFIID riid, void **ppv ) { if( ( IID_IUnknown == riid ) || ( IID_IStream == riid ) ) @@ -983,6 +993,7 @@ HRESULT CROStream::QueryInterface( REFIID riid, void **ppv ) [SEE_ALSO] ] */ +// OFFSET: 0x008F80A0 ULONG CROStream::AddRef() { return( InterlockedIncrement( &m_cRefs ) ); @@ -1005,6 +1016,7 @@ ULONG CROStream::AddRef() [SEE_ALSO] ] */ +// OFFSET: 0x008F80C0 ULONG CROStream::Release() { if( 0 == InterlockedDecrement( &m_cRefs ) ) @@ -1034,6 +1046,7 @@ ULONG CROStream::Release() [SEE_ALSO] ] */ +// OFFSET: 0x008F8100 FMOD_RESULT CodecASF::soundCreateInternal(int subsound, FMOD_SOUND *sound) { FMOD_RESULT result = FMOD_OK; @@ -1072,6 +1085,7 @@ FMOD_RESULT CodecASF::soundCreateInternal(int subsound, FMOD_SOUND *sound) [SEE_ALSO] ] */ +// OFFSET: 0x008F8B20 FMOD_RESULT F_CALLBACK CodecASF::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecASF *asf = (CodecASF *)codec; @@ -1096,6 +1110,7 @@ FMOD_RESULT F_CALLBACK CodecASF::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE [SEE_ALSO] ] */ +// OFFSET: 0x008F8190 FMOD_RESULT F_CALLBACK CodecASF::closeCallback(FMOD_CODEC_STATE *codec) { CodecASF *asf = (CodecASF *)codec; @@ -1120,6 +1135,7 @@ FMOD_RESULT F_CALLBACK CodecASF::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x008F81C0 FMOD_RESULT F_CALLBACK CodecASF::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecASF *asf = (CodecASF *)codec; @@ -1144,6 +1160,7 @@ FMOD_RESULT F_CALLBACK CodecASF::readCallback(FMOD_CODEC_STATE *codec, void *buf [SEE_ALSO] ] */ +// OFFSET: 0x008F81F0 FMOD_RESULT F_CALLBACK CodecASF::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecASF *asf = (CodecASF *)codec; @@ -1168,6 +1185,7 @@ FMOD_RESULT F_CALLBACK CodecASF::setPositionCallback(FMOD_CODEC_STATE *codec, in [SEE_ALSO] ] */ +// OFFSET: 0x008F8220 FMOD_RESULT F_CALLBACK CodecASF::soundCreateCallback(FMOD_CODEC_STATE *codec, int subsound, FMOD_SOUND *sound) { CodecASF *asf = (CodecASF *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.h b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.h index 14b7a3b..78f0777 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.h +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_asf.h @@ -36,14 +36,17 @@ namespace FMOD // // Non-implemented methods of IStream // + // OFFSET: 0x008F7EF0 HRESULT STDMETHODCALLTYPE Write( void const *pv, ULONG cb, ULONG *pcbWritten ) { return( E_NOTIMPL ); } + // OFFSET: 0x008F7F00 HRESULT STDMETHODCALLTYPE SetSize( ULARGE_INTEGER libNewSize ) { return( E_NOTIMPL ); } + // OFFSET: 0x008F7F10 HRESULT STDMETHODCALLTYPE CopyTo( IStream *pstm, ULARGE_INTEGER cb, ULARGE_INTEGER *pcbRead, ULARGE_INTEGER *pcbWritten ) { return( E_NOTIMPL ); @@ -52,6 +55,7 @@ namespace FMOD { return( E_NOTIMPL ); } + // OFFSET: 0x008F7F30 HRESULT STDMETHODCALLTYPE Revert() { return( E_NOTIMPL ); diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_cdda.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_cdda.cpp index aa12a22..825f09d 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_cdda.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_codec_cdda.cpp @@ -61,6 +61,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x00913420 FMOD_CODEC_DESCRIPTION_EX *CodecCDDA::getDescriptionEx() { FMOD_memset(&cddacodec, 0, sizeof(FMOD_CODEC_DESCRIPTION_EX)); @@ -96,6 +97,7 @@ FMOD_CODEC_DESCRIPTION_EX *CodecCDDA::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00913260 FMOD_RESULT CodecCDDA::openInternal(FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { int count; @@ -234,6 +236,7 @@ FMOD_RESULT CodecCDDA::readInternal(void *buffer, unsigned int sizebytes, unsign [SEE_ALSO] ] */ +// OFFSET: 0x00912FF0 FMOD_RESULT CodecCDDA::setPositionInternal(int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CddaFile *cddafile; @@ -290,6 +293,7 @@ FMOD_RESULT CodecCDDA::setPositionInternal(int subsound, unsigned int position, [SEE_ALSO] ] */ +// OFFSET: 0x009133E0 FMOD_RESULT F_CALLBACK CodecCDDA::openCallback(FMOD_CODEC_STATE *codec, FMOD_MODE usermode, FMOD_CREATESOUNDEXINFO *userexinfo) { CodecCDDA *cdda = (CodecCDDA *)codec; @@ -314,6 +318,7 @@ FMOD_RESULT F_CALLBACK CodecCDDA::openCallback(FMOD_CODEC_STATE *codec, FMOD_MOD [SEE_ALSO] ] */ +// OFFSET: 0x00912F70 FMOD_RESULT F_CALLBACK CodecCDDA::closeCallback(FMOD_CODEC_STATE *codec) { CodecCDDA *cdda = (CodecCDDA *)codec; @@ -338,6 +343,7 @@ FMOD_RESULT F_CALLBACK CodecCDDA::closeCallback(FMOD_CODEC_STATE *codec) [SEE_ALSO] ] */ +// OFFSET: 0x00912FC0 FMOD_RESULT F_CALLBACK CodecCDDA::readCallback(FMOD_CODEC_STATE *codec, void *buffer, unsigned int sizebytes, unsigned int *bytesread) { CodecCDDA *cdda = (CodecCDDA *)codec; @@ -361,6 +367,7 @@ FMOD_RESULT F_CALLBACK CodecCDDA::readCallback(FMOD_CODEC_STATE *codec, void *bu [SEE_ALSO] ] */ +// OFFSET: 0x00913230 FMOD_RESULT F_CALLBACK CodecCDDA::setPositionCallback(FMOD_CODEC_STATE *codec, int subsound, unsigned int position, FMOD_TIMEUNIT postype) { CodecCDDA *cdda = (CodecCDDA *)codec; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_distortion.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_distortion.cpp index f098f13..53e7d2e 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_distortion.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_distortion.cpp @@ -62,6 +62,7 @@ extern "C" [SEE_ALSO] ] */ +// OFFSET: 0x008EF4E0 FMOD_DSP_DESCRIPTION_EX *DSPDistortion::getDescriptionEx() { FMOD_memset(&dspdistortion, 0, sizeof(FMOD_DSP_DESCRIPTION_EX)); @@ -106,6 +107,7 @@ FMOD_DSP_DESCRIPTION_EX *DSPDistortion::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x008EF260 FMOD_RESULT DSPDistortion::createInternal() { int count; @@ -191,6 +193,7 @@ FMOD_RESULT DSPDistortion::resetInternal() [SEE_ALSO] ] */ +// OFFSET: 0x008EF2C0 FMOD_RESULT DSPDistortion::readInternal(float * inbuffer, float * outbuffer, unsigned int length, int inchannels, int outchannels) { float k; @@ -454,6 +457,7 @@ FMOD_RESULT DSPDistortion::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x008EF410 FMOD_RESULT F_CALLBACK DSPDistortion::createCallback(FMOD_DSP_STATE *dsp) { DSPDistortion *distortion = (DSPDistortion *)dsp; @@ -526,6 +530,7 @@ FMOD_RESULT F_CALLBACK DSPDistortion::resetCallback(FMOD_DSP_STATE *dsp) [SEE_ALSO] ] */ +// OFFSET: 0x008EF440 FMOD_RESULT F_CALLBACK DSPDistortion::readCallback(FMOD_DSP_STATE *dsp, float *inbuffer, float *outbuffer, unsigned int length, int inchannels, int outchannels) { DSPDistortion *distortion = (DSPDistortion *)dsp; @@ -550,6 +555,7 @@ FMOD_RESULT F_CALLBACK DSPDistortion::readCallback(FMOD_DSP_STATE *dsp, float *i [SEE_ALSO] ] */ +// OFFSET: 0x008EF470 FMOD_RESULT F_CALLBACK DSPDistortion::setParameterCallback(FMOD_DSP_STATE *dsp, int index, float value) { DSPDistortion *distortion = (DSPDistortion *)dsp; @@ -574,6 +580,7 @@ FMOD_RESULT F_CALLBACK DSPDistortion::setParameterCallback(FMOD_DSP_STATE *dsp, [SEE_ALSO] ] */ +// OFFSET: 0x008EF4A0 FMOD_RESULT F_CALLBACK DSPDistortion::getParameterCallback(FMOD_DSP_STATE *dsp, int index, float *value, char *valuestr) { DSPDistortion *distortion = (DSPDistortion *)dsp; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_resampler_linear.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_resampler_linear.cpp index 98154e1..4389c66 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_resampler_linear.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_dsp_resampler_linear.cpp @@ -28,6 +28,7 @@ extern "C" [SEE_ALSO] ] */ +// OFFSET: 0x0093E470 void FMOD_Resampler_Linear(float *out, int outlength, void *src, FMOD_SOUND_FORMAT srcformat, FMOD_UINT64P *position, FMOD_SINT64P *speed, int channels) { float scale = 1.0f; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_file_cdda.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_file_cdda.cpp index 639891f..87aaa92 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_file_cdda.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_file_cdda.cpp @@ -28,6 +28,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x009219A0 CddaFile::CddaFile() { mDevice = 0; @@ -50,6 +51,7 @@ CddaFile::CddaFile() [SEE_ALSO] ] */ +// OFFSET: 0x00921030 FMOD_RESULT CddaFile::init(bool force_aspi, bool jitter_correction) { mJitterCorrection = jitter_correction; @@ -70,6 +72,7 @@ FMOD_RESULT CddaFile::init(bool force_aspi, bool jitter_correction) [SEE_ALSO] ] */ +// OFFSET: 0x00921050 FMOD_RESULT CddaFile::shutDown() { return FMOD_OS_CDDA_Shutdown(); @@ -89,6 +92,7 @@ FMOD_RESULT CddaFile::shutDown() [SEE_ALSO] ] */ +// OFFSET: 0x00921690 FMOD_RESULT CddaFile::reallyOpen(const char *name_or_data, unsigned int *filesize) { int numtracks; @@ -200,6 +204,7 @@ FMOD_RESULT CddaFile::reallyOpen(const char *name_or_data, unsigned int *filesiz [SEE_ALSO] ] */ +// OFFSET: 0x00921060 FMOD_RESULT CddaFile::reallyClose() { FMOD_RESULT result = FMOD_OK; @@ -239,6 +244,7 @@ FMOD_RESULT CddaFile::reallyClose() [SEE_ALSO] ] */ +// OFFSET: 0x00921850 FMOD_RESULT CddaFile::reallyRead(void *buffer, unsigned int size, unsigned int *rd) { int bytestocopy, count; @@ -338,6 +344,7 @@ FMOD_RESULT CddaFile::reallyRead(void *buffer, unsigned int size, unsigned int * [SEE_ALSO] ] */ +// OFFSET: 0x009210F0 FMOD_RESULT CddaFile::doJitterCorrection(unsigned int sectors_to_read) { if (!mJitterBufEmpty) @@ -429,6 +436,7 @@ FMOD_RESULT CddaFile::doJitterCorrection(unsigned int sectors_to_read) [SEE_ALSO] ] */ +// OFFSET: 0x009213D0 FMOD_RESULT CddaFile::reallySeek(unsigned int pos) { unsigned int num_sectors; @@ -465,6 +473,7 @@ FMOD_RESULT CddaFile::reallySeek(unsigned int pos) [SEE_ALSO] ] */ +// OFFSET: 0x00921460 FMOD_RESULT CddaFile::getNumTracks(int *numtracks) { if (!numtracks || !mDevice) @@ -495,6 +504,7 @@ FMOD_RESULT CddaFile::getNumTracks(int *numtracks) [SEE_ALSO] ] */ +// OFFSET: 0x009214A0 FMOD_RESULT CddaFile::getTrackLength(unsigned int track, unsigned int *tracklength) { if (!tracklength || !mDevice || (track >= (mDevice->toc.num_tracks - 1))) @@ -521,6 +531,7 @@ FMOD_RESULT CddaFile::getTrackLength(unsigned int track, unsigned int *trackleng [SEE_ALSO] ] */ +// OFFSET: 0x009214F0 FMOD_RESULT CddaFile::openTrack(unsigned int track) { unsigned int starttime, thistime; @@ -577,6 +588,7 @@ FMOD_RESULT CddaFile::openTrack(unsigned int track) [SEE_ALSO] ] */ +// OFFSET: 0x00921620 FMOD_RESULT CddaFile::getMetadata(Metadata **metadata) { if (!mDevice || !metadata) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_cdda.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_cdda.cpp index db39001..b5646db 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_cdda.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_cdda.cpp @@ -478,6 +478,7 @@ char *FMOD_CDDA_GetString(unsigned int value, FMOD_CDDA_StringList *stringlist) [SEE_ALSO] */ +// OFFSET: 0x00918A70 FMOD_RESULT FMOD_OS_CDDA_Init(bool force_aspi) { unsigned int status, error; @@ -666,6 +667,7 @@ FMOD_RESULT FMOD_OS_CDDA_Init(bool force_aspi) [SEE_ALSO] */ +// OFFSET: 0x00918460 FMOD_RESULT FMOD_OS_CDDA_Shutdown() { int i; @@ -730,6 +732,7 @@ bool FMOD_OS_CDDA_IsDriveLetter(char *name) } +// OFFSET: 0x00916F20 bool FMOD_OS_CDDA_IsDeviceName(char *name) { if (!name) @@ -856,6 +859,7 @@ FMOD_RESULT FMOD_OS_CDDA_GetDeviceName(int devicenum, char *name, int namelen, c [SEE_ALSO] */ +// OFFSET: 0x009184E0 FMOD_RESULT FMOD_OS_CDDA_GetDriveFromLetter(int letter, FMOD_CDDA_DEVICE **device) { int i; @@ -1145,6 +1149,7 @@ FMOD_RESULT FMOD_OS_CDDA_GetDriveFromLetter(int letter, FMOD_CDDA_DEVICE **devic [SEE_ALSO] ] */ +// OFFSET: 0x00918990 FMOD_RESULT FMOD_OS_CDDA_OpenDevice(char *name, FMOD_CDDA_DEVICE **device) { int count; @@ -1226,6 +1231,7 @@ FMOD_RESULT FMOD_OS_CDDA_OpenDevice(char *name, FMOD_CDDA_DEVICE **device) [SEE_ALSO] ] */ +// OFFSET: 0x00916FC0 FMOD_RESULT FMOD_OS_CDDA_CloseDevice(FMOD_CDDA_DEVICE *device) { if (!device) @@ -1261,6 +1267,7 @@ FMOD_RESULT FMOD_OS_CDDA_CloseDevice(FMOD_CDDA_DEVICE *device) [SEE_ALSO] ] */ +// OFFSET: 0x00917AA0 FMOD_RESULT FMOD_OS_CDDA_ReadSectors(FMOD_CDDA_DEVICE *device, char *buf, unsigned int start_sector, unsigned int num_sectors) { unsigned char cmd[12]; @@ -1308,6 +1315,7 @@ FMOD_RESULT FMOD_OS_CDDA_ReadSectors(FMOD_CDDA_DEVICE *device, char *buf, unsign [SEE_ALSO] ] */ +// OFFSET: 0x00917020 static unsigned int FMOD_OS_CDDA_hmsf_to_lba(unsigned char hours, unsigned char minutes, unsigned char seconds, unsigned char frames) { return (hours * 1053696) + (minutes * 60 * 75) + (seconds * 75) + frames; @@ -1327,6 +1335,7 @@ static unsigned int FMOD_OS_CDDA_hmsf_to_lba(unsigned char hours, unsigned char [SEE_ALSO] ] */ +// OFFSET: 0x00917050 void FMOD_CDDA_AddUserTocEntry(FMOD_CDDA_DEVICE *device, unsigned int sector) { device->usertoc.min[device->usertoc.numtracks] = sector / (60 * 75); @@ -1349,6 +1358,7 @@ void FMOD_CDDA_AddUserTocEntry(FMOD_CDDA_DEVICE *device, unsigned int sector) [SEE_ALSO] ] */ +// OFFSET: 0x00917B50 FMOD_RESULT FMOD_OS_CDDA_ReadTocRaw(FMOD_CDDA_DEVICE *device, FMOD_CDDA_TOC *toc) { char buf[SIZEOF_CDROM_SECTOR]; @@ -1622,6 +1632,7 @@ FMOD_RESULT FMOD_OS_CDDA_ReadTocRaw(FMOD_CDDA_DEVICE *device, FMOD_CDDA_TOC *toc [SEE_ALSO] ] */ +// OFFSET: 0x00917EF0 FMOD_RESULT FMOD_OS_CDDA_ReadToc(FMOD_CDDA_DEVICE *device, FMOD_CDDA_TOC *toc) { int num_tracks, i; @@ -1735,6 +1746,7 @@ FMOD_RESULT FMOD_OS_CDDA_ReadToc(FMOD_CDDA_DEVICE *device, FMOD_CDDA_TOC *toc) [SEE_ALSO] ] */ +// OFFSET: 0x009170C0 bool FMOD_CDDA_ScsiAbort(SRB_ExecSCSICmd *srb_to_abort, unsigned char adapter_id) { SRB_Abort srb; @@ -1770,6 +1782,7 @@ bool FMOD_CDDA_ScsiAbort(SRB_ExecSCSICmd *srb_to_abort, unsigned char adapter_id [SEE_ALSO] ] */ +// OFFSET: 0x00917100 int FMOD_CDDA_IssueScsiCmd_Internal(FMOD_CDDA_DEVICE *cdrom, int flags, unsigned char *cdb_data, int cdb_len, char *buf, int buflen, unsigned char adapter_id, unsigned char target_id, unsigned char lun_id) { SRB_ExecSCSICmd srb; @@ -1909,6 +1922,7 @@ int FMOD_CDDA_IssueScsiCmd(FMOD_CDDA_DEVICE *cdrom, int flags, unsigned char *cd [SEE_ALSO] ] */ +// OFFSET: 0x009180F0 FMOD_RESULT FMOD_CDDA_Close(FMOD_CDDA_DEVICE *cdrom) { if (!cdrom) @@ -1945,6 +1959,7 @@ FMOD_RESULT FMOD_CDDA_Close(FMOD_CDDA_DEVICE *cdrom) [SEE_ALSO] ] */ +// OFFSET: 0x009181F0 bool FMOD_CDDA_InquiryCommand(unsigned char adapter_id, unsigned char target_id, unsigned char lun_id) { int letter; @@ -2063,6 +2078,7 @@ bool FMOD_CDDA_InquiryCommand(unsigned char adapter_id, unsigned char target_id, [SEE_ALSO] ] */ +// OFFSET: 0x00917220 bool FMOD_OS_CDDA_TestUnitReady(FMOD_CDDA_DEVICE *device) { unsigned char cmd[6]; @@ -2139,6 +2155,7 @@ bool FMOD_CDDA_PreventMediaRemoval(FMOD_CDDA_DEVICE *cdrom, bool prevent) [SEE_ALSO] ] */ +// OFFSET: 0x00917280 FMOD_RESULT FMOD_OS_CDDA_SetSpeed(FMOD_CDDA_DEVICE *cdrom, int speed) { int cmd_size = 10; @@ -2195,6 +2212,7 @@ FMOD_RESULT FMOD_OS_CDDA_SetSpeed(FMOD_CDDA_DEVICE *cdrom, int speed) [SEE_ALSO] ] */ +// OFFSET: 0x00917320 int FMOD_CDDA_NTSCSI_GetNumAdapters() { int buf[256], i, num_adapters = 0; @@ -2236,6 +2254,7 @@ int FMOD_CDDA_NTSCSI_GetNumAdapters() [SEE_ALSO] ] */ +// OFFSET: 0x009173B0 HANDLE FMOD_CDDA_NTSCSI_GetFileHandle(int i) { char buf[12]; @@ -2293,6 +2312,7 @@ HANDLE FMOD_CDDA_NTSCSI_GetFileHandle(int i) [SEE_ALSO] ] */ +// OFFSET: 0x00917460 bool FMOD_CDDA_NTSCSI_GetDriveInformation(int i, FMOD_CDDA_NTSCSIDRIVE *drive) { SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER spt_dwb; @@ -2396,6 +2416,7 @@ bool FMOD_CDDA_NTSCSI_GetDriveInformation(int i, FMOD_CDDA_NTSCSIDRIVE *drive) [SEE_ALSO] ] */ +// OFFSET: 0x009175C0 FMOD_RESULT FMOD_CDDA_NTSCSI_Init() { char buf[4]; @@ -2482,6 +2503,7 @@ FMOD_RESULT FMOD_CDDA_NTSCSI_Init() [SEE_ALSO] ] */ +// OFFSET: 0x009176B0 bool FMOD_CDDA_NTSCSI_Shutdown() { int i; @@ -2520,6 +2542,7 @@ bool FMOD_CDDA_NTSCSI_Shutdown() [SEE_ALSO] ] */ +// OFFSET: 0x00917730 int FMOD_CDDA_NTSCSI_GetDeviceIndex(unsigned char ha, unsigned char tgt, unsigned char lun) { int i; @@ -2554,6 +2577,7 @@ int FMOD_CDDA_NTSCSI_GetDeviceIndex(unsigned char ha, unsigned char tgt, unsigne [SEE_ALSO] ] */ +// OFFSET: 0x00917770 DWORD FMOD_CDDA_NTSCSI_HAInquiry(SRB_HAInquiry *srb) { srb->HA_Count = FMOD_CDDA_NTSCSI_NumAdapters; @@ -2592,6 +2616,7 @@ DWORD FMOD_CDDA_NTSCSI_HAInquiry(SRB_HAInquiry *srb) [SEE_ALSO] ] */ +// OFFSET: 0x00917810 DWORD FMOD_CDDA_NTSCSI_GetDeviceType(SRB_GDEVBlock *srb) { srb->SRB_Status = SS_NO_DEVICE; @@ -2627,6 +2652,7 @@ DWORD FMOD_CDDA_NTSCSI_GetDeviceType(SRB_GDEVBlock *srb) [SEE_ALSO] ] */ +// OFFSET: 0x00917860 DWORD FMOD_CDDA_NTSCSI_ExecScsiCmd(SRB_ExecSCSICmd *srb, bool retrying) { SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER spt_dwb; @@ -2743,6 +2769,7 @@ DWORD FMOD_CDDA_NTSCSI_ExecScsiCmd(SRB_ExecSCSICmd *srb, bool retrying) [SEE_ALSO] ] */ +// OFFSET: 0x00917A20 DWORD FMOD_CDDA_NTSCSI_GetASPI32SupportInfo() { DWORD rc; @@ -2773,6 +2800,7 @@ DWORD FMOD_CDDA_NTSCSI_GetASPI32SupportInfo() [SEE_ALSO] ] */ +// OFFSET: 0x00917A40 DWORD FMOD_CDDA_NTSCSI_SendASPI32Command(SRB *srb) { if (!srb) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_misc.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_misc.cpp index f7049e9..15c22b6 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_misc.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_misc.cpp @@ -64,6 +64,7 @@ static void SetThreadName(DWORD dwThreadID, LPCSTR szThreadName) [SEE_ALSO] */ +// OFFSET: 0x008D1CB0 void *FMOD_OS_Memory_Alloc(int size, FMOD_MEMORY_TYPE type) { return malloc(size); @@ -82,6 +83,7 @@ void *FMOD_OS_Memory_Alloc(int size, FMOD_MEMORY_TYPE type) [SEE_ALSO] */ +// OFFSET: 0x008D1CC0 void *FMOD_OS_Memory_Realloc(void *ptr, int size, FMOD_MEMORY_TYPE type) { return realloc(ptr, size); @@ -100,6 +102,7 @@ void *FMOD_OS_Memory_Realloc(void *ptr, int size, FMOD_MEMORY_TYPE type) [SEE_ALSO] */ +// OFFSET: 0x004A9CE0 void FMOD_OS_Memory_Free(void *ptr, FMOD_MEMORY_TYPE type) { free(ptr); @@ -134,6 +137,7 @@ FMOD_RESULT FMOD_OS_File_DriveStatus() [SEE_ALSO] */ +// OFFSET: 0x008D1CD0 FMOD_RESULT FMOD_OS_File_Open(const char *name, char *mode, int unicode, unsigned int *filesize, void **handle) { if (unicode) @@ -174,6 +178,7 @@ FMOD_RESULT FMOD_OS_File_Open(const char *name, char *mode, int unicode, unsigne [SEE_ALSO] */ +// OFFSET: 0x008D1D50 FMOD_RESULT FMOD_OS_File_Close(void *handle) { if (handle == INVALID_HANDLE_VALUE) @@ -215,6 +220,7 @@ FMOD_RESULT FMOD_OS_File_Cancel(void *handle) [SEE_ALSO] */ +// OFFSET: 0x008D1D70 FMOD_RESULT FMOD_OS_File_Read(void *handle, void *buf, unsigned int count, unsigned int *read) { DWORD rd; @@ -248,6 +254,7 @@ FMOD_RESULT FMOD_OS_File_Read(void *handle, void *buf, unsigned int count, unsig [SEE_ALSO] */ +// OFFSET: 0x008D1DC0 FMOD_RESULT FMOD_OS_File_Seek(void *handle, unsigned int offset) { DWORD retval; @@ -295,6 +302,7 @@ FMOD_RESULT FMOD_OS_Debug_OutputStr(const char *s) [SEE_ALSO] */ +// OFFSET: 0x008D1DF0 FMOD_RESULT FMOD_OS_Time_GetNs(unsigned int *ns) { LARGE_INTEGER val,freq; @@ -329,6 +337,7 @@ FMOD_RESULT FMOD_OS_Time_GetNs(unsigned int *ns) [SEE_ALSO] */ +// OFFSET: 0x008D1E60 FMOD_RESULT FMOD_OS_Time_GetMs(unsigned int *ms) { *ms = timeGetTime(); @@ -348,6 +357,7 @@ FMOD_RESULT FMOD_OS_Time_GetMs(unsigned int *ms) [SEE_ALSO] */ +// OFFSET: 0x008D1E80 FMOD_RESULT FMOD_OS_Time_Sleep(unsigned int ms) { Sleep(ms); @@ -367,6 +377,7 @@ FMOD_RESULT FMOD_OS_Time_Sleep(unsigned int ms) [SEE_ALSO] */ +// OFFSET: 0x008D1EA0 FMOD_RESULT FMOD_OS_Thread_GetCurrentID(FMOD_UINT_NATIVE *id) { *id = GetCurrentThreadId(); @@ -387,6 +398,7 @@ FMOD_RESULT FMOD_OS_Thread_GetCurrentID(FMOD_UINT_NATIVE *id) [SEE_ALSO] */ +// OFFSET: 0x008D2110 FMOD_RESULT FMOD_OS_Thread_Create(const char *name, THREAD_RETURNTYPE (THREAD_CALLCONV *func)(void *param), void *param, FMOD_THREAD_PRIORITY priority, void *stack, int stacksize, void **handle) { HRESULT hr; @@ -444,6 +456,7 @@ FMOD_RESULT FMOD_OS_Thread_Create(const char *name, THREAD_RETURNTYPE (THREAD_CA [SEE_ALSO] */ +// OFFSET: 0x008D1EC0 FMOD_RESULT FMOD_OS_Thread_Destroy(void *handle) { CloseHandle(handle); @@ -465,6 +478,7 @@ CRITICAL_SECTION gMemoryCrit; [SEE_ALSO] */ +// OFFSET: 0x008D1EE0 FMOD_RESULT FMOD_OS_CriticalSection_Create(FMOD_OS_CRITICALSECTION **crit, bool memorycrit) { FMOD_RESULT result = FMOD_OK; @@ -503,6 +517,7 @@ FMOD_RESULT FMOD_OS_CriticalSection_Create(FMOD_OS_CRITICALSECTION **crit, bool [SEE_ALSO] */ +// OFFSET: 0x008D1F40 FMOD_RESULT FMOD_OS_CriticalSection_Free(FMOD_OS_CRITICALSECTION *crit, bool memorycrit) { if (!crit) @@ -534,6 +549,7 @@ FMOD_RESULT FMOD_OS_CriticalSection_Free(FMOD_OS_CRITICALSECTION *crit, bool mem [SEE_ALSO] */ +// OFFSET: 0x008D1F80 FMOD_RESULT FMOD_OS_CriticalSection_Enter(FMOD_OS_CRITICALSECTION *crit) { if (!crit) @@ -558,6 +574,7 @@ FMOD_RESULT FMOD_OS_CriticalSection_Enter(FMOD_OS_CRITICALSECTION *crit) [SEE_ALSO] */ +// OFFSET: 0x008D1FA0 FMOD_RESULT FMOD_OS_CriticalSection_Leave(FMOD_OS_CRITICALSECTION *crit) { if (!crit) @@ -582,6 +599,7 @@ FMOD_RESULT FMOD_OS_CriticalSection_Leave(FMOD_OS_CRITICALSECTION *crit) [SEE_ALSO] */ +// OFFSET: 0x008D1FC0 FMOD_RESULT FMOD_OS_Semaphore_Create(FMOD_OS_SEMAPHORE **sema) { if (!sema) @@ -614,6 +632,7 @@ FMOD_RESULT FMOD_OS_Semaphore_Create(FMOD_OS_SEMAPHORE **sema) [SEE_ALSO] */ +// OFFSET: 0x008D1FF0 FMOD_RESULT FMOD_OS_Semaphore_Free(FMOD_OS_SEMAPHORE *sema) { if (sema == INVALID_HANDLE_VALUE) @@ -642,6 +661,7 @@ FMOD_RESULT FMOD_OS_Semaphore_Free(FMOD_OS_SEMAPHORE *sema) [SEE_ALSO] */ +// OFFSET: 0x008D2010 FMOD_RESULT FMOD_OS_Semaphore_Wait(FMOD_OS_SEMAPHORE *sema) { if (sema == INVALID_HANDLE_VALUE) @@ -670,6 +690,7 @@ FMOD_RESULT FMOD_OS_Semaphore_Wait(FMOD_OS_SEMAPHORE *sema) [SEE_ALSO] */ +// OFFSET: 0x008D2030 FMOD_RESULT FMOD_OS_Semaphore_Signal(FMOD_OS_SEMAPHORE *sema, bool interrupt) { if (sema == INVALID_HANDLE_VALUE) @@ -698,6 +719,7 @@ FMOD_RESULT FMOD_OS_Semaphore_Signal(FMOD_OS_SEMAPHORE *sema, bool interrupt) [SEE_ALSO] */ +// OFFSET: 0x008D2060 FMOD_RESULT FMOD_OS_Library_Load(const char *dllname, FMOD_OS_LIBRARY **handle) { if (!dllname || !handle) @@ -728,6 +750,7 @@ FMOD_RESULT FMOD_OS_Library_Load(const char *dllname, FMOD_OS_LIBRARY **handle) [SEE_ALSO] */ +// OFFSET: 0x008D20A0 FMOD_RESULT FMOD_OS_Library_GetProcAddress(FMOD_OS_LIBRARY *handle, const char *procname, void **address) { if (!handle || !address) @@ -756,6 +779,7 @@ FMOD_RESULT FMOD_OS_Library_GetProcAddress(FMOD_OS_LIBRARY *handle, const char * [SEE_ALSO] */ +// OFFSET: 0x008D20E0 FMOD_RESULT FMOD_OS_Library_Free(FMOD_OS_LIBRARY *handle) { if (!handle) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_net.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_net.cpp index 1d59471..ba51bc7 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_net.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_net.cpp @@ -23,6 +23,7 @@ FMOD_OS_CRITICALSECTION *gResolveCrit = 0; [SEE_ALSO] */ +// OFFSET: 0x009266E0 FMOD_RESULT FMOD_OS_Net_Init() { FMOD_RESULT result; @@ -58,6 +59,7 @@ FMOD_RESULT FMOD_OS_Net_Init() [SEE_ALSO] */ +// OFFSET: 0x00926730 FMOD_RESULT FMOD_OS_Net_Shutdown() { if (FMOD_OS_Net_Init_Count > 0) @@ -87,6 +89,7 @@ FMOD_RESULT FMOD_OS_Net_Shutdown() [SEE_ALSO] */ +// OFFSET: 0x00926760 FMOD_RESULT FMOD_OS_Net_Connect(const char *host, const unsigned short port, void **handle) { struct sockaddr_in server; @@ -212,6 +215,7 @@ FMOD_RESULT FMOD_OS_Net_Connect(const char *host, const unsigned short port, voi [SEE_ALSO] */ +// OFFSET: 0x00926960 FMOD_RESULT FMOD_OS_Net_Listen(const unsigned short port, void **listenhandle) { SOCKET listensocket; @@ -266,6 +270,7 @@ FMOD_RESULT FMOD_OS_Net_Listen(const unsigned short port, void **listenhandle) [SEE_ALSO] */ +// OFFSET: 0x00926A00 FMOD_RESULT FMOD_OS_Net_Accept(const void *listenhandle, void **clienthandle) { SOCKET listensocket = (SOCKET)listenhandle; @@ -307,6 +312,7 @@ FMOD_RESULT FMOD_OS_Net_Accept(const void *listenhandle, void **clienthandle) [SEE_ALSO] */ +// OFFSET: 0x00926A50 FMOD_RESULT FMOD_OS_Net_Close(const void *handle) { SOCKET sock = (SOCKET)handle; @@ -331,6 +337,7 @@ FMOD_RESULT FMOD_OS_Net_Close(const void *handle) [SEE_ALSO] */ +// OFFSET: 0x00926A70 FMOD_RESULT FMOD_OS_Net_Write(const void *handle, const char *buf, const unsigned int len, unsigned int *byteswritten) { SOCKET sock = (SOCKET)handle; @@ -381,6 +388,7 @@ FMOD_RESULT FMOD_OS_Net_Write(const void *handle, const char *buf, const unsigne [SEE_ALSO] ] */ +// OFFSET: 0x00926AE0 FMOD_RESULT FMOD_OS_Net_Read(const void *handle, char *buf, const unsigned int len, unsigned int *bytesread) { SOCKET sock = (SOCKET)handle; @@ -446,6 +454,7 @@ FMOD_RESULT FMOD_OS_Net_Read(const void *handle, char *buf, const unsigned int l [SEE_ALSO] ] */ +// OFFSET: 0x00926B70 FMOD_RESULT FMOD_OS_Net_ReadLine(const void *handle, char *buf, const unsigned int len) { unsigned int pos, read; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_output.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_output.cpp index 9d639d9..e52cd29 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_output.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_os_output.cpp @@ -27,6 +27,7 @@ [SEE_ALSO] ] */ +// OFFSET: 0x00915FC0 FMOD_RESULT FMOD_OS_Output_Register(FMOD::PluginFactory *pluginfactory) { #ifdef FMOD_USE_PLUGINS @@ -76,6 +77,7 @@ FMOD_RESULT FMOD_OS_Output_Register(FMOD::PluginFactory *pluginfactory) [SEE_ALSO] ] */ +// OFFSET: 0x00916030 FMOD_RESULT FMOD_OS_Output_GetDefault(FMOD_OUTPUTTYPE *outputtype) { if (!outputtype) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_asio.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_asio.cpp index d0e5808..cb56ed8 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_asio.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_asio.cpp @@ -55,6 +55,7 @@ OutputASIO *gASIOObject = 0; [SEE_ALSO] ] */ +// OFFSET: 0x00937280 FMOD_OUTPUT_DESCRIPTION_EX *OutputASIO::getDescriptionEx() { FMOD_memset(&asiooutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -107,6 +108,7 @@ FMOD_OUTPUT_DESCRIPTION_EX *OutputASIO::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00936910 void OutputASIO::bufferSwitch(long index, ASIOBool processNow) { ASIOTime timeInfo; @@ -161,6 +163,7 @@ void OutputASIO::sampleRateDidChange(ASIOSampleRate sRate) [SEE_ALSO] ] */ +// OFFSET: 0x00935E20 long OutputASIO::asioMessage(long selector, long value, void* message, double* opt) { // currently the parameters "value", "message" and "opt" are not used. @@ -242,6 +245,7 @@ long OutputASIO::asioMessage(long selector, long value, void* message, double* o [SEE_ALSO] ] */ +// OFFSET: 0x00935E90 FMOD_RESULT OutputASIO::updateMixer(ASIOTime* params, long doubleBufferIndex, ASIOBool directProcess) { FMOD_RESULT result; @@ -629,6 +633,7 @@ FMOD_RESULT OutputASIO::updateMixer(ASIOTime* params, long doubleBufferIndex, AS [SEE_ALSO] ] */ +// OFFSET: 0x009363C0 ASIOTime * OutputASIO::bufferSwitchTimeInfo(ASIOTime* params, long doubleBufferIndex, ASIOBool directProcess) { #ifdef FMOD_SUPPORT_SOFTWARE @@ -656,6 +661,7 @@ ASIOTime * OutputASIO::bufferSwitchTimeInfo(ASIOTime* params, long doubleBufferI [SEE_ALSO] ] */ +// OFFSET: 0x009363E0 FMOD_RESULT OutputASIO::getNumDrivers(int *numdrivers) { /* @@ -695,6 +701,7 @@ FMOD_RESULT OutputASIO::getNumDrivers(int *numdrivers) [SEE_ALSO] ] */ +// OFFSET: 0x00936450 FMOD_RESULT OutputASIO::getDriverName(int driver, char *name, int namelen) { Plugin::init(); /* Set up gGlobal - for debug / file / memory access by this plugin. */ @@ -734,6 +741,7 @@ FMOD_RESULT OutputASIO::getDriverName(int driver, char *name, int namelen) [SEE_ALSO] ] */ +// OFFSET: 0x009364C0 FMOD_RESULT OutputASIO::getDriverCaps(int id, FMOD_CAPS *caps) { Plugin::init(); /* Set up gGlobal - for debug / file / memory access by this plugin. */ @@ -774,6 +782,7 @@ FMOD_RESULT OutputASIO::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x00936970 FMOD_RESULT OutputASIO::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { ASIODriverInfo asioinf; @@ -995,6 +1004,7 @@ FMOD_RESULT OutputASIO::init(int selecteddriver, FMOD_INITFLAGS flags, int *outp [SEE_ALSO] ] */ +// OFFSET: 0x00936530 FMOD_RESULT OutputASIO::close() { /* @@ -1154,6 +1164,7 @@ FMOD_RESULT OutputASIO::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00936630 FMOD_RESULT OutputASIO::recordGetNumDrivers(int *numdrivers) { if (!mHandle) @@ -1194,6 +1205,7 @@ FMOD_RESULT OutputASIO::recordGetNumDrivers(int *numdrivers) [SEE_ALSO] ] */ +// OFFSET: 0x009366A0 FMOD_RESULT OutputASIO::recordGetDriverInfo(int id, char *name, int namelen, FMOD_GUID *guid) { if (id < 0 || id >= 1) @@ -1235,6 +1247,7 @@ FMOD_RESULT OutputASIO::recordGetDriverInfo(int id, char *name, int namelen, FMO [SEE_ALSO] ] */ +// OFFSET: 0x00936F50 FMOD_RESULT OutputASIO::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *sound, bool loop) { SoundI *soundi; @@ -1349,6 +1362,7 @@ FMOD_RESULT OutputASIO::recordGetPosition(FMOD_RECORDING_INFO *recordinfo, unsig [SEE_ALSO] ] */ +// OFFSET: 0x00936FD0 FMOD_RESULT OutputASIO::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { FMOD_RESULT result; @@ -1448,6 +1462,7 @@ FMOD_RESULT OutputASIO::recordUnlock(FMOD_RECORDING_INFO *recordinfo, void *ptr1 [SEE_ALSO] ] */ +// OFFSET: 0x00936740 FMOD_RESULT F_CALLBACK OutputASIO::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputASIO *asio = (OutputASIO *)output; @@ -1473,6 +1488,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::getNumDriversCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x00936770 FMOD_RESULT F_CALLBACK OutputASIO::getDriverNameCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen) { OutputASIO *asio = (OutputASIO *)output; @@ -1498,6 +1514,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::getDriverNameCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x009367A0 FMOD_RESULT OutputASIO::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps) { OutputASIO *asio = (OutputASIO *)output; @@ -1523,6 +1540,7 @@ FMOD_RESULT OutputASIO::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id, [SEE_ALSO] ] */ +// OFFSET: 0x009371D0 FMOD_RESULT F_CALLBACK OutputASIO::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputASIO *asio = (OutputASIO *)output; @@ -1548,6 +1566,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::initCallback(FMOD_OUTPUT_STATE *output, int s [SEE_ALSO] ] */ +// OFFSET: 0x009367E0 FMOD_RESULT F_CALLBACK OutputASIO::closeCallback(FMOD_OUTPUT_STATE *output) { OutputASIO *asio = (OutputASIO *)output; @@ -1573,6 +1592,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::closeCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x00936810 FMOD_RESULT F_CALLBACK OutputASIO::startCallback(FMOD_OUTPUT_STATE *output) { OutputASIO *asio = (OutputASIO *)output; @@ -1623,6 +1643,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::stopCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x00936830 FMOD_RESULT F_CALLBACK OutputASIO::getHandleCallback(FMOD_OUTPUT_STATE *output, void **handle) { OutputASIO *asio = (OutputASIO *)output; @@ -1649,6 +1670,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::getHandleCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x00936870 FMOD_RESULT F_CALLBACK OutputASIO::recordGetNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputASIO *asio = (OutputASIO *)output; @@ -1674,6 +1696,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::recordGetNumDriversCallback(FMOD_OUTPUT_STATE [SEE_ALSO] ] */ +// OFFSET: 0x009368A0 FMOD_RESULT F_CALLBACK OutputASIO::recordGetDriverInfoCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen, FMOD_GUID *guid) { OutputASIO *asio = (OutputASIO *)output; @@ -1699,6 +1722,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::recordGetDriverInfoCallback(FMOD_OUTPUT_STATE [SEE_ALSO] ] */ +// OFFSET: 0x00937210 FMOD_RESULT F_CALLBACK OutputASIO::recordStartCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, FMOD_SOUND *sound, int loop) { OutputASIO *asio = (OutputASIO *)output; @@ -1749,6 +1773,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::recordStopCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x009368D0 FMOD_RESULT F_CALLBACK OutputASIO::recordGetPositionCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int *pcm) { OutputASIO *asio = (OutputASIO *)output; @@ -1774,6 +1799,7 @@ FMOD_RESULT F_CALLBACK OutputASIO::recordGetPositionCallback(FMOD_OUTPUT_STATE * [SEE_ALSO] ] */ +// OFFSET: 0x00937240 FMOD_RESULT F_CALLBACK OutputASIO::recordLockCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputASIO *asio = (OutputASIO *)output; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound.cpp index 907c7c3..a779bd5 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound.cpp @@ -84,6 +84,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0093CBD0 FMOD_OUTPUT_DESCRIPTION_EX *OutputDSound::getDescriptionEx() { FMOD_memset(&dsoundoutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -146,6 +147,7 @@ FMOD_OUTPUT_DESCRIPTION_EX *OutputDSound::getDescriptionEx() [SEE_ALSO] */ +// OFFSET: 0x0093AAE0 FMOD_RESULT OutputDSound::registerDLL() { char szPath[512]; @@ -249,6 +251,7 @@ FMOD_RESULT OutputDSound::registerDLL() [SEE_ALSO] */ +// OFFSET: 0x0093ACA0 BOOL CALLBACK FMOD_Output_DSound_EnumProc(LPGUID lpGUID, LPCWSTR lpszDesc, LPCWSTR lpszDrvName, LPVOID lpContext) { FMOD::OutputDSound *outputdsound = (FMOD::OutputDSound *)lpContext; @@ -301,6 +304,7 @@ BOOL CALLBACK FMOD_Output_DSound_EnumProc(LPGUID lpGUID, LPCWSTR lpszDesc, LPCWS [SEE_ALSO] ] */ +// OFFSET: 0x0093AD80 FMOD_RESULT OutputDSound::enumerate() { FMOD_RESULT result; @@ -500,6 +504,7 @@ FMOD_RESULT OutputDSound::getDriverInfoW(int driver, short *name, int namelen, F [SEE_ALSO] ] */ +// OFFSET: 0x0093BEA0 FMOD_RESULT OutputDSound::getDriverCapsEx(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode, int *num2dchannels, int *num3dchannels, int *totalchannels) { FMOD_RESULT result; @@ -785,6 +790,7 @@ FMOD_RESULT OutputDSound::getDriverCapsEx(int id, FMOD_CAPS *caps, int *minfrequ [SEE_ALSO] ] */ +// OFFSET: 0x0093C180 FMOD_RESULT OutputDSound::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, FMOD_SPEAKERMODE *speakermode, int dspbufferlength, int dspnumbuffers, int max2dchannels, int max3dchannels, void *extradriverdata) { FMOD_RESULT result; @@ -1324,6 +1330,7 @@ FMOD_RESULT OutputDSound::init(int selecteddriver, FMOD_INITFLAGS flags, int *ou [SEE_ALSO] ] */ +// OFFSET: 0x0093AE60 FMOD_RESULT OutputDSound::close() { int count; @@ -1506,6 +1513,7 @@ FMOD_RESULT OutputDSound::getHandle(void **handle) [SEE_ALSO] ] */ +// OFFSET: 0x0093B020 FMOD_RESULT OutputDSound::update() { HRESULT hr; @@ -1666,6 +1674,7 @@ FMOD_RESULT OutputDSound::update() [SEE_ALSO] ] */ +// OFFSET: 0x0093B2C0 FMOD_RESULT OutputDSound::createSample(FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample) { WAVE_FORMATEXTENSIBLE pcmwf; @@ -2139,6 +2148,7 @@ FMOD_RESULT OutputDSound::getReverbProperties(FMOD_REVERB_PROPERTIES *prop) [SEE_ALSO] ] */ +// OFFSET: 0x0093B8D0 FMOD_RESULT OutputDSound::start() { FMOD_RESULT result; @@ -2295,6 +2305,7 @@ FMOD_RESULT OutputDSound::stop() [SEE_ALSO] ] */ +// OFFSET: 0x0093C7F0 FMOD_RESULT OutputDSound::getPosition(unsigned int *pcm) { SampleDSound *sample; @@ -2569,6 +2580,7 @@ FMOD_RESULT OutputDSound::getMemoryUsedImpl(MemoryTracker *tracker) [SEE_ALSO] ] */ +// OFFSET: 0x0093B9F0 FMOD_RESULT F_CALLBACK OutputDSound::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputDSound *dsound = (OutputDSound *)output; @@ -2644,6 +2656,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::getDriverInfoWCallback(FMOD_OUTPUT_STATE *o [SEE_ALSO] ] */ +// OFFSET: 0x0093CB10 FMOD_RESULT OutputDSound::getDriverCapsExCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode, int *num2dchannels, int *num3dchannels, int *totalchannels) { OutputDSound *dsound = (OutputDSound *)output; @@ -2669,6 +2682,7 @@ FMOD_RESULT OutputDSound::getDriverCapsExCallback(FMOD_OUTPUT_STATE *output, int [SEE_ALSO] ] */ +// OFFSET: 0x0093CB50 FMOD_RESULT F_CALLBACK OutputDSound::initExCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, FMOD_SPEAKERMODE *speakermode, int dspbufferlength, int dspnumbuffers, int max2dchannels, int max3dchannels, void *extradriverdata) { OutputDSound *dsound = (OutputDSound *)output; @@ -2694,6 +2708,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::initExCallback(FMOD_OUTPUT_STATE *output, i [SEE_ALSO] ] */ +// OFFSET: 0x0093BA60 FMOD_RESULT F_CALLBACK OutputDSound::closeCallback(FMOD_OUTPUT_STATE *output) { OutputDSound *dsound = (OutputDSound *)output; @@ -2719,6 +2734,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::closeCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093BA90 FMOD_RESULT F_CALLBACK OutputDSound::startCallback(FMOD_OUTPUT_STATE *output) { OutputDSound *dsound = (OutputDSound *)output; @@ -2744,6 +2760,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::startCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093BAC0 FMOD_RESULT F_CALLBACK OutputDSound::stopCallback(FMOD_OUTPUT_STATE *output) { OutputDSound *dsound = (OutputDSound *)output; @@ -2769,6 +2786,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::stopCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093BB20 FMOD_RESULT F_CALLBACK OutputDSound::updateCallback(FMOD_OUTPUT_STATE *output) { OutputDSound *dsound = (OutputDSound *)output; @@ -2794,6 +2812,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::updateCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093BB50 FMOD_RESULT F_CALLBACK OutputDSound::getHandleCallback(FMOD_OUTPUT_STATE *output, void **handle) { OutputDSound *dsound = (OutputDSound *)output; @@ -2819,6 +2838,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::getHandleCallback(FMOD_OUTPUT_STATE *output [SEE_ALSO] ] */ +// OFFSET: 0x0093CBA0 FMOD_RESULT F_CALLBACK OutputDSound::getPositionCallback(FMOD_OUTPUT_STATE *output, unsigned int *pcm) { OutputDSound *dsound = (OutputDSound *)output; @@ -2844,6 +2864,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::getPositionCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x0093BB80 FMOD_RESULT F_CALLBACK OutputDSound::lockCallback(FMOD_OUTPUT_STATE *output, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputDSound *dsound = (OutputDSound *)output; @@ -2869,6 +2890,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::lockCallback(FMOD_OUTPUT_STATE *output, uns [SEE_ALSO] ] */ +// OFFSET: 0x0093BBD0 FMOD_RESULT F_CALLBACK OutputDSound::unlockCallback(FMOD_OUTPUT_STATE *output, void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { OutputDSound *dsound = (OutputDSound *)output; @@ -2894,6 +2916,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::unlockCallback(FMOD_OUTPUT_STATE *output, v [SEE_ALSO] ] */ +// OFFSET: 0x0093BC20 FMOD_RESULT F_CALLBACK OutputDSound::createSampleCallback(FMOD_OUTPUT_STATE *output, FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample) { OutputDSound *dsound = (OutputDSound *)output; @@ -2919,6 +2942,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::createSampleCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x0093BC50 FMOD_RESULT F_CALLBACK OutputDSound::getSoundRAMCallback(FMOD_OUTPUT_STATE *output, int *currentalloced, int *maxalloced, int *total) { OutputDSound *dsound = (OutputDSound *)output; @@ -2945,6 +2969,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::getSoundRAMCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x0093BCA0 FMOD_RESULT F_CALLBACK OutputDSound::recordGetNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputDSound *dsound = (OutputDSound *)output; @@ -2970,6 +2995,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordGetNumDriversCallback(FMOD_OUTPUT_STA [SEE_ALSO] ] */ +// OFFSET: 0x0093BCD0 FMOD_RESULT F_CALLBACK OutputDSound::recordGetDriverInfoCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen, FMOD_GUID *guid) { OutputDSound *dsound = (OutputDSound *)output; @@ -3020,6 +3046,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordGetDriverInfoWCallback(FMOD_OUTPUT_ST [SEE_ALSO] ] */ +// OFFSET: 0x0093BD00 FMOD_RESULT F_CALLBACK OutputDSound::recordStartCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, FMOD_SOUND *sound, int loop) { OutputDSound *dsound = (OutputDSound *)output; @@ -3045,6 +3072,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordStartCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x0093BD30 FMOD_RESULT F_CALLBACK OutputDSound::recordStopCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo) { OutputDSound *dsound = (OutputDSound *)output; @@ -3070,6 +3098,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordStopCallback(FMOD_OUTPUT_STATE *outpu [SEE_ALSO] ] */ +// OFFSET: 0x0093BD60 FMOD_RESULT F_CALLBACK OutputDSound::recordGetPositionCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int *pcm) { OutputDSound *dsound = (OutputDSound *)output; @@ -3095,6 +3124,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordGetPositionCallback(FMOD_OUTPUT_STATE [SEE_ALSO] ] */ +// OFFSET: 0x0093BD90 FMOD_RESULT F_CALLBACK OutputDSound::recordLockCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputDSound *dsound = (OutputDSound *)output; @@ -3120,6 +3150,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordLockCallback(FMOD_OUTPUT_STATE *outpu [SEE_ALSO] ] */ +// OFFSET: 0x0093BDD0 FMOD_RESULT F_CALLBACK OutputDSound::recordUnlockCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { OutputDSound *dsound = (OutputDSound *)output; @@ -3146,6 +3177,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::recordUnlockCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x0093BE00 FMOD_RESULT F_CALLBACK OutputDSound::setReverbPropertiesCallback(FMOD_OUTPUT_STATE *output, const FMOD_REVERB_PROPERTIES *prop) { OutputDSound *dsound = (OutputDSound *)output; @@ -3171,6 +3203,7 @@ FMOD_RESULT F_CALLBACK OutputDSound::setReverbPropertiesCallback(FMOD_OUTPUT_STA [SEE_ALSO] ] */ +// OFFSET: 0x0093BE50 int F_CALLBACK OutputDSound::getSampleMaxChannelsCallback(FMOD_OUTPUT_STATE *output, FMOD_MODE mode, FMOD_SOUND_FORMAT format) { OutputDSound *dsound = (OutputDSound *)output; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax2.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax2.cpp index 25c3a7f..1ce811d 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax2.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax2.cpp @@ -25,6 +25,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x00950C50 bool OutputDSound::querySupportEAX2(unsigned int ulQuery) { unsigned long ulSupport = 0; @@ -70,6 +71,7 @@ bool OutputDSound::querySupportEAX2(unsigned int ulQuery) [SEE_ALSO] ] */ +// OFFSET: 0x00950CD0 bool OutputDSound::initEAX2() { FMOD_RESULT result; @@ -175,6 +177,7 @@ bool OutputDSound::initEAX2() [SEE_ALSO] ] */ +// OFFSET: 0x00950F20 FMOD_RESULT OutputDSound::closeEAX2() { if (mBufferReverb) @@ -219,6 +222,7 @@ FMOD_RESULT OutputDSound::closeEAX2() [SEE_ALSO] ] */ +// OFFSET: 0x00950FC0 FMOD_RESULT OutputDSound::setPropertiesEAX2(const FMOD_REVERB_PROPERTIES *prop) { if (!prop) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax3.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax3.cpp index f0cc05c..4684c0e 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax3.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax3.cpp @@ -26,6 +26,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x009506C0 bool OutputDSound::querySupportEAX3(unsigned int ulQuery) { unsigned long ulSupport = 0; @@ -71,6 +72,7 @@ bool OutputDSound::querySupportEAX3(unsigned int ulQuery) [SEE_ALSO] ] */ +// OFFSET: 0x00950740 bool OutputDSound::initEAX3() { FMOD_RESULT result; @@ -187,6 +189,7 @@ bool OutputDSound::initEAX3() [SEE_ALSO] ] */ +// OFFSET: 0x00950A50 FMOD_RESULT OutputDSound::closeEAX3() { if (mBufferReverb) @@ -231,6 +234,7 @@ FMOD_RESULT OutputDSound::closeEAX3() [SEE_ALSO] ] */ +// OFFSET: 0x00950AF0 FMOD_RESULT OutputDSound::setPropertiesEAX3(const FMOD_REVERB_PROPERTIES *prop) { if (!prop) diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax4.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax4.cpp index bec8c3f..2296a93 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax4.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_eax4.cpp @@ -31,6 +31,7 @@ bool gFXslot3set = false; [SEE_ALSO] ] */ +// OFFSET: 0x0094FEB0 bool OutputDSound::querySupportEAX4(FMOD_GUID guid, unsigned long ulProperty) { HRESULT hr; @@ -74,6 +75,7 @@ bool OutputDSound::querySupportEAX4(FMOD_GUID guid, unsigned long ulProperty) [SEE_ALSO] ] */ +// OFFSET: 0x0094FF10 bool OutputDSound::initEAX4() { FMOD_RESULT result; @@ -182,6 +184,7 @@ bool OutputDSound::initEAX4() [SEE_ALSO] ] */ +// OFFSET: 0x009501A0 FMOD_RESULT OutputDSound::closeEAX4() { GUID guid; @@ -225,6 +228,7 @@ FMOD_RESULT OutputDSound::closeEAX4() [SEE_ALSO] ] */ +// OFFSET: 0x00950280 FMOD_RESULT OutputDSound::setPropertiesEAX4(const FMOD_REVERB_PROPERTIES *prop) { HRESULT hr; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_record.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_record.cpp index 0b4c3ae..61efcff 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_record.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_dsound_record.cpp @@ -42,6 +42,7 @@ static const FMOD_GUID KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = { 0x00000003, 0x00 [SEE_ALSO] ] */ +// OFFSET: 0x009512C0 BOOL CALLBACK FMOD_Output_DSound_RecordEnumProc(LPGUID lpGUID, LPCWSTR lpszDesc, LPCWSTR lpszDrvName, LPVOID lpContext) { FMOD::OutputDSound *outputdsound = (FMOD::OutputDSound *)lpContext; @@ -94,6 +95,7 @@ BOOL CALLBACK FMOD_Output_DSound_RecordEnumProc(LPGUID lpGUID, LPCWSTR lpszDesc, [SEE_ALSO] ] */ +// OFFSET: 0x009513A0 FMOD_RESULT OutputDSound::recordEnumerate() { FMOD_RESULT result; @@ -147,6 +149,7 @@ FMOD_RESULT OutputDSound::recordEnumerate() [SEE_ALSO] ] */ +// OFFSET: 0x00951420 FMOD_RESULT OutputDSound::recordGetNumDrivers(int *numdrivers) { if (!numdrivers) @@ -188,6 +191,7 @@ FMOD_RESULT OutputDSound::recordGetNumDrivers(int *numdrivers) [SEE_ALSO] ] */ +// OFFSET: 0x00951450 FMOD_RESULT OutputDSound::recordGetDriverInfo(int id, char *name, int namelen, FMOD_GUID *guid) { if (!mRecordEnumerated) @@ -291,6 +295,7 @@ FMOD_RESULT OutputDSound::recordGetDriverInfoW(int id, short *name, int namelen, [SEE_ALSO] ] */ +// OFFSET: 0x009514B0 FMOD_RESULT OutputDSound::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *sound, bool loop) { FMOD_RESULT result; @@ -395,6 +400,7 @@ FMOD_RESULT OutputDSound::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *so [SEE_ALSO] ] */ +// OFFSET: 0x00951690 FMOD_RESULT OutputDSound::recordStop(FMOD_RECORDING_INFO *recordinfo) { FMOD_DSoundRecordMembers *recordMembers = (FMOD_DSoundRecordMembers *)recordinfo->mRecordPlatformSpecific; @@ -439,6 +445,7 @@ FMOD_RESULT OutputDSound::recordStop(FMOD_RECORDING_INFO *recordinfo) [SEE_ALSO] ] */ +// OFFSET: 0x009516E0 FMOD_RESULT OutputDSound::recordGetPosition(FMOD_RECORDING_INFO *recordinfo, unsigned int *pcm) { FMOD_RESULT result; @@ -507,6 +514,7 @@ FMOD_RESULT OutputDSound::recordGetPosition(FMOD_RECORDING_INFO *recordinfo, uns [SEE_ALSO] ] */ +// OFFSET: 0x00951780 FMOD_RESULT OutputDSound::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { FMOD_DSoundRecordMembers *recordMembers = (FMOD_DSoundRecordMembers *)recordinfo->mRecordPlatformSpecific; @@ -533,6 +541,7 @@ FMOD_RESULT OutputDSound::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned i [SEE_ALSO] ] */ +// OFFSET: 0x009517C0 FMOD_RESULT OutputDSound::recordUnlock(FMOD_RECORDING_INFO *recordinfo, void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { FMOD_DSoundRecordMembers *recordMembers = (FMOD_DSoundRecordMembers *)recordinfo->mRecordPlatformSpecific; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal.cpp index e36fae2..9147bd5 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal.cpp @@ -65,6 +65,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0092C160 FMOD_OUTPUT_DESCRIPTION_EX *OutputOpenAL::getDescriptionEx() { openaloutput.name = "FMOD OpenAL Output"; @@ -112,6 +113,7 @@ FMOD_OUTPUT_DESCRIPTION_EX *OutputOpenAL::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x0092B6D0 OutputOpenAL::OutputOpenAL() { mDLLInitialised = false; @@ -176,6 +178,7 @@ FMOD_RESULT OutputOpenAL::registerDLL() [SEE_ALSO] ] */ +// OFFSET: 0x0092A340 FMOD_RESULT OutputOpenAL::enumerate() { FMOD_RESULT result = FMOD_OK; @@ -370,6 +373,7 @@ FMOD_RESULT OutputOpenAL::getNumDrivers(int *numdrivers) [SEE_ALSO] ] */ +// OFFSET: 0x0092A610 FMOD_RESULT OutputOpenAL::getDriverName(int driver, char *name, int namelen) { if (!mEnumerated) @@ -416,6 +420,7 @@ FMOD_RESULT OutputOpenAL::getDriverName(int driver, char *name, int namelen) [SEE_ALSO] ] */ +// OFFSET: 0x0092A670 FMOD_RESULT OutputOpenAL::getDriverCapsEx(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode, int *num2dchannels, int *num3dchannels, int *totalchannels) { ALCdevice *device = NULL; @@ -544,6 +549,7 @@ FMOD_RESULT OutputOpenAL::getDriverCapsEx(int id, FMOD_CAPS *caps, int *minfrequ [SEE_ALSO] ] */ +// OFFSET: 0x0092A890 FMOD_RESULT OutputOpenAL::initEAX() { #ifdef FMOD_SUPPORT_EAX @@ -633,6 +639,7 @@ FMOD_RESULT OutputOpenAL::initEAX() [SEE_ALSO] ] */ +// OFFSET: 0x0092B700 FMOD_RESULT OutputOpenAL::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { FMOD_RESULT result = FMOD_OK; @@ -947,6 +954,7 @@ FMOD_RESULT OutputOpenAL::init(int selecteddriver, FMOD_INITFLAGS flags, int *ou [SEE_ALSO] ] */ +// OFFSET: 0x0092A9B0 FMOD_RESULT OutputOpenAL::close() { /* @@ -1031,6 +1039,7 @@ FMOD_RESULT OutputOpenAL::close() [SEE_ALSO] ] */ +// OFFSET: 0x0092ABA0 FMOD_RESULT OutputOpenAL::start() { FMOD_RESULT result = FMOD_OK; @@ -1089,6 +1098,7 @@ FMOD_RESULT OutputOpenAL::start() [SEE_ALSO] ] */ +// OFFSET: 0x0092AD20 FMOD_RESULT OutputOpenAL::stop() { FMOD_RESULT result = FMOD_OK; @@ -1166,6 +1176,7 @@ FMOD_RESULT OutputOpenAL::getHandle(void **handle) [SEE_ALSO] ] */ +// OFFSET: 0x0092ADB0 FMOD_RESULT OutputOpenAL::update() { FMOD_RESULT result = FMOD_OK; @@ -1317,6 +1328,7 @@ FMOD_RESULT OutputOpenAL::update() [SEE_ALSO] ] */ +// OFFSET: 0x0092B060 FMOD_RESULT OutputOpenAL::postMix() { FMOD_RESULT result = FMOD_OK; @@ -1374,6 +1386,7 @@ FMOD_RESULT OutputOpenAL::postMix() [SEE_ALSO] ] */ +// OFFSET: 0x0092B0E0 FMOD_RESULT OutputOpenAL::getPosition(unsigned int *pcm) { if (pcm == NULL) @@ -1450,6 +1463,7 @@ FMOD_RESULT OutputOpenAL::lock(unsigned int offset, unsigned int length, void ** [SEE_ALSO] ] */ +// OFFSET: 0x0092B180 FMOD_RESULT OutputOpenAL::unlock(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { ALuint bufferId = 0; @@ -1509,6 +1523,7 @@ FMOD_RESULT OutputOpenAL::unlock(void *ptr1, void *ptr2, unsigned int len1, unsi [SEE_ALSO] ] */ +// OFFSET: 0x0092BD30 FMOD_RESULT OutputOpenAL::createSample(FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample) { FMOD_RESULT result = FMOD_OK; @@ -1733,6 +1748,7 @@ int OutputOpenAL::getSampleMaxChannels(FMOD_MODE mode, FMOD_SOUND_FORMAT format) [SEE_ALSO] ] */ +// OFFSET: 0x0092B2C0 FMOD_RESULT OutputOpenAL::getFreeChannel(FMOD_MODE mode, ChannelReal **realchannel, int numchannels, int numsoundchannels, int *found) { FMOD_RESULT result = FMOD_OK; @@ -1837,6 +1853,7 @@ FMOD_RESULT OutputOpenAL::getFreeChannel(FMOD_MODE mode, ChannelReal **realchann [SEE_ALSO] ] */ +// OFFSET: 0x0092B3F0 FMOD_RESULT F_CALLBACK OutputOpenAL::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1862,6 +1879,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::getNumDriversCallback(FMOD_OUTPUT_STATE *ou [SEE_ALSO] ] */ +// OFFSET: 0x0092B430 FMOD_RESULT F_CALLBACK OutputOpenAL::getDriverNameCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1887,6 +1905,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::getDriverNameCallback(FMOD_OUTPUT_STATE *ou [SEE_ALSO] ] */ +// OFFSET: 0x0092B460 FMOD_RESULT OutputOpenAL::getDriverCapsExCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode, int *num2dchannels, int *num3dchannels, int *totalchannels) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1912,6 +1931,7 @@ FMOD_RESULT OutputOpenAL::getDriverCapsExCallback(FMOD_OUTPUT_STATE *output, int [SEE_ALSO] ] */ +// OFFSET: 0x0092C0F0 FMOD_RESULT F_CALLBACK OutputOpenAL::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1937,6 +1957,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::initCallback(FMOD_OUTPUT_STATE *output, int [SEE_ALSO] ] */ +// OFFSET: 0x0092B4A0 FMOD_RESULT F_CALLBACK OutputOpenAL::closeCallback(FMOD_OUTPUT_STATE *output) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1962,6 +1983,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::closeCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0092B4D0 FMOD_RESULT F_CALLBACK OutputOpenAL::startCallback(FMOD_OUTPUT_STATE *output) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -1987,6 +2009,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::startCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0092B500 FMOD_RESULT F_CALLBACK OutputOpenAL::stopCallback(FMOD_OUTPUT_STATE *output) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2012,6 +2035,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::stopCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0092B530 FMOD_RESULT F_CALLBACK OutputOpenAL::updateCallback(FMOD_OUTPUT_STATE *output) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2062,6 +2086,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::getHandleCallback(FMOD_OUTPUT_STATE *output [SEE_ALSO] ] */ +// OFFSET: 0x0092B560 FMOD_RESULT F_CALLBACK OutputOpenAL::getPositionCallback(FMOD_OUTPUT_STATE *output, unsigned int *pcm) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2087,6 +2112,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::getPositionCallback(FMOD_OUTPUT_STATE *outp [SEE_ALSO] ] */ +// OFFSET: 0x0092B590 FMOD_RESULT F_CALLBACK OutputOpenAL::lockCallback(FMOD_OUTPUT_STATE *output, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2112,6 +2138,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::lockCallback(FMOD_OUTPUT_STATE *output, uns [SEE_ALSO] ] */ +// OFFSET: 0x0092B5E0 FMOD_RESULT F_CALLBACK OutputOpenAL::unlockCallback(FMOD_OUTPUT_STATE *output, void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2137,6 +2164,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::unlockCallback(FMOD_OUTPUT_STATE *output, v [SEE_ALSO] ] */ +// OFFSET: 0x0092C130 FMOD_RESULT F_CALLBACK OutputOpenAL::createSampleCallback(FMOD_OUTPUT_STATE *output, FMOD_MODE mode, FMOD_CODEC_WAVEFORMAT *waveformat, Sample **sample) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2162,6 +2190,7 @@ FMOD_RESULT F_CALLBACK OutputOpenAL::createSampleCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x0092B610 FMOD_RESULT F_CALLBACK OutputOpenAL::setReverbPropertiesCallback(FMOD_OUTPUT_STATE *output, const FMOD_REVERB_PROPERTIES *prop) { OutputOpenAL *openal = (OutputOpenAL *)output; @@ -2212,6 +2241,7 @@ int F_CALLBACK OutputOpenAL::getSampleMaxChannelsCallback(FMOD_OUTPUT_STATE *out [SEE_ALSO] ] */ +// OFFSET: 0x0092B680 FMOD_RESULT F_CALLBACK OutputOpenAL::postMixCallback(FMOD_OUTPUT_STATE *output) { OutputOpenAL *openal = (OutputOpenAL *)output; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax2.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax2.cpp index 91db828..327b486 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax2.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax2.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094AD70 FMOD_RESULT OutputOpenAL::setPropertiesEAX2(const FMOD_REVERB_PROPERTIES *prop) { GUID bufferGUID; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax3.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax3.cpp index 497be52..136ca39 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax3.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax3.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094AEF0 FMOD_RESULT OutputOpenAL::setPropertiesEAX3(const FMOD_REVERB_PROPERTIES *prop) { GUID bufferGUID; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax4.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax4.cpp index e8ef5c0..7b85e72 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax4.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax4.cpp @@ -30,6 +30,7 @@ bool gEAX4LockedOALFxSlot3 = false; [SEE_ALSO] ] */ +// OFFSET: 0x0094B0E0 FMOD_RESULT OutputOpenAL::lockSlotEAX4(GUID &slotGUID) { int slotIsLocked; @@ -102,6 +103,7 @@ FMOD_RESULT OutputOpenAL::lockSlotEAX4(GUID &slotGUID) [SEE_ALSO] ] */ +// OFFSET: 0x0094B250 FMOD_RESULT OutputOpenAL::setPropertiesEAX4(const FMOD_REVERB_PROPERTIES *prop) { GUID slotGUID; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax5.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax5.cpp index d85f467..75bafd1 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax5.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_openal_eax5.cpp @@ -33,6 +33,7 @@ bool gEAX5LockedOALFxSlot3 = false; [SEE_ALSO] ] */ +// OFFSET: 0x0094A100 FMOD_RESULT OutputOpenAL::setupSessionEAX5() { GUID guid; @@ -73,6 +74,7 @@ FMOD_RESULT OutputOpenAL::setupSessionEAX5() [SEE_ALSO] ] */ +// OFFSET: 0x0094A170 FMOD_RESULT OutputOpenAL::getSpeakerModeEAX5(FMOD_SPEAKERMODE *speakerMode) { EAXGet eaxGet = NULL; @@ -165,6 +167,7 @@ FMOD_RESULT OutputOpenAL::getSpeakerModeEAX5(FMOD_SPEAKERMODE *speakerMode) [SEE_ALSO] ] */ +// OFFSET: 0x0094A2C0 FMOD_RESULT OutputOpenAL::lockSlotEAX5(GUID &slotGUID) { int slotIsLocked; @@ -237,6 +240,7 @@ FMOD_RESULT OutputOpenAL::lockSlotEAX5(GUID &slotGUID) [SEE_ALSO] ] */ +// OFFSET: 0x0094A440 FMOD_RESULT OutputOpenAL::setPropertiesEAX5(const FMOD_REVERB_PROPERTIES *prop) { GUID slotGUID; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_timer.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_timer.cpp index d29dd9c..0b70483 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_timer.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_timer.cpp @@ -35,6 +35,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094A7C0 FMOD_RESULT OutputTimer::timerFunc() { FMOD_RESULT result = FMOD_OK; @@ -191,6 +192,7 @@ FMOD_RESULT OutputTimer::timerFunc() [SEE_ALSO] ] */ +// OFFSET: 0x0094AC80 FMOD_RESULT OutputTimer::start() { FMOD_RESULT result = FMOD_OK; @@ -269,6 +271,7 @@ FMOD_RESULT OutputTimer::start() [SEE_ALSO] ] */ +// OFFSET: 0x0094A760 FMOD_RESULT OutputTimer::stop() { FMOD_RESULT fResult = FMOD_OK; @@ -315,6 +318,7 @@ FMOD_RESULT OutputTimer::stop() [SEE_ALSO] ] */ +// OFFSET: 0x0094AC40 void CALLBACK OutputTimer::timerFuncCallback(UINT uTimerID, UINT uMsg, UINT_PTR dwUser, UINT_PTR dw1, UINT_PTR dw2) { OutputTimer *outputTimer = (OutputTimer *)dwUser; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_wasapi.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_wasapi.cpp index 9d44ee8..76db972 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_wasapi.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_wasapi.cpp @@ -66,6 +66,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x009394E0 FMOD_OUTPUT_DESCRIPTION_EX *OutputWASAPI::getDescriptionEx() { FMOD_memset(&wasapioutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -123,6 +124,7 @@ FMOD_OUTPUT_DESCRIPTION_EX *OutputWASAPI::getDescriptionEx() [SEE_ALSO] ] */ +// OFFSET: 0x00937370 FMOD_RESULT OutputWASAPI::enumerateDefaultDevices(IMMDeviceEnumerator *pEnumerator) { HRESULT hResult = S_OK; @@ -234,6 +236,7 @@ Exit: [SEE_ALSO] ] */ +// OFFSET: 0x009376C0 FMOD_RESULT OutputWASAPI::enumerate() { HRESULT hResult = S_OK; @@ -618,6 +621,7 @@ FMOD_RESULT OutputWASAPI::getDriverInfoW(int driver, short *name, int namelen, F [SEE_ALSO] ] */ +// OFFSET: 0x00937BE0 FMOD_RESULT OutputWASAPI::getDriverCapsEx(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode) { FMOD_RESULT fResult = FMOD_OK; @@ -719,6 +723,7 @@ Exit: [SEE_ALSO] ] */ +// OFFSET: 0x00937D60 FMOD_RESULT OutputWASAPI::initEx(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, FMOD_SPEAKERMODE *speakermode, int dspbufferlength, int dspnumbuffers, int max2dchannels, int max3dchannels, void *extradriverdata) { FMOD_RESULT fResult = FMOD_OK; @@ -999,6 +1004,7 @@ Exit: [SEE_ALSO] ] */ +// OFFSET: 0x009381B0 FMOD_RESULT OutputWASAPI::close() { Plugin::init(); /* Set up gGlobal - for debug / file / memory access by this plugin. */ @@ -1715,6 +1721,7 @@ FMOD_RESULT OutputWASAPI::recordGetNumDrivers(int *numdrivers) [SEE_ALSO] ] */ +// OFFSET: 0x00938640 FMOD_RESULT OutputWASAPI::recordGetDriverInfo(int id, char *name, int namelen, FMOD_GUID *guid) { if (!mEnumerated) @@ -1824,6 +1831,7 @@ FMOD_RESULT OutputWASAPI::recordGetDriverInfoW(int id, short *name, int namelen, [SEE_ALSO] ] */ +// OFFSET: 0x009386A0 FMOD_RESULT OutputWASAPI::recordGetDriverCaps(int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency) { FMOD_RESULT fResult = FMOD_OK; @@ -1907,6 +1915,7 @@ Exit: [SEE_ALSO] ] */ +// OFFSET: 0x009387C0 FMOD_RESULT OutputWASAPI::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *sound, bool loop) { FMOD_RESULT fResult = FMOD_OK; @@ -2087,6 +2096,7 @@ Exit: [SEE_ALSO] ] */ +// OFFSET: 0x00938C60 FMOD_RESULT OutputWASAPI::recordStop(FMOD_RECORDING_INFO *recordinfo) { FMOD_RESULT fResult = FMOD_OK; @@ -2142,6 +2152,7 @@ FMOD_RESULT OutputWASAPI::recordStop(FMOD_RECORDING_INFO *recordinfo) [SEE_ALSO] ] */ +// OFFSET: 0x00938440 FMOD_RESULT OutputWASAPI::recordUpdate() { FMOD_RESULT fResult = FMOD_OK; @@ -2350,6 +2361,7 @@ FMOD_RESULT OutputWASAPI::recordGetPosition(FMOD_RECORDING_INFO *recordinfo, uns [SEE_ALSO] ] */ +// OFFSET: 0x00938D10 FMOD_RESULT OutputWASAPI::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { FMOD_WASAPIRecordMembers *recordMembers = (FMOD_WASAPIRecordMembers *)recordinfo->mRecordPlatformSpecific; @@ -2460,6 +2472,7 @@ FMOD_RESULT OutputWASAPI::getMemoryUsedImpl(MemoryTracker *tracker) ============================================================================================================== */ +// OFFSET: 0x00938DD0 FMOD_RESULT F_CALLBACK OutputWASAPI::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2484,6 +2497,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::getDriverInfoWCallback(FMOD_OUTPUT_STATE *o } +// OFFSET: 0x00938E40 FMOD_RESULT F_CALLBACK OutputWASAPI::getDriverCapsExCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency, FMOD_SPEAKERMODE *controlpanelspeakermode) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2492,6 +2506,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::getDriverCapsExCallback(FMOD_OUTPUT_STATE * } +// OFFSET: 0x00938E70 FMOD_RESULT F_CALLBACK OutputWASAPI::initExCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, FMOD_SPEAKERMODE *speakermode, int dspbufferlength, int dspnumbuffers, int max2dchannels, int max3dchannels, void *extradriverdata) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2500,6 +2515,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::initExCallback(FMOD_OUTPUT_STATE *output, i } +// OFFSET: 0x00938EC0 FMOD_RESULT F_CALLBACK OutputWASAPI::closeCallback(FMOD_OUTPUT_STATE *output) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2508,6 +2524,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::closeCallback(FMOD_OUTPUT_STATE *output) } +// OFFSET: 0x00938EF0 FMOD_RESULT F_CALLBACK OutputWASAPI::startCallback(FMOD_OUTPUT_STATE *output) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2516,6 +2533,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::startCallback(FMOD_OUTPUT_STATE *output) } +// OFFSET: 0x00938F30 FMOD_RESULT F_CALLBACK OutputWASAPI::stopCallback(FMOD_OUTPUT_STATE *output) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2560,6 +2578,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::mixerResampleReadCallback(FMOD_DSP_STATE *d #ifdef FMOD_SUPPORT_RECORDING +// OFFSET: 0x00938FE0 FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2568,6 +2587,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetNumDriversCallback(FMOD_OUTPUT_STA } +// OFFSET: 0x00939020 FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetDriverInfoCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen, FMOD_GUID *guid) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2584,6 +2604,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetDriverInfoWCallback(FMOD_OUTPUT_ST } +// OFFSET: 0x00939050 FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps, int *minfrequency, int *maxfrequency) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2592,6 +2613,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetDriverCapsCallback(FMOD_OUTPUT_STA } +// OFFSET: 0x00939080 FMOD_RESULT F_CALLBACK OutputWASAPI::recordStartCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, FMOD_SOUND *sound, int loop) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2600,6 +2622,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::recordStartCallback(FMOD_OUTPUT_STATE *outp } +// OFFSET: 0x009390B0 FMOD_RESULT F_CALLBACK OutputWASAPI::recordStopCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2616,6 +2639,7 @@ void OutputWASAPI::recordThreadCallback(void *data) } +// OFFSET: 0x00915B60 FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetPositionCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int *pcm) { OutputWASAPI *wasapi = (OutputWASAPI *)output; @@ -2624,6 +2648,7 @@ FMOD_RESULT F_CALLBACK OutputWASAPI::recordGetPositionCallback(FMOD_OUTPUT_STATE } +// OFFSET: 0x009390E0 FMOD_RESULT F_CALLBACK OutputWASAPI::recordLockCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputWASAPI *wasapi = (OutputWASAPI *)output; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_winmm.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_winmm.cpp index 202e18d..7399b1e 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_winmm.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_output_winmm.cpp @@ -60,6 +60,7 @@ extern "C" { [SEE_ALSO] ] */ +// OFFSET: 0x0093A960 FMOD_OUTPUT_DESCRIPTION_EX *OutputWinMM::getDescriptionEx() { FMOD_memset(&winmmoutput, 0, sizeof(FMOD_OUTPUT_DESCRIPTION_EX)); @@ -278,6 +279,7 @@ FMOD_RESULT OutputWinMM::testFormat(int id, FMOD_SOUND_FORMAT format, int channe [SEE_ALSO] ] */ +// OFFSET: 0x009395E0 FMOD_RESULT OutputWinMM::getDriverCaps(int id, FMOD_CAPS *caps) { if (testFormat(id, FMOD_SOUND_FORMAT_PCM16, 8) == FMOD_OK) @@ -326,6 +328,7 @@ FMOD_RESULT OutputWinMM::getDriverCaps(int id, FMOD_CAPS *caps) [SEE_ALSO] ] */ +// OFFSET: 0x0093A520 FMOD_RESULT OutputWinMM::init(int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { WAVE_FORMATEXTENSIBLE pcmwf; @@ -501,6 +504,7 @@ FMOD_RESULT OutputWinMM::init(int selecteddriver, FMOD_INITFLAGS flags, int *out [SEE_ALSO] ] */ +// OFFSET: 0x00939970 FMOD_RESULT OutputWinMM::close() { int count; @@ -580,6 +584,7 @@ FMOD_RESULT OutputWinMM::getHandle(void **handle) [SEE_ALSO] ] */ +// OFFSET: 0x00939A00 FMOD_RESULT OutputWinMM::start() { FMOD_RESULT result; @@ -667,6 +672,7 @@ FMOD_RESULT OutputWinMM::stop() [SEE_ALSO] ] */ +// OFFSET: 0x00939A70 FMOD_RESULT OutputWinMM::getPosition(unsigned int *pcm) { FMOD_RESULT result; @@ -719,6 +725,7 @@ FMOD_RESULT OutputWinMM::getPosition(unsigned int *pcm) [SEE_ALSO] ] */ +// OFFSET: 0x00939AE0 FMOD_RESULT OutputWinMM::lock(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { offset %= mBlockLengthBytes; @@ -805,6 +812,7 @@ FMOD_RESULT OutputWinMM::recordThread() [SEE_ALSO] ] */ +// OFFSET: 0x00939C20 void OutputWinMM::recordThreadCallback(void *data) { OutputWinMM *winmm = (OutputWinMM *)data; @@ -824,6 +832,7 @@ void OutputWinMM::recordThreadCallback(void *data) [SEE_ALSO] */ +// OFFSET: 0x00939C30 void CALLBACK OutputWinMM::recordCallback(HWAVEIN hwi, UINT uMsg, DWORD dwInstance, DWORD dwParam1, DWORD dwParam2) { OutputWinMM *winmm = (OutputWinMM *)dwInstance; @@ -954,6 +963,7 @@ FMOD_RESULT OutputWinMM::recordGetDriverInfoW(int id, short *name, int namelen, [SEE_ALSO] ] */ +// OFFSET: 0x00939C60 FMOD_RESULT OutputWinMM::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *sound, bool loop) { FMOD_RESULT result; @@ -1131,6 +1141,7 @@ FMOD_RESULT OutputWinMM::recordStart(FMOD_RECORDING_INFO *recordinfo, Sound *sou [SEE_ALSO] ] */ +// OFFSET: 0x0093A050 FMOD_RESULT OutputWinMM::recordStop(FMOD_RECORDING_INFO *recordinfo) { int count; @@ -1214,6 +1225,7 @@ FMOD_RESULT OutputWinMM::recordGetPosition(FMOD_RECORDING_INFO *recordinfo, unsi [SEE_ALSO] ] */ +// OFFSET: 0x0093A0F0 FMOD_RESULT OutputWinMM::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { unsigned int lenbytes = mRecordBlockLenBytes * RECORD_MAXBLOCKS; @@ -1288,6 +1300,7 @@ FMOD_RESULT OutputWinMM::recordLock(FMOD_RECORDING_INFO *recordinfo, unsigned in [SEE_ALSO] ] */ +// OFFSET: 0x0093A1B0 FMOD_RESULT F_CALLBACK OutputWinMM::getNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1363,6 +1376,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::getDriverInfoWCallback(FMOD_OUTPUT_STATE *ou [SEE_ALSO] ] */ +// OFFSET: 0x0093A210 FMOD_RESULT OutputWinMM::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id, FMOD_CAPS *caps) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1388,6 +1402,7 @@ FMOD_RESULT OutputWinMM::getDriverCapsCallback(FMOD_OUTPUT_STATE *output, int id [SEE_ALSO] ] */ +// OFFSET: 0x0093A920 FMOD_RESULT F_CALLBACK OutputWinMM::initCallback(FMOD_OUTPUT_STATE *output, int selecteddriver, FMOD_INITFLAGS flags, int *outputrate, int outputchannels, FMOD_SOUND_FORMAT *outputformat, int dspbufferlength, int dspnumbuffers, void *extradriverdata) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1413,6 +1428,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::initCallback(FMOD_OUTPUT_STATE *output, int [SEE_ALSO] ] */ +// OFFSET: 0x0093A250 FMOD_RESULT F_CALLBACK OutputWinMM::closeCallback(FMOD_OUTPUT_STATE *output) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1438,6 +1454,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::closeCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093A280 FMOD_RESULT F_CALLBACK OutputWinMM::startCallback(FMOD_OUTPUT_STATE *output) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1463,6 +1480,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::startCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093A2B0 FMOD_RESULT F_CALLBACK OutputWinMM::stopCallback(FMOD_OUTPUT_STATE *output) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1488,6 +1506,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::stopCallback(FMOD_OUTPUT_STATE *output) [SEE_ALSO] ] */ +// OFFSET: 0x0093A2F0 FMOD_RESULT F_CALLBACK OutputWinMM::getHandleCallback(FMOD_OUTPUT_STATE *output, void **handle) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1513,6 +1532,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::getHandleCallback(FMOD_OUTPUT_STATE *output, [SEE_ALSO] ] */ +// OFFSET: 0x0093A330 FMOD_RESULT F_CALLBACK OutputWinMM::getPositionCallback(FMOD_OUTPUT_STATE *output, unsigned int *pcm) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1538,6 +1558,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::getPositionCallback(FMOD_OUTPUT_STATE *outpu [SEE_ALSO] ] */ +// OFFSET: 0x0093A360 FMOD_RESULT F_CALLBACK OutputWinMM::lockCallback(FMOD_OUTPUT_STATE *output, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1563,6 +1584,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::lockCallback(FMOD_OUTPUT_STATE *output, unsi [SEE_ALSO] ] */ +// OFFSET: 0x0093A3A0 FMOD_RESULT F_CALLBACK OutputWinMM::recordGetNumDriversCallback(FMOD_OUTPUT_STATE *output, int *numdrivers) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1588,6 +1610,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::recordGetNumDriversCallback(FMOD_OUTPUT_STAT [SEE_ALSO] ] */ +// OFFSET: 0x0093A3D0 FMOD_RESULT F_CALLBACK OutputWinMM::recordGetDriverInfoCallback(FMOD_OUTPUT_STATE *output, int id, char *name, int namelen, FMOD_GUID *guid) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1638,6 +1661,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::recordGetDriverInfoWCallback(FMOD_OUTPUT_STA [SEE_ALSO] ] */ +// OFFSET: 0x0093A420 FMOD_RESULT F_CALLBACK OutputWinMM::recordStartCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, FMOD_SOUND *sound, int loop) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1663,6 +1687,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::recordStartCallback(FMOD_OUTPUT_STATE *outpu [SEE_ALSO] ] */ +// OFFSET: 0x0093A450 FMOD_RESULT F_CALLBACK OutputWinMM::recordStopCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1688,6 +1713,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::recordStopCallback(FMOD_OUTPUT_STATE *output [SEE_ALSO] ] */ +// OFFSET: 0x0093A480 FMOD_RESULT F_CALLBACK OutputWinMM::recordGetPositionCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int *pcm) { OutputWinMM *winmm = (OutputWinMM *)output; @@ -1713,6 +1739,7 @@ FMOD_RESULT F_CALLBACK OutputWinMM::recordGetPositionCallback(FMOD_OUTPUT_STATE [SEE_ALSO] ] */ +// OFFSET: 0x0093A4E0 FMOD_RESULT F_CALLBACK OutputWinMM::recordLockCallback(FMOD_OUTPUT_STATE *output, FMOD_RECORDING_INFO *recordinfo, unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { OutputWinMM *winmm = (OutputWinMM *)output; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_dsound.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_dsound.cpp index 5203055..25483fd 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_dsound.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_dsound.cpp @@ -28,6 +28,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x009510C0 SampleDSound::SampleDSound() { mBuffer = 0; @@ -52,6 +53,7 @@ SampleDSound::SampleDSound() [SEE_ALSO] ] */ +// OFFSET: 0x009510E0 FMOD_RESULT SampleDSound::release(bool freethis) { FMOD_RESULT result; @@ -123,6 +125,7 @@ FMOD_RESULT SampleDSound::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x00951190 FMOD_RESULT SampleDSound::lockInternal(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { HRESULT hr; @@ -181,6 +184,7 @@ FMOD_RESULT SampleDSound::lockInternal(unsigned int offset, unsigned int length, [SEE_ALSO] ] */ +// OFFSET: 0x00951240 FMOD_RESULT SampleDSound::unlockInternal(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { HRESULT hr; diff --git a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_openal.cpp b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_openal.cpp index 9dba742..0746af0 100644 --- a/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_openal.cpp +++ b/Engine/Source/SoundEngine/fmodex/win32/src/fmod_sample_openal.cpp @@ -27,6 +27,7 @@ namespace FMOD [SEE_ALSO] ] */ +// OFFSET: 0x0094B7F0 SampleOpenAL::SampleOpenAL() { mBuffer = 0; @@ -50,6 +51,7 @@ SampleOpenAL::SampleOpenAL() [SEE_ALSO] ] */ +// OFFSET: 0x0094B820 FMOD_RESULT SampleOpenAL::release(bool freethis) { FMOD_RESULT result; @@ -112,6 +114,7 @@ FMOD_RESULT SampleOpenAL::release(bool freethis) [SEE_ALSO] ] */ +// OFFSET: 0x0093E150 FMOD_RESULT SampleOpenAL::setMode(FMOD_MODE mode) { FMOD_RESULT result; @@ -147,6 +150,7 @@ FMOD_RESULT SampleOpenAL::setMode(FMOD_MODE mode) [SEE_ALSO] ] */ +// OFFSET: 0x0093E170 FMOD_RESULT SampleOpenAL::lockInternal(unsigned int offset, unsigned int length, void **ptr1, void **ptr2, unsigned int *len1, unsigned int *len2) { FMOD_RESULT result; @@ -237,6 +241,7 @@ FMOD_RESULT SampleOpenAL::lockInternal(unsigned int offset, unsigned int length, [SEE_ALSO] ] */ +// OFFSET: 0x0093E460 FMOD_RESULT SampleOpenAL::unlockInternal(void *ptr1, void *ptr2, unsigned int len1, unsigned int len2) { FMOD_RESULT result; @@ -266,6 +271,7 @@ FMOD_RESULT SampleOpenAL::unlockInternal(void *ptr1, void *ptr2, unsigned int le [SEE_ALSO] ] */ +// OFFSET: 0x0094B8F0 FMOD_RESULT SampleOpenAL::setBufferData(void *data) { mBuffer = data; @@ -321,6 +327,7 @@ FMOD_RESULT SampleOpenAL::setLoopPoints(unsigned int loopstart, unsigned int loo [SEE_ALSO] ] */ +// OFFSET: 0x0093D8F0 FMOD_RESULT SampleOpenAL::setLoopPointData() { FMOD_RESULT result; @@ -459,6 +466,7 @@ FMOD_RESULT SampleOpenAL::setLoopPointData() [SEE_ALSO] ] */ +// OFFSET: 0x0093DEB0 FMOD_RESULT SampleOpenAL::restoreLoopPointData() { FMOD_RESULT result;