mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-07 11:00:04 -04:00
64 Bit-Safe Updates
Imported Icculus' 64-bit changes. Changes `[un]signed long` data types to `[un]signed int`.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Descent 3
|
||||
* Descent 3
|
||||
* Copyright (C) 2024 Parallax Software
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@@ -993,7 +993,7 @@ void EncodeFlush(Encoder &enc) {
|
||||
ProcessBlock(enc);
|
||||
}
|
||||
|
||||
unsigned long AudioEncode(ReadSampleFunction *read, void *data, unsigned channels, unsigned sample_rate, float volume,
|
||||
unsigned int AudioEncode(ReadSampleFunction *read, void *data, unsigned channels, unsigned sample_rate, float volume,
|
||||
FILE *out, int levels, int samples_per_subband, float comp_ratio) {
|
||||
Encoder enc;
|
||||
memset(&enc, 0, sizeof(enc));
|
||||
|
||||
Reference in New Issue
Block a user