| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- /*
- ** Command & Conquer Red Alert(tm)
- ** Copyright 2025 Electronic Arts Inc.
- **
- ** This program is free software: you can redistribute it and/or modify
- ** it under the terms of the GNU General Public License as published by
- ** the Free Software Foundation, either version 3 of the License, or
- ** (at your option) any later version.
- **
- ** This program is distributed in the hope that it will be useful,
- ** but WITHOUT ANY WARRANTY; without even the implied warranty of
- ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ** GNU General Public License for more details.
- **
- ** You should have received a copy of the GNU General Public License
- ** along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- /*=========================================================================*/
- /* The following prototypes are for the file: SOUNDIO.CPP */
- /*=========================================================================*/
- short Decompress_Frame(void * source, void * dest, short size);
- int cdecl Stream_Sample_Vol(void *buffer, long size, BOOL (*callback);
- int cdecl Stream_Sample(void *buffer, long size, BOOL (*callback);
- int cdecl File_Stream_Sample(char const *filename);
- int cdecl File_Stream_Sample_Vol(char const *filename, int volume);
- void cdecl _saveregs _loadds Sound_Callback(void);
- void cdecl far _saveregs _loadds maintenance_callback(void);
- void *cdecl Load_Sample(char const *filename);
- long cdecl Load_Sample_Into_Buffer(char const *filename, void *buffer, long size);
- long cdecl Sample_Read(int fh, void *buffer, long size);
- void cdecl Free_Sample(void const *sample);
- BOOL cdecl Sound_Init(int sfx, int score, int sample);
- void far VQA_TimerCallback(void);
- BOOL Audio_Init(int sample, int address, int inter, int dma);
- void cdecl Sound_End(void);
- void cdecl Stop_Sample(int handle);
- BOOL cdecl Sample_Status(int handle);
- BOOL cdecl Is_Sample_Playing(void const * sample);
- void cdecl Stop_Sample_Playing(void const * sample);
- int cdecl Play_Sample(void const *sample);
- int cdecl Play_Sample_Vol(void const *sample, int priority, int volume);
- int cdecl Set_Sound_Vol(int volume);
- int cdecl Set_Score_Vol(int volume);
- void cdecl Fade_Sample(int handle, int ticks);
|