Fixed coding style on a function signature.

Ryan C. Gordon 2017-01-08 14:17:09 -05:00
parent 53588ff6b8
commit 98cc9d10d3
1 changed files with 7 additions and 6 deletions

View File

@ -823,12 +823,13 @@ SDL_CleanupAudioStreamResampler(SDL_AudioStream *stream)
SDL_free(stream->resampler_state); SDL_free(stream->resampler_state);
} }
SDL_AudioStream *SDL_NewAudioStream(const SDL_AudioFormat src_format, SDL_AudioStream *
const Uint8 src_channels, SDL_NewAudioStream(const SDL_AudioFormat src_format,
const int src_rate, const Uint8 src_channels,
const SDL_AudioFormat dst_format, const int src_rate,
const Uint8 dst_channels, const SDL_AudioFormat dst_format,
const int dst_rate) const Uint8 dst_channels,
const int dst_rate)
{ {
const int packetlen = 4096; /* !!! FIXME: good enough for now. */ const int packetlen = 4096; /* !!! FIXME: good enough for now. */
Uint8 pre_resample_channels; Uint8 pre_resample_channels;