| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/Main/lib/audio_encode.h $ |
| 21 | * $Revision: 1 $ |
| 22 | * $Date: 1/27/99 1:33a $ |
| 23 | * $Author: Jeff $ |
| 24 | * |
| 25 | * Header file for audio compression library |
| 26 | * |
| 27 | * $Log: /DescentIII/Main/lib/audio_encode.h $ |
| 28 | * |
| 29 | * 1 1/27/99 1:33a Jeff |
| 30 | * |
| 31 | * $NoKeywords: $ |
| 32 | */ |
| 33 | |
| 34 | #ifndef AUDIO_ENCODE_H_ |
| 35 | #define AUDIO_ENCODE_H_cxx . . $ `AudioEncode/audio_encode.h:35:9`! |
| 36 | |
| 37 | // input_levels (default 7 or for 2k total) |
| 38 | // input_samples (default 16 or for 2k total) |
| 39 | // input_rate (default 22K) |
| 40 | // input_channels (default 1) |
| 41 | // input_factor (compression factor) (default 4 for 22K, 8 for 44K) |
| 42 | // input_volscale (Volume scaling) (slightly <= 1.0, default ,97) |
| 43 | bool aenc_Compresscxx . . $ aenc_Compress(d2f5298c1aeaacbf).(char *input_filename, char *output_filename, const int *input_levels = nullptr, |
| 44 | const int *input_samples = nullptr, const int *input_rate = nullptr, |
| 45 | const int *input_channels = nullptr, const float *input_factor = nullptr, |
| 46 | const float *input_volscale = nullptr); |
| 47 | |
| 48 | #endif |