Skip to content

Commit

Permalink
Fix size() function of File based AudioSource (#1852)
Browse files Browse the repository at this point in the history
  • Loading branch information
rudcode authored Jan 2, 2025
1 parent 6b8749f commit a46a7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AudioTools/AudioLibs/SDDirect.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class SDDirect {
listDir(start_dir);
max_idx = actual_idx;
}
return max_idx;
return max_idx + 1;
}

protected:
Expand Down

0 comments on commit a46a7f8

Please sign in to comment.