Skip to content

Commit 21f8430

Browse files
committed
Default to lowered volume in example3
1 parent 86f26e4 commit 21f8430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example3.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ int main(int argc, char *argv[])
102102
tsf_channel_set_bank_preset(g_TinySoundFont, 9, 128, 0);
103103

104104
// Set the SoundFont rendering output mode
105-
tsf_set_output(g_TinySoundFont, TSF_STEREO_INTERLEAVED, OutputAudioSpec.freq, 0.0f);
105+
tsf_set_output(g_TinySoundFont, TSF_STEREO_INTERLEAVED, OutputAudioSpec.freq, -10.0f);
106106

107107
// Request the desired audio output format
108108
if (SDL_OpenAudio(&OutputAudioSpec, TSF_NULL) < 0)

0 commit comments

Comments
 (0)