Mercurial > SDL_sound_CoreAudio
comparison alt_audio_convert.h @ 387:fb519e6028e3
Changed all the Sound_SetError() calls to __Sound_SetError (or BAIL*_MACRO)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 05 Jul 2002 23:11:51 +0000 |
parents | 44ed8bdeba74 |
children | 5b8a07b5162e |
comparison
equal
deleted
inserted
replaced
386:8c8ecd1008c9 | 387:fb519e6028e3 |
---|---|
29 #define _INCLUDE_AUDIO_CONVERT_H_ | 29 #define _INCLUDE_AUDIO_CONVERT_H_ |
30 | 30 |
31 #include "SDL_audio.h" | 31 #include "SDL_audio.h" |
32 #define Sound_AI_Loop 0x2 | 32 #define Sound_AI_Loop 0x2 |
33 #define _fsize 32 | 33 #define _fsize 32 |
34 | |
35 #include "SDL_sound.h" | |
34 | 36 |
35 typedef struct{ | 37 typedef struct{ |
36 Sint16 numerator; | 38 Sint16 numerator; |
37 Sint16 denominator; | 39 Sint16 denominator; |
38 } Fraction; | 40 } Fraction; |
70 int len_cvt; /* Length of converted audio buffer */ | 72 int len_cvt; /* Length of converted audio buffer */ |
71 } Sound_AudioCVT; | 73 } Sound_AudioCVT; |
72 | 74 |
73 #define SDL_SOUND_Loop 0x10 | 75 #define SDL_SOUND_Loop 0x10 |
74 | 76 |
75 extern DECLSPEC int Sound_ConvertAudio( Sound_AudioCVT *Data ); | 77 extern SNDDECLSPEC int Sound_ConvertAudio( Sound_AudioCVT *Data ); |
76 | 78 |
77 extern DECLSPEC int Sound_BuildAudioCVT( Sound_AudioCVT *Data, | 79 extern SNDDECLSPEC int Sound_BuildAudioCVT( Sound_AudioCVT *Data, |
78 Uint16 src_format, Uint8 src_channels, int src_rate, | 80 Uint16 src_format, Uint8 src_channels, int src_rate, |
79 Uint16 dst_format, Uint8 dst_channels, int dst_rate, Uint32 dst_size ); | 81 Uint16 dst_format, Uint8 dst_channels, int dst_rate, Uint32 dst_size ); |
80 | 82 |
81 #endif /* _INCLUDE_AUDIO_CONVERT_H_ */ | 83 #endif /* _INCLUDE_AUDIO_CONVERT_H_ */ |
82 | 84 |