summaryrefslogtreecommitdiff
path: root/apps/plugins/doom
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r--apps/plugins/doom/i_sound.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/doom/i_sound.c b/apps/plugins/doom/i_sound.c
index 2d7b592818..bdf70c1215 100644
--- a/apps/plugins/doom/i_sound.c
+++ b/apps/plugins/doom/i_sound.c
@@ -457,11 +457,11 @@ void I_UpdateSound( void )
457// only output be done asynchronous? 457// only output be done asynchronous?
458// 458//
459 459
460void get_more(unsigned char** start, size_t* size) 460void get_more(const void** start, size_t* size)
461{ 461{
462 I_UpdateSound(); // Force sound update 462 I_UpdateSound(); // Force sound update
463 463
464 *start = (unsigned char*)(mixbuffer); 464 *start = mixbuffer;
465 *size = SAMPLECOUNT*2*sizeof(short); 465 *size = SAMPLECOUNT*2*sizeof(short);
466} 466}
467 467
@@ -471,7 +471,7 @@ void I_SubmitSound(void)
471 if (!enable_sound) 471 if (!enable_sound)
472 return; 472 return;
473 473
474 rb->pcm_play_data(&get_more, NULL, 0); 474 rb->pcm_play_data(&get_more, NULL, NULL, 0);
475} 475}
476 476
477void I_ShutdownSound(void) 477void I_ShutdownSound(void)