Update audio_driver.c

This commit is contained in:
LibretroAdmin 2025-05-25 15:41:17 +02:00 committed by GitHub
parent a4f73c622d
commit 65f76bd514
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -620,7 +620,7 @@ bool audio_driver_init_internal(void *settings_data, bool audio_cb_inited)
if (!out_conv_buf || !audio_buf)
goto error;
memset(audio_buf, 0, max_buffer_samples * sizeof(float));
memset(audio_buf, 0, audio_buf_length);
audio_driver_st.input_data = audio_buf;
audio_driver_st.input_data_length = audio_buf_length;