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 a3af3bf commit f04a683Copy full SHA for f04a683
radio/src/targets/simu/simuaudio.cpp
@@ -25,7 +25,7 @@
25
#include <stdint.h>
26
#include <SDL.h>
27
28
-#define SIMU_AUDIO_FMT AUDIO_U16SYS
+#define SIMU_AUDIO_FMT AUDIO_S16SYS
29
30
static SDL_AudioDeviceID _sdl_audio_device = 0;
31
@@ -79,6 +79,7 @@ bool simuAudioInit()
79
.freq = AUDIO_SAMPLE_RATE,
80
.format = SIMU_AUDIO_FMT,
81
.channels = 1,
82
+ .silence = 0,
83
.samples = 1024,
84
};
85
0 commit comments