summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/doom/i_sound.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c
index e2eeab0c3d..0f9e6edd19 100644
--- a/apps/plugins/doom/i_sound.c
+++ b/apps/plugins/doom/i_sound.c
@@ -475,17 +475,13 @@ void I_SubmitSound(void)
475 if (nosfxparm) 475 if (nosfxparm)
476 return; 476 return;
477 477
478#if !defined(SIMULATOR)
479 rb->pcm_play_data(&get_more, NULL, 0); 478 rb->pcm_play_data(&get_more, NULL, 0);
480#endif
481} 479}
482 480
483void I_ShutdownSound(void) 481void I_ShutdownSound(void)
484{ 482{
485#if !defined(SIMULATOR)
486 rb->pcm_play_stop(); 483 rb->pcm_play_stop();
487 rb->pcm_set_frequency(44100); // 44100 484 rb->pcm_set_frequency(44100); // 44100
488#endif
489} 485}
490 486
491void I_InitSound() 487void I_InitSound()
@@ -494,10 +490,8 @@ void I_InitSound()
494 490
495 // Initialize external data (all sounds) at start, keep static. 491 // Initialize external data (all sounds) at start, keep static.
496 printf( "I_InitSound: "); 492 printf( "I_InitSound: ");
497#if !defined(SIMULATOR)
498 rb->pcm_play_stop(); 493 rb->pcm_play_stop();
499 rb->pcm_set_frequency(SAMPLERATE); 494 rb->pcm_set_frequency(SAMPLERATE);
500#endif
501 495
502 vol_lookup=malloc(128*256*sizeof(int)); 496 vol_lookup=malloc(128*256*sizeof(int));
503 497