Add SDL_PlayAudioDevice() to play audio. Remove pause_on param from SDL_PauseAudioDevice()
This commit is contained in:
1 parent
26be384801
commit
93e2903ac5
14 files changed
+72
-34
No files matched your search
+1
-1
@@ -179,7 +179,7 @@ int main(int argc, char *argv[])
|
||||
total_channels = spec.channels;
|
||||
active_channel = 0;
|
||||
|
||||
SDL_PauseAudioDevice(dev, 0);
|
||||
SDL_PlayAudioDevice(dev);
|
||||
|
||||
for (j = 0; j < total_channels; j++) {
|
||||
int sine_freq = is_lfe_channel(j, total_channels) ? LFE_SINE_FREQ_HZ : SINE_FREQ_HZ;
|
||||
|
||||
Reference in new issue
Block a user