re-applied the SDL_NewAudioStream deconstification, including to its definition
we should keep this to SDL3 only.
This commit is contained in:
@@ -997,12 +997,12 @@ static void SDL_CleanupAudioStreamResampler(SDL_AudioStream *stream)
|
||||
}
|
||||
|
||||
SDL_AudioStream *
|
||||
SDL_NewAudioStream(const SDL_AudioFormat src_format,
|
||||
const Uint8 src_channels,
|
||||
const int src_rate,
|
||||
const SDL_AudioFormat dst_format,
|
||||
const Uint8 dst_channels,
|
||||
const int dst_rate)
|
||||
SDL_NewAudioStream(SDL_AudioFormat src_format,
|
||||
Uint8 src_channels,
|
||||
int src_rate,
|
||||
SDL_AudioFormat dst_format,
|
||||
Uint8 dst_channels,
|
||||
int dst_rate)
|
||||
{
|
||||
int packetlen = 4096; /* !!! FIXME: good enough for now. */
|
||||
Uint8 pre_resample_channels;
|
||||
|
||||
Reference in New Issue
Block a user