Merge from Chips (audio related fixes)
This commit is contained in:
parent
5b4df17be1
commit
247acd0575
2 changed files with 2 additions and 1 deletions
|
@ -564,6 +564,7 @@ void gui_display (int shortcut)
|
|||
|
||||
/* Clear menu garbage at the bottom of the screen */
|
||||
black_screen_now();
|
||||
reset_sound();
|
||||
resume_sound();
|
||||
blkdev_exitgui();
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ STATIC_INLINE void set_sound_buffers (void)
|
|||
|
||||
STATIC_INLINE void clear_sound_buffers (void)
|
||||
{
|
||||
memset (sndbuffer, 0, 4 * (SNDBUFFER_LEN + 32) * DEFAULT_SOUND_CHANNELS);
|
||||
memset (sndbuffer, 0, sizeof(sndbuffer));
|
||||
}
|
||||
|
||||
#define PUT_SOUND_WORD_MONO(x) put_sound_word_mono_func(x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue