Skip to content

Commit

Permalink
Increase the source count
Browse files Browse the repository at this point in the history
While HW buffers needs to be limited, apps expect many more software buffers. A
better fix may be to defer getting a source for DSBCAPS_LOCSOFTWARE buffers
until it actually plays.
  • Loading branch information
kcat committed Jun 16, 2022
1 parent 75f88e1 commit e7bc895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsound_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ enum {
*/
#define MAX_HWBUFFERS 128

#define MAX_SOURCES 256
#define MAX_SOURCES 512
typedef struct SourceCollection {
DWORD maxhw_alloc, availhw_num;
DWORD maxsw_alloc, availsw_num;
Expand Down

0 comments on commit e7bc895

Please sign in to comment.