VSU fixes

This commit is contained in:
2024-10-20 23:09:58 -05:00
parent a285065102
commit 0a57ef0faf
2 changed files with 36 additions and 40 deletions
+1 -1
View File
@@ -509,7 +509,7 @@ VBAPI vbOnRead vbGetReadCallback(VB *sim) {
/* Retrieve the audio samples buffer */
VBAPI void* vbGetSamples(VB *sim, uint32_t *capacity, uint32_t *position) {
if (capacity == NULL) {
if (sim->vsu.out.samples == NULL) {
if (capacity != NULL)
*capacity = 0;
if (position != NULL)