We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c79c4b commit a4b9c63Copy full SHA for a4b9c63
src/SDL_mixer.c
@@ -762,6 +762,9 @@ static MIX_Mixer *CreateMixer(SDL_AudioStream *stream)
762
}
763
764
765
+ mixer->gain = 1.0f;
766
+ mixer->output_stream = stream;
767
+
768
mixer->track_tags = SDL_CreateProperties();
769
if (!mixer->track_tags) {
770
goto failed;
@@ -772,9 +775,6 @@ static MIX_Mixer *CreateMixer(SDL_AudioStream *stream)
772
775
773
776
774
777
- mixer->gain = 1.0f;
- mixer->output_stream = stream;
-
778
SDL_SetAudioStreamGetCallback(stream, MixerCallback, mixer);
779
780
MIX_VBAP2D_Init(&mixer->vbap2d, output_spec.channels);
0 commit comments