Mercurial > SDL_sound_CoreAudio
comparison alt_audio_convert.h @ 441:5b00e43ec23c
Patches to make SDL_sound more Visual C happy.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 31 Jan 2003 01:53:12 +0000 |
parents | a65440b3a057 |
children | 45ee760a6f5a |
comparison
equal
deleted
inserted
replaced
440:6d94441c854e | 441:5b00e43ec23c |
---|---|
74 | 74 |
75 #ifndef SNDDECLSPEC | 75 #ifndef SNDDECLSPEC |
76 #define SNDDECLSPEC DECLSPEC | 76 #define SNDDECLSPEC DECLSPEC |
77 #endif | 77 #endif |
78 | 78 |
79 extern SNDDECLSPEC int Sound_ConvertAudio( Sound_AudioCVT *Data ); | |
80 | |
81 extern SNDDECLSPEC int Sound_AltConvertAudio( Sound_AudioCVT *Data, | 79 extern SNDDECLSPEC int Sound_AltConvertAudio( Sound_AudioCVT *Data, |
82 Uint8* buffer, int length, int mode ); | 80 Uint8* buffer, int length, int mode ); |
83 | |
84 extern SNDDECLSPEC int Sound_BuildAudioCVT( Sound_AudioCVT *Data, | |
85 Uint16 src_format, Uint8 src_channels, int src_rate, | |
86 Uint16 dst_format, Uint8 dst_channels, int dst_rate, Uint32 bufsize ); | |
87 | 81 |
88 extern SNDDECLSPEC int Sound_AltBuildAudioCVT( Sound_AudioCVT *Data, | 82 extern SNDDECLSPEC int Sound_AltBuildAudioCVT( Sound_AudioCVT *Data, |
89 SDL_AudioSpec src, SDL_AudioSpec dst ); | 83 SDL_AudioSpec src, SDL_AudioSpec dst ); |
90 | 84 |
91 extern SNDDECLSPEC int Sound_estimateBufferSize( Sound_AudioCVT *Data, | 85 extern SNDDECLSPEC int Sound_estimateBufferSize( Sound_AudioCVT *Data, |