reverted const removal from SDL_NewAudioStream in commit d0bbfdbfb.
This commit is contained in:
1 parent
7ac66972b7
commit
4e465f25d0
1 file changed
+6
-6
+6
-6
@@ -1008,12 +1008,12 @@ typedef struct _SDL_AudioStream SDL_AudioStream;
|
|||||||
* \sa SDL_AudioStreamClear
|
* \sa SDL_AudioStreamClear
|
||||||
* \sa SDL_FreeAudioStream
|
* \sa SDL_FreeAudioStream
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC SDL_AudioStream *SDLCALL SDL_NewAudioStream(SDL_AudioFormat src_format,
|
extern DECLSPEC SDL_AudioStream * SDLCALL SDL_NewAudioStream(const SDL_AudioFormat src_format,
|
||||||
Uint8 src_channels,
|
const Uint8 src_channels,
|
||||||
int src_rate,
|
const int src_rate,
|
||||||
SDL_AudioFormat dst_format,
|
const SDL_AudioFormat dst_format,
|
||||||
Uint8 dst_channels,
|
const Uint8 dst_channels,
|
||||||
int dst_rate);
|
const int dst_rate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add data to be converted/resampled to the stream.
|
* Add data to be converted/resampled to the stream.
|
||||||
|
|||||||
Reference in new issue
Block a user